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
Itk: 5.0.1 -> 5.1.0 #86142
Itk: 5.0.1 -> 5.1.0 #86142
Conversation
fd36929
to
82c095a
Compare
nativeBuildInputs = [ cmake python3 ]; | ||
buildInputs = [ itk ]; | ||
|
||
doCheck = true; | ||
doCheck = !stdenv.isDarwin; # usual dynamic linker issues |
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.
What do you mean by usual issues? Can we resolve with preCheck = "export DYLD_LIBRARY_PATH ...
?
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 tried doing something naive similar to what is done with LD_LIBRARY_PATH already but that didn't work. I don't really do much development on OS X so don't mind disabling this package if you prefer.
@GrahamcOfBorg build elastix ezminc simpleitk vtk itk4 |
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.
looks like h5c++ want's pkg-config to be available at runtime:
/nix/store/qvb7wnswcaqspp7k6v8ak18llfx89gw0-itk-5.1.0/h5c++
dir is /nix/store/qvb7wnswcaqspp7k6v8ak18llfx89gw0-itk-5.1.0
./results/itk/bin/h5c++: line 32: pkg-config: command not found
@jonringer -- |
Hm. This means it will only be available to all nix-builds depending on it, but not at runtime when using |
@knedlsepp -- h5cc and h5c++ are compiler wrappers so most likely they would be used by other derivations, although it's a bit unseemly to have them fail at runtime. Not sure what the best solution is here -- these are somewhat incidental programs built by the ITKHDF5 module which aren't needed to compile most programs using ITK (including all reverse deps in the Nixpkgs tree such as ANTs). Is it worth it to create a wrapper for them? |
73b960d
to
28d4943
Compare
@knedlsepp @jonringer I've wrapped h5c++ with pkgconfig. |
@GrahamcOfBorg build elastix ezminc simpleitk vtk itk4 |
@GrahamcOfBorg build elastix ezminc simpleitk vtk itk4 |
1 similar comment
@GrahamcOfBorg build elastix ezminc simpleitk vtk itk4 |
- simpleitk 1.2.4 is incompatible with ITK 5.1, so this can be reverted when 2.x is released.
- itk5 branch currently lacks support for itk 5.1
- fetch patches to build elastix 5.0 with ITK 5.1 - update 'platforms': builds on Darwin, fails on aarch64
Motivation for this change
Things done
sandbox
innix.conf
on non-NixOS linux)nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
./result/bin/
)nix path-info -S
before and after)