forked from mirrors/nixpkgs
6206a342e0
Since Intel's default openmp implementation is available in the same src tarball, we can just include it in the package. This means that `mkl` now "just works" without any environment variables, fragile setup-hooks, or forced propagation. Since the openmp implementation is only needed at runtime (and for test cases), users can substitute a different one if they prefer by exporting it with `LD_PRELOAD`, which is how Intel recommends handling this. If they do not do so, `libiomp.so` lives next to `libmkl_rt.so` and thus will be in the RPATH as a sane default. Since this still comes from the same src tarball, we can ship it without losing the fixed-output derivation; likewise, since Hydra is not building or caching these, shipping these proprietary packages costs no bandwidth for the nix community. |
||
---|---|---|
.. | ||
functions | ||
languages-frameworks | ||
old | ||
.gitignore | ||
coding-conventions.xml | ||
configuration.xml | ||
contributing.xml | ||
cross-compilation.xml | ||
default.nix | ||
functions.xml | ||
introduction.chapter.md | ||
lib-function-locations.nix | ||
Makefile | ||
manual.xml | ||
meta.xml | ||
multiple-output.xml | ||
overlays.xml | ||
overrides.css | ||
package-notes.xml | ||
platform-notes.xml | ||
quick-start.xml | ||
release-notes.xml | ||
reviewing-contributions.xml | ||
shell.nix | ||
stdenv.xml | ||
style.css | ||
submitting-changes.xml |