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

View File

@ -1,6 +1,8 @@
# -*- explicit-buffer-name: "CMakeLists.txt<bora/src>" -*- # -*- explicit-buffer-name: "CMakeLists.txt<bora/src>" -*-
include_directories( ${BORA_SOURCE_DIR}/src include_directories( ${BORA_SOURCE_DIR}/src
${ANABATIC_INCLUDE_DIR}
${KATANA_INCLUDE_DIR}
${CORIOLIS_INCLUDE_DIR} ${CORIOLIS_INCLUDE_DIR}
${HURRICANE_INCLUDE_DIR} ${HURRICANE_INCLUDE_DIR}
${CONFIGURATION_INCLUDE_DIR} ${CONFIGURATION_INCLUDE_DIR}

View File

@ -36,7 +36,7 @@
components = [ components = [
"vlsisapd" "lefdef" "bootstrap" "hurricane" "crlcore" "vlsisapd" "lefdef" "bootstrap" "hurricane" "crlcore"
"cumulus" "flute" "etesian" "anabatic" "coloquinte" "cumulus" "flute" "etesian" "anabatic" "coloquinte"
"katana" "katana" "bora"
]; ];
in in

View File

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

25
nix/bora.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, qt4, coriolis-katana
, coriolis-flute, coriolis-anabatic
, coriolis-lefdef, qwt6_qt4 }:
let boostWithPython = boost.override { enablePython = true; python = python2; }; in
stdenv.mkDerivation {
pname = "coriolis-bora";
src = ../bora;
buildInputs = [
python2 boostWithPython coriolis-bootstrap
coriolis-vlsisapd coriolis-hurricane coriolis-crlcore
coriolis-katana qt4 coriolis-flute coriolis-anabatic
coriolis-lefdef qwt6_qt4
];
nativeBuildInputs = [ cmake ninja ];
inherit version meta;
}