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