This commit is contained in:
Las Safin 2021-08-26 16:44:45 +00:00
parent 83eb8b4a6b
commit a5187f34b9
No known key found for this signature in database
GPG Key ID: E7FA928911B61ED6
4 changed files with 31 additions and 4 deletions

View File

@ -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

View File

@ -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}

View File

@ -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 }:

28
nix/flute.nix Normal file
View File

@ -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;
}