tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
compcert: build with 64-bit compiler, add darwin support
John Wiegley
11 years ago
8d5c4e8b
b8cb960a
+7
-4
2 changed files
expand all
collapse all
unified
split
pkgs
development
compilers
compcert
default.nix
top-level
all-packages.nix
+6
-3
pkgs/development/compilers/compcert/default.nix
···
12
12
buildInputs = [ coq ocaml ocamlPackages.menhir ];
13
13
14
14
enableParallelBuilding = true;
15
15
-
configurePhase = "./configure -prefix $out -toolprefix ${gcc}/bin/ ia32-linux";
15
15
+
configurePhase = "./configure -prefix $out -toolprefix ${gcc}/bin/ " +
16
16
+
(if stdenv.isDarwin then "ia32-macosx" else "ia32-linux");
16
17
17
18
meta = {
18
19
description = "Formally verified C compiler";
19
20
homepage = "http://compcert.inria.fr";
20
21
license = stdenv.lib.licenses.inria;
21
21
-
platforms = [ "i686-linux" ];
22
22
-
maintainers = [ stdenv.lib.maintainers.thoughtpolice ];
22
22
+
platforms = [ stdenv.lib.platforms.linux
23
23
+
stdenv.lib.platforms.darwin ];
24
24
+
maintainers = [ stdenv.lib.maintainers.thoughtpolice
25
25
+
stdenv.lib.maintainers.jwiegley ];
23
26
};
24
27
}
+1
-1
pkgs/top-level/all-packages.nix
···
2568
2568
2569
2569
cmucl_binary = callPackage ../development/compilers/cmucl/binary.nix { };
2570
2570
2571
2571
-
compcert = callPackage_i686 ../development/compilers/compcert {};
2571
2571
+
compcert = callPackage ../development/compilers/compcert {}
2572
2572
2573
2573
cryptol1 = lowPrio (callPackage ../development/compilers/cryptol/1.8.x.nix {});
2574
2574
cryptol2 = haskellPackages.cryptol;