mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-19 16:45:49 +01:00
bap: build with llvm_8
This commit is contained in:
parent
e7b6d8790f
commit
bd85a832c1
2 changed files with 8 additions and 6 deletions
|
@ -1,7 +1,7 @@
|
|||
{ stdenv, fetchFromGitHub, fetchurl
|
||||
, ocaml, findlib, ocamlbuild, ocaml_oasis,
|
||||
bitstring, camlzip, cmdliner, core_kernel, ezjsonm, fileutils, ocaml_lwt, ocamlgraph, ocurl, re, uri, zarith, piqi, piqi-ocaml, uuidm, llvm_38, frontc, ounit, ppx_jane, parsexp,
|
||||
utop,
|
||||
bitstring, camlzip, cmdliner, core_kernel, ezjsonm, fileutils, ocaml_lwt, ocamlgraph, ocurl, re, uri, zarith, piqi, piqi-ocaml, uuidm, llvm, frontc, ounit, ppx_jane, parsexp,
|
||||
utop, libxml2,
|
||||
ppx_tools_versioned,
|
||||
which, makeWrapper, writeText
|
||||
}:
|
||||
|
@ -31,8 +31,8 @@ stdenv.mkDerivation rec {
|
|||
nativeBuildInputs = [ which makeWrapper ];
|
||||
|
||||
buildInputs = [ ocaml findlib ocamlbuild ocaml_oasis
|
||||
llvm_38 ppx_tools_versioned
|
||||
utop ];
|
||||
llvm ppx_tools_versioned
|
||||
utop libxml2 ];
|
||||
|
||||
propagatedBuildInputs = [ bitstring camlzip cmdliner ppx_jane core_kernel ezjsonm fileutils ocaml_lwt ocamlgraph ocurl re uri zarith piqi parsexp
|
||||
piqi-ocaml uuidm frontc ounit ];
|
||||
|
@ -51,7 +51,7 @@ stdenv.mkDerivation rec {
|
|||
|
||||
disableIda = "--disable-ida --disable-fsi-benchmark";
|
||||
|
||||
configureFlags = [ "--enable-everything ${disableIda}" "--with-llvm-config=${llvm_38}/bin/llvm-config" ];
|
||||
configureFlags = [ "--enable-everything ${disableIda}" "--with-llvm-config=${llvm}/bin/llvm-config" ];
|
||||
|
||||
BAPBUILDFLAGS = "-j $(NIX_BUILD_CORES)";
|
||||
|
||||
|
|
|
@ -57,7 +57,9 @@ let
|
|||
|
||||
base64 = callPackage ../development/ocaml-modules/base64 { };
|
||||
|
||||
bap = callPackage ../development/ocaml-modules/bap { };
|
||||
bap = callPackage ../development/ocaml-modules/bap {
|
||||
llvm = pkgs.llvm_8;
|
||||
};
|
||||
|
||||
batteries = callPackage ../development/ocaml-modules/batteries { };
|
||||
|
||||
|
|
Loading…
Reference in a new issue