flute
This commit is contained in:
parent
83eb8b4a6b
commit
a5187f34b9
|
@ -80,7 +80,7 @@
|
||||||
platforms = platforms.all;
|
platforms = platforms.all;
|
||||||
};
|
};
|
||||||
|
|
||||||
components = [ "vlsisapd" "lefdef" "bootstrap" "hurricane" "crlcore" "cumulus" ];
|
components = [ "vlsisapd" "lefdef" "bootstrap" "hurricane" "crlcore" "cumulus" "flute" ];
|
||||||
|
|
||||||
in
|
in
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
# -*- mode: CMAKE explicit-buffer-name: "CMakeLists.txt<flute/src/3.1>" -*-
|
# -*- mode: CMAKE explicit-buffer-name: "CMakeLists.txt<flute/src/3.1>" -*-
|
||||||
|
|
||||||
include_directories( ${FLUTE_SOURCE_DIR}/src/3.1
|
include_directories( ${FLUTE_SOURCE_DIR}/src/3.1
|
||||||
${CORIOLIS_LIBRARIES}
|
${CRLCORE_INCLUDE_PATH}
|
||||||
${HURRICANE_INCLUDE_DIR}
|
${HURRICANE_INCLUDE_DIR}
|
||||||
${CONFIGURATION_INCLUDE_DIR}
|
${CONFIGURATION_INCLUDE_DIR}
|
||||||
${PYTHON_INCLUDE_PATH}
|
${PYTHON_INCLUDE_PATH}
|
||||||
|
|
|
@ -1,7 +1,6 @@
|
||||||
{ version, meta }:
|
{ version, meta }:
|
||||||
|
|
||||||
{ lib, stdenv, python2, cmake, boost, bison, flex
|
{ lib, stdenv, python2, cmake, boost, bison, flex, libxml2, qt4, ninja
|
||||||
, libxml2, rapidjson, qt4, zlib, bzip2, ninja
|
|
||||||
, coriolis-bootstrap, coriolis-vlsisapd, coriolis-hurricane
|
, coriolis-bootstrap, coriolis-vlsisapd, coriolis-hurricane
|
||||||
, coriolis-lefdef }:
|
, coriolis-lefdef }:
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,28 @@
|
||||||
|
{ version, meta }:
|
||||||
|
|
||||||
|
{ lib, stdenv, cmake, ninja, python2, boost
|
||||||
|
, coriolis-bootstrap, coriolis-vlsisapd, coriolis-hurricane
|
||||||
|
, coriolis-crlcore }:
|
||||||
|
|
||||||
|
let boostWithPython = boost.override { enablePython = true; python = python2; }; in
|
||||||
|
|
||||||
|
stdenv.mkDerivation {
|
||||||
|
pname = "coriolis-flute";
|
||||||
|
|
||||||
|
src = ../flute;
|
||||||
|
|
||||||
|
cmakeFlags = [
|
||||||
|
(
|
||||||
|
"-DCMAKE_MODULE_PATH="
|
||||||
|
+ "${coriolis-bootstrap}/share/cmake/Modules"
|
||||||
|
+ ";${coriolis-vlsisapd}/share/cmake/Modules"
|
||||||
|
+ ";${coriolis-hurricane}/share/cmake/Modules"
|
||||||
|
+ ";${coriolis-crlcore}/share/cmake/Modules"
|
||||||
|
)
|
||||||
|
];
|
||||||
|
|
||||||
|
buildInputs = [ python2 boostWithPython coriolis-bootstrap coriolis-vlsisapd coriolis-hurricane coriolis-crlcore ];
|
||||||
|
nativeBuildInputs = [ cmake ninja ];
|
||||||
|
|
||||||
|
inherit version meta;
|
||||||
|
}
|
Loading…
Reference in New Issue