Conversation
data is not installed by the pip command so it is not useful to clone the repo recursively
Added information about creating a shallow clone with --depth parameter.
| - Command | ||
| - Status | ||
| * - Linux | ||
| - ``conda env create -f https://tomographicimaging.github.io/scripts/env/cil_development.yml`` |
There was a problem hiding this comment.
conda env create -f https://tomographicimaging.github.io/scripts/env/cil_development.yml
CondaHTTPError: HTTP 404 NOT FOUND for url https://tomographicimaging.github.io/scripts/env/cil_development.yml
There was a problem hiding this comment.
For anyone else who is testing the files are here and you need to use them instead of the url:
https://github.com/TomographicImaging/scripts/pull/9/changes
There was a problem hiding this comment.
That's right, I didn't want to link to a PR, so I wrote the link as it will be once #9 is merged
| * - OS | ||
| - Build Command | ||
| * - Linux | ||
| - ``pip install --no-deps . -Ccmake.define.IPP_ROOT=$CONDA_PREFIX`` |
There was a problem hiding this comment.
I followed the instructions for linux and got:
ModuleNotFoundError: No module named 'cil'
There was a problem hiding this comment.
I take it all back, I made a fresh clone of CIL and it worked
There was a problem hiding this comment.
Every time I make a code change I have to run:
pip install --no-deps . -Ccmake.define.IPP_ROOT=$CONDA_PREFIX
otherwise IPP doesn't work.
I didn't used to have to do this with the old instructions
There was a problem hiding this comment.
Yes. However, I don't believe this has anything to do with this change, rather with #2145
@casperdcl told me that when issuing pip install a new temporary environment (handled by pip) is created where CMake and scikit-build are installed,
Lines 1 to 16 in f8f2e31
For this reason the build cache is not preserved and you always recompile from scratch. Currently this is not a big problem, as the cilacc library is small but we should do something more about caching the build artifacts.
There was a problem hiding this comment.
I just tested with an environment where I install cmake and scikit-build from conda rather than let it handle by pip and:
pip install --no-deps .is sufficient, i.e. IPP is foundcilaccseems to be built all the times you issuepip install
Description
FindIPP.cmaketo find IPP libraries on WindowsExample Usage
Contribution Notes
Changes
README.md-Ccmake.define.IPP_ROOT=$CONDA_PREFIXwas passedTesting you performed
Local build on:
Checked the artifact documentation produced by GHA.
Linux
On Linux a total of 43 tests are skipped:
Plus these which test compatibility with SIRF (which is not installed)
Windows
Related issues/links
Checklist