This commit is contained in:
Las Safin 2021-08-27 14:36:23 +00:00
parent 4dff6fd6c3
commit 72b46d7802
No known key found for this signature in database
GPG Key ID: E7FA928911B61ED6
4 changed files with 33 additions and 2 deletions

View File

@ -18,7 +18,7 @@ IF(UNIX)
FIND_PATH(ANABATIC_INCLUDE_PATH NAMES anabatic/AnabaticEngine.h PATHS
# Look in other places.
${CORIOLIS_DIR_SEARCH}
PATH_SUFFIXES include/coriolis
PATH_SUFFIXES include/coriolis2
# Help the user find it if we cannot.
DOC "The ${ANABATIC_INCLUDE_PATH_DESCRIPTION}"
)

View File

@ -33,7 +33,11 @@
'' + (o.preConfigure or "");
});
components = [ "vlsisapd" "lefdef" "bootstrap" "hurricane" "crlcore" "cumulus" "flute" "etesian" "anabatic" "coloquinte" ];
components = [
"vlsisapd" "lefdef" "bootstrap" "hurricane" "crlcore"
"cumulus" "flute" "etesian" "anabatic" "coloquinte"
"katana"
];
in

View File

@ -2,6 +2,8 @@
# include( ${QT_USE_FILE} )
include_directories( ${KATANA_SOURCE_DIR}/src
${ANABATIC_INCLUDE_DIR}
${ETESIAN_INCLUDE_DIR}
${CORIOLIS_INCLUDE_DIR}
${HURRICANE_INCLUDE_DIR}
${CONFIGURATION_INCLUDE_DIR}

25
nix/katana.nix Normal file
View File

@ -0,0 +1,25 @@
{ version, meta }:
{ lib, stdenv, cmake, ninja, python2, boost
, coriolis-bootstrap, coriolis-vlsisapd, coriolis-hurricane
, coriolis-crlcore, coriolis-etesian, qt4
, coriolis-flute, coriolis-anabatic
, coriolis-lefdef, libxml2 }:
let boostWithPython = boost.override { enablePython = true; python = python2; }; in
stdenv.mkDerivation {
pname = "coriolis-katana";
src = ../katana;
buildInputs = [
python2 boostWithPython coriolis-bootstrap
coriolis-vlsisapd coriolis-hurricane coriolis-crlcore
coriolis-etesian qt4 coriolis-flute coriolis-anabatic
coriolis-lefdef libxml2
];
nativeBuildInputs = [ cmake ninja ];
inherit version meta;
}