Custom Cyclus Installation¶
The installation using the install script can be customized using the following flags:
|
show the help message and exit |
|
where to place the build directory |
|
uninstall |
|
build with COIN solvers |
|
do not update the hash in version.cc |
|
attempt to remove the build directory before building |
|
THREADS the number of threads to use in the make step |
|
the relative path to the installation directory |
|
only configure the package, do not build or install |
|
only build the package, do not install |
|
run tests after building |
|
the relative path to the Coin-OR libraries directory |
|
the relative path to the Boost libraries directory |
|
the path to the HDF5 libraries directory |
|
the cmake prefix path for use with FIND_PACKAGE, FIND_PATH, FIND_PROGRAM, or FIND_LIBRARY macros |
|
change the CMAKE_BUILD_TYPE |
|
sets the data model version number |
|
Enable code coverage analysis using gcov/lcov |
|
Will try to compile from assembly, if possible (default). This is faster than compiling from source. |
|
Will NOT try to compile from assembly, if possible. This is slower as it must compile from source. This is required to build on Apple Silicon |
|
set environment variable(s). |
For example, if you have installed coin-Cbc from source or otherwise have it
installed in a non-standard location, you should make use of the coin_root
installation flag. The otherwise identical process would look like:
.../cyclus$ python3 install.py --coin-root=path/to/coin
CMake Cyclus Installation¶
If you are CMake
aficionado you can also install Cyclus without using the
install.py
python script and use cmake
directly, which should look like:
mkdir build
cd build
cmake .. -DCMAKE_INSTALL_PREFIX=~/.local/
make
make install
As usual you can customize your cmake installation using the proper cmake flag.
All cmake variables can be listed using: cmake -LAH
.
The main variables used are:
|
set Coin-OT library directory |
|
set Boost libraries directory |
|
set HDF5 root directory |
|
set HDF5 libraries path |
|
set HDF5 library directory |
|
set HDF5 include directory |
All variables can be set using -DMY_VARIABLE=MY_VARIABLES_VALUE
.