This commit is contained in:
Las Safin 2021-08-27 19:48:19 +00:00
parent ed96a0b2e4
commit 11311072a2
No known key found for this signature in database
GPG Key ID: E7FA928911B61ED6
5 changed files with 41 additions and 4 deletions

View File

@ -38,7 +38,7 @@
"cumulus" "flute" "etesian" "anabatic" "coloquinte"
"katana" "bora" "equinox" "knik" "katabatic" "ispd"
"karakaze" "kite" "nimbus" "metis" "mauka" "oroshi"
"solstice" "stratus1" "tutorial"
"solstice" "stratus1" "tutorial" "unicorn"
];
in

29
nix/unicorn.nix Normal file
View File

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

View File

@ -15,7 +15,7 @@ IF(UNIX)
#
# Look for an installation.
#
FIND_PATH(SOLSTICE_INCLUDE_PATH NAMES solstice/Equi.h PATHS
FIND_PATH(SOLSTICE_INCLUDE_PATH NAMES solstice/Brick.h PATHS
# Look in other places.
${CORIOLIS_DIR_SEARCH}
PATH_SUFFIXES include/coriolis2

View File

@ -36,8 +36,8 @@
find_package(KNIK REQUIRED)
find_package(KATABATIC REQUIRED)
find_package(KITE REQUIRED)
#find_package(EQUINOX REQUIRED)
#find_package(SOLSTICE REQUIRED)
find_package(EQUINOX REQUIRED)
find_package(SOLSTICE REQUIRED)
find_package(Doxygen)
if(WITH_OPENMP)

View File

@ -3,6 +3,14 @@
# include( ${QT_USE_FILE} )
include_directories( ${UNICORN_SOURCE_DIR}/src
${HURRICANE_INCLUDE_DIR}
${KNIK_INCLUDE_DIR}
${KATABATIC_INCLUDE_DIR}
${SOLSTICE_INCLUDE_DIR}
${EQUINOX_INCLUDE_DIR}
${KITE_INCLUDE_DIR}
${ETESIAN_INCLUDE_DIR}
${ANABATIC_INCLUDE_DIR}
${KATANA_INCLUDE_DIR}
${CORIOLIS_INCLUDE_DIR}
${BOOKSHELF_INCLUDE_DIR}
${CONFIGURATION_INCLUDE_DIR}