fflas-ffpack, givaro, linbox: ensure march=native is not used

This commit is contained in:
Mauricio Collares 2024-03-06 17:18:47 +01:00
parent 0f7d992272
commit d57460f29d
3 changed files with 3 additions and 2 deletions

View File

@ -31,6 +31,7 @@ stdenv.mkDerivation rec {
configureFlags = [
"--with-blas-libs=-lcblas"
"--with-lapack-libs=-llapacke"
"--without-archnative"
] ++ lib.optionals stdenv.isx86_64 [
# disable SIMD instructions (which are enabled *when available* by default)
# for now we need to be careful to disable *all* relevant versions of an instruction set explicitly (https://github.com/linbox-team/fflas-ffpack/issues/284)

View File

@ -34,7 +34,7 @@ stdenv.mkDerivation rec {
propagatedBuildInputs = [ gmpxx ];
configureFlags = [
"--disable-optimization"
"--without-archnative"
] ++ lib.optionals stdenv.isx86_64 [
# disable SIMD instructions (which are enabled *when available* by default)
"--${if stdenv.hostPlatform.sse3Support then "enable" else "disable"}-sse3"

View File

@ -37,7 +37,7 @@ stdenv.mkDerivation rec {
configureFlags = [
"--with-blas-libs=-lblas"
"--disable-optimization"
"--without-archnative"
] ++ lib.optionals stdenv.isx86_64 [
# disable SIMD instructions (which are enabled *when available* by default)
"--${if stdenv.hostPlatform.sse3Support then "enable" else "disable"}-sse3"