mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-09-20 12:29:02 +02:00
Merge pull request #122604 from rmcgibbo/flint
flint: fix build on darwin
This commit is contained in:
commit
010661db26
|
@ -13,10 +13,12 @@ assert withBlas -> openblas != null && blas.implementation == "openblas" && lapa
|
|||
stdenv.mkDerivation rec {
|
||||
pname = "flint";
|
||||
version = "2.7.1";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://www.flintlib.org/flint-${version}.tar.gz";
|
||||
sha256 = "07j8r96kdzp19cy3a5yvpjxf90mkd6103yr2n42qmpv7mgcjyvhq";
|
||||
};
|
||||
|
||||
buildInputs = [
|
||||
gmp
|
||||
mpir
|
||||
|
@ -37,9 +39,6 @@ stdenv.mkDerivation rec {
|
|||
"--with-blas=${openblas}"
|
||||
];
|
||||
|
||||
# issues with ntl -- https://github.com/wbhart/flint2/issues/487
|
||||
NIX_CXXSTDLIB_COMPILE = "-std=c++11";
|
||||
|
||||
doCheck = true;
|
||||
meta = {
|
||||
inherit version;
|
||||
|
|
Loading…
Reference in a new issue