crlcore work
This commit is contained in:
parent
a7ecaeaa36
commit
68400d9437
|
@ -80,7 +80,7 @@
|
|||
platforms = platforms.all;
|
||||
};
|
||||
|
||||
components = [ "vlsisapd" "lefdef" "bootstrap" "hurricane" ];
|
||||
components = [ "vlsisapd" "lefdef" "bootstrap" "hurricane" "crlcore" ];
|
||||
|
||||
in
|
||||
|
||||
|
|
|
@ -0,0 +1,31 @@
|
|||
{ version, meta }:
|
||||
|
||||
{ lib, stdenv, python2, cmake, boost, bison, flex
|
||||
, libxml2, rapidjson, qt4, zlib, bzip2, ninja
|
||||
, coriolis-bootstrap, coriolis-vlsisapd, coriolis-hurricane
|
||||
, coriolis-lefdef }:
|
||||
|
||||
let boostWithPython = boost.override { enablePython = true; python = python2; }; in
|
||||
|
||||
stdenv.mkDerivation {
|
||||
pname = "coriolis-crlcore";
|
||||
|
||||
src = ../crlcore;
|
||||
|
||||
cmakeFlags = [
|
||||
(
|
||||
"-DCMAKE_MODULE_PATH="
|
||||
+ "${coriolis-bootstrap}/share/cmake/Modules"
|
||||
+ ";${coriolis-vlsisapd}/share/cmake/Modules"
|
||||
+ ";${coriolis-hurricane}/share/cmake/Modules"
|
||||
)
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
python2 boostWithPython coriolis-bootstrap coriolis-lefdef
|
||||
coriolis-hurricane coriolis-vlsisapd libxml2 bison flex qt4
|
||||
];
|
||||
nativeBuildInputs = [ cmake ninja ];
|
||||
|
||||
inherit version meta;
|
||||
}
|
Loading…
Reference in New Issue