tangled
alpha
login
or
join now
tjh.dev
/
nixpkgs
Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
0
fork
atom
overview
issues
pulls
pipelines
givaro: Add darwin support
Jake Waksbaum
7 years ago
2ab014eb
4c0e2508
+12
-2
1 changed file
expand all
collapse all
unified
split
pkgs
development
libraries
givaro
default.nix
+12
-2
pkgs/development/libraries/givaro/default.nix
···
11
11
rev = "v${version}";
12
12
sha256 = "199p8wyj5i63jbnk7j8qbdbfp5rm2lpmcxyk3mdjy9bz7ygx3hhy";
13
13
};
14
14
+
15
15
+
enableParallelBuilding = true;
16
16
+
14
17
nativeBuildInputs = [ autoreconfHook ];
15
18
buildInputs = [autoconf automake libtool gmpxx];
19
19
+
16
20
configureFlags = [
17
21
"--disable-optimization"
18
22
] ++ stdenv.lib.optionals (!optimize) [
···
28
32
"--disable-fma"
29
33
"--disable-fma4"
30
34
];
31
31
-
doCheck = true;
35
35
+
36
36
+
# On darwin, tests are linked to dylib in the nix store, so we need to make
37
37
+
# sure tests run after installPhase.
38
38
+
doInstallCheck = true;
39
39
+
installCheckTarget = "check";
40
40
+
doCheck = false;
41
41
+
32
42
meta = {
33
43
inherit version;
34
44
description = ''A C++ library for arithmetic and algebraic computations'';
35
45
license = stdenv.lib.licenses.cecill-b;
36
46
maintainers = [stdenv.lib.maintainers.raskin];
37
37
-
platforms = stdenv.lib.platforms.linux;
47
47
+
platforms = stdenv.lib.platforms.unix;
38
48
};
39
49
}