Merge pull request #36437 from timokau/origin/fflas-ffpack-update
fflas-ffpack: 2.2.2 -> 2.3.2
This commit is contained in:
commit
d6b1e816eb
@ -1,4 +1,7 @@
|
|||||||
{stdenv, fetchFromGitHub, autoreconfHook, givaro, pkgconfig, openblas, liblapack}:
|
{ stdenv, fetchFromGitHub, autoreconfHook, givaro, pkgconfig, openblas, liblapack
|
||||||
|
, gmpxx
|
||||||
|
, optimize ? false # impure
|
||||||
|
}:
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "${pname}-${version}";
|
name = "${pname}-${version}";
|
||||||
pname = "fflas-ffpack";
|
pname = "fflas-ffpack";
|
||||||
@ -9,9 +12,31 @@ stdenv.mkDerivation rec {
|
|||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "1cqhassj2dny3gx0iywvmnpq8ca0d6m82xl5rz4mb8gaxr2kwddl";
|
sha256 = "1cqhassj2dny3gx0iywvmnpq8ca0d6m82xl5rz4mb8gaxr2kwddl";
|
||||||
};
|
};
|
||||||
nativeBuildInputs = [ autoreconfHook pkgconfig ];
|
checkInputs = [
|
||||||
|
gmpxx
|
||||||
|
];
|
||||||
|
nativeBuildInputs = [
|
||||||
|
autoreconfHook
|
||||||
|
pkgconfig
|
||||||
|
] ++ stdenv.lib.optionals doCheck checkInputs;
|
||||||
buildInputs = [ givaro (liblapack.override {shared = true;}) openblas];
|
buildInputs = [ givaro (liblapack.override {shared = true;}) openblas];
|
||||||
configureFlags = "--with-blas-libs=-lopenblas --with-lapack-libs=-llapack";
|
configureFlags = [
|
||||||
|
"--with-blas-libs=-lopenblas"
|
||||||
|
"--with-lapack-libs=-llapack"
|
||||||
|
] ++ stdenv.lib.optionals (!optimize) [
|
||||||
|
# disable SIMD instructions (which are enabled *when available* by default)
|
||||||
|
"--disable-sse"
|
||||||
|
"--disable-sse2"
|
||||||
|
"--disable-sse3"
|
||||||
|
"--disable-ssse3"
|
||||||
|
"--disable-sse41"
|
||||||
|
"--disable-sse42"
|
||||||
|
"--disable-avx"
|
||||||
|
"--disable-avx2"
|
||||||
|
"--disable-fma"
|
||||||
|
"--disable-fma4"
|
||||||
|
];
|
||||||
|
doCheck = true;
|
||||||
meta = {
|
meta = {
|
||||||
inherit version;
|
inherit version;
|
||||||
description = ''Finite Field Linear Algebra Subroutines'';
|
description = ''Finite Field Linear Algebra Subroutines'';
|
||||||
|
Loading…
Reference in New Issue
Block a user