frama-c: Aluminum -> Silicon

Upgrade required to work with new ocamlgraph
This commit is contained in:
Matthew Maurer 2017-03-27 16:24:50 -04:00 committed by Vincent Laporte
parent f9f5bec507
commit af33b23de3
2 changed files with 10 additions and 10 deletions

View file

@ -8,17 +8,17 @@ in
stdenv.mkDerivation rec {
name = "frama-c-${version}";
version = "20160501";
slang = "Aluminium";
version = "20161101";
slang = "Silicon";
src = fetchurl {
url = "http://frama-c.com/download/frama-c-${slang}-${version}.tar.gz";
sha256 = "02z4d1lg2cs4hgbjx74crfrabv39dyhdrq5lvhv0q3hx5c8w7p90";
sha256 = "1qq045ymz1mx4m9dsypigrcagqyb2k78wk13nqlbykcs5xbihfdh";
};
why2 = fetchurl {
url = "http://why.lri.fr/download/why-2.34.tar.gz";
sha256 = "1335bhq9v3h46m8aba2c5myi9ghm87q41in0m15xvdrwq5big1jg";
url = "http://why.lri.fr/download/why-2.37.tar.gz";
sha256 = "00xr8aq6zwln0ccfs1ng610j70r6ia6wqdyaqs9iqibqfa1scr3m";
};
nativeBuildInputs = [ makeWrapper ];
@ -29,7 +29,8 @@ stdenv.mkDerivation rec {
];
enableParallelBuilding = true;
# Experimentally, the build segfaults with high core counts
enableParallelBuilding = false;
unpackPhase = ''
tar xf $src
@ -39,7 +40,8 @@ stdenv.mkDerivation rec {
buildPhase = ''
cd frama*
./configure --prefix=$out
make -j$NIX_BUILD_CORES
# It is not parallel safe
make
make install
cd ../why*
FRAMAC=$out/bin/frama-c ./configure --prefix=$out

View file

@ -6513,9 +6513,7 @@ with pkgs;
ocaml = ocaml_4_02;
};
framac = callPackage ../development/tools/analysis/frama-c {
coq = coq_8_4;
};
framac = callPackage ../development/tools/analysis/frama-c { };
frame = callPackage ../development/libraries/frame { };