tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
cbc: 2.10.3 -> 2.10.4
Robert T. McGibbon
5 years ago
40062e43
88b81aab
+7
-4
1 changed file
expand all
collapse all
unified
split
pkgs
applications
science
math
cbc
default.nix
+7
-4
pkgs/applications/science/math/cbc/default.nix
···
2
3
stdenv.mkDerivation rec {
4
pname = "cbc";
5
-
version = "2.10.3";
0
0
0
6
7
src = fetchurl {
8
url = "https://www.coin-or.org/download/source/Cbc/Cbc-${version}.tgz";
9
-
sha256 = "1zzcg40ky5v96s7br2hqlkqdspwrn43kf3757g6c35wl29bq6f5d";
10
};
11
12
-
configureFlags = [ "-C" ];
0
13
14
enableParallelBuilding = true;
15
···
24
license = lib.licenses.epl10;
25
maintainers = [ lib.maintainers.eelco ];
26
platforms = lib.platforms.linux ++ lib.platforms.darwin;
27
-
broken = stdenv.isAarch64; # Missing <immintrin.h> after 2.10.0
28
description = "A mixed integer programming solver";
29
};
30
}
···
2
3
stdenv.mkDerivation rec {
4
pname = "cbc";
5
+
version = "2.10.4";
6
+
7
+
# Note: Cbc 2.10.5 contains Clp 1.17.5 which hits this bug
8
+
# that breaks or-tools https://github.com/coin-or/Clp/issues/130
9
10
src = fetchurl {
11
url = "https://www.coin-or.org/download/source/Cbc/Cbc-${version}.tgz";
12
+
sha256 = "0zq66j1vvpslswhzi9yfgkv6vmg7yry4pdmfgqaqw2vhyqxnsy39";
13
};
14
15
+
# or-tools has a hard dependency on Cbc static libraries, so we build both
16
+
configureFlags = [ "-C" "--enable-static" ];
17
18
enableParallelBuilding = true;
19
···
28
license = lib.licenses.epl10;
29
maintainers = [ lib.maintainers.eelco ];
30
platforms = lib.platforms.linux ++ lib.platforms.darwin;
0
31
description = "A mixed integer programming solver";
32
};
33
}