faiss: reorder attrs in phase order
This commit is contained in:
@@ -62,6 +62,13 @@ stdenv.mkDerivation {
|
||||
--replace-fail '#ifdef SWIGWORDSIZE64' '#if (__SIZEOF_LONG__ == 8)'
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [ cmake ] ++ lib.optionals cudaSupport [
|
||||
cudaPackages.cuda_nvcc
|
||||
addDriverRunpath
|
||||
] ++ lib.optionals pythonSupport [
|
||||
pythonPackages.python
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
blas
|
||||
swig
|
||||
@@ -78,13 +85,6 @@ stdenv.mkDerivation {
|
||||
pythonPackages.packaging
|
||||
];
|
||||
|
||||
nativeBuildInputs = [ cmake ] ++ lib.optionals cudaSupport [
|
||||
cudaPackages.cuda_nvcc
|
||||
addDriverRunpath
|
||||
] ++ lib.optionals pythonSupport [
|
||||
pythonPackages.python
|
||||
];
|
||||
|
||||
passthru.extra-requires.all = [
|
||||
pythonPackages.numpy
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user