forked from mirrors/nixpkgs
Merge pull request #196396 from viraptor/faiss-darwin
faiss: fix darwin build
This commit is contained in:
commit
264e8fc611
|
@ -8,6 +8,7 @@
|
|||
, cudaCapabilities ? [ "60" "70" "80" "86" ]
|
||||
, pythonSupport ? true
|
||||
, pythonPackages
|
||||
, llvmPackages
|
||||
, blas
|
||||
, swig
|
||||
, addOpenGLRunpath
|
||||
|
@ -47,6 +48,8 @@ stdenv.mkDerivation {
|
|||
pythonPackages.setuptools
|
||||
pythonPackages.pip
|
||||
pythonPackages.wheel
|
||||
] ++ lib.optionals stdenv.cc.isClang [
|
||||
llvmPackages.openmp
|
||||
];
|
||||
|
||||
propagatedBuildInputs = lib.optionals pythonSupport [
|
||||
|
|
Loading…
Reference in a new issue