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" ] , 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 [