-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conda #112
base: master
Are you sure you want to change the base?
Conversation
- depends on SyneRBI/SIRF#161 - fixes (partially) #107 - TODO: alias p(Gadgetron|STIR|Utilities) -> sirf.p* - perhaps use `setup.py install` not `pip install`? - or drop `-e` argument in `pip install`?
- depends on SyneRBI/SIRF#160 - fixes #107
close #106? |
I agree with you. |
currently the boost in conda-forge does not contain all the libs we need. So we need to build and install.
should we add a conda build to Travis? Maybe it's already done via the docker build. that'd allow you to test on OSX. |
EDIT new strategy:
misc:
|
version 2.1.0
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I haven't checked this really, but I'm confused about the various build.sh
files, and then sirf/build.sh
building other stuff anyway.
@@ -0,0 +1,72 @@ | |||
#!/bin/bash |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would try to avoid building boost at all costs. Use the conda dependency
@@ -0,0 +1,79 @@ | |||
#!/bin/bash |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
let's not build hdf5
-DPYTHON_DEST_DIR=${PREFIX}/python\ | ||
-USIRF_URL \ | ||
-USIRF_TAG \ | ||
-DSIRF_TAG=v2.1.0\ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
let's not put explicit versions in any of the conda build.sh. In any case, SIRF version is irrelevant in ismrmrd/build.sh
conda/sirf/build.sh
Outdated
make -j2 ITK | ||
make -j2 NIFTYREG | ||
make -j2 STIR |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
no need for these.
conda/stir/build.sh
Outdated
-DUSE_SYSTEM_GTest=On\ | ||
-DCONDA_BUILD=On | ||
|
||
make -j1 Gadgetron |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
in stir/build.sh?
STIR 4.0.1 conda might work ok. There's https://anaconda.org/inati/ismrmrd but it's out-of-date. Might be worth checking with them. |
By the way, I'm not 100% sure what the strategy here was/is, but I think we should have a SIRF-only conda package (with its dependencies, most obtained via conda). I would at least initially not attempt gadgetron-via-conda. |
See gadgetron/gadgetron#1036 for Gadgetron's |
- vc 14 # [win and py35] | ||
- vc 9 # [win and py27] | ||
- python 3.6 # [py36] | ||
- python 2.7 # [py27] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
drop this of course
initial working recipe for linux.
OSX would need tweak on build.sh.
The branch should be aligned with setup_py #109