mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-13 13:15:30 +03:00
Revert "python3Packages.numpy: temporarily avoid rebuild on !isClang"
This reverts commit 7ea07d2c0c
.
This commit is contained in:
parent
391118666c
commit
fe0bdcd1c6
1 changed files with 5 additions and 5 deletions
|
@ -39,7 +39,7 @@ let
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
in buildPythonPackage (rec {
|
in buildPythonPackage rec {
|
||||||
pname = "numpy";
|
pname = "numpy";
|
||||||
version = "1.24.2";
|
version = "1.24.2";
|
||||||
format = "setuptools";
|
format = "setuptools";
|
||||||
|
@ -91,6 +91,9 @@ in buildPythonPackage (rec {
|
||||||
nativeBuildInputs = [ gfortran cython ];
|
nativeBuildInputs = [ gfortran cython ];
|
||||||
buildInputs = [ blas lapack ];
|
buildInputs = [ blas lapack ];
|
||||||
|
|
||||||
|
# Causes `error: argument unused during compilation: '-fno-strict-overflow'` due to `-Werror`.
|
||||||
|
hardeningDisable = lib.optionals stdenv.cc.isClang [ "strictoverflow" ];
|
||||||
|
|
||||||
# we default openblas to build with 64 threads
|
# we default openblas to build with 64 threads
|
||||||
# if a machine has more than 64 threads, it will segfault
|
# if a machine has more than 64 threads, it will segfault
|
||||||
# see https://github.com/xianyi/OpenBLAS/issues/2993
|
# see https://github.com/xianyi/OpenBLAS/issues/2993
|
||||||
|
@ -137,7 +140,4 @@ in buildPythonPackage (rec {
|
||||||
license = lib.licenses.bsd3;
|
license = lib.licenses.bsd3;
|
||||||
maintainers = with lib.maintainers; [ fridh ];
|
maintainers = with lib.maintainers; [ fridh ];
|
||||||
};
|
};
|
||||||
} // lib.optionalAttrs stdenv.cc.isClang {
|
}
|
||||||
# Causes `error: argument unused during compilation: '-fno-strict-overflow'` due to `-Werror`.
|
|
||||||
hardeningDisable = [ "strictoverflow" ];
|
|
||||||
})
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue