3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #196396 from viraptor/faiss-darwin

faiss: fix darwin build
This commit is contained in:
Stanisław Pitucha 2022-10-18 07:51:06 +11:00 committed by GitHub
commit 264e8fc611
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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 [