Installation¶
This page describes common build and installation paths for EWTS.
Requirements¶
EWTS typically requires:
- CMake 3.16 or newer
- a C/C++ compiler
- a Fortran compiler when building the Fortran runtime
- Python 3 for the Python runtime and generator tooling
Build the full repository¶
cmake -B cmake_buld -S . -DCMAKE_BUILD_TYPE=Release -DEWTS_WITH_NGEN=ON -DEWTS_BUILD_SHARED=ON
cmake --build cmake_buld -j
This top-level build compiles the native language-specific Runtime Libraries and builds the Python package.
Install¶
cmake --install cmake_buld --prefix /path/to/install
A typical install includes:
- native EWTS Runtime Libraries
- generated constants and headers
- the
ngenintegration library when enabled - CMake package configuration files
- the Python wheel produced by the top-level build
Build Runtime Libraries only¶
cmake -B cmake_buld -S runtime -DCMAKE_BUILD_TYPE=Release
cmake --build cmake_buld -j
Editable Python install¶
For direct Python runtime development:
pip install -e runtime/python/ewts
Build a Python distribution manually¶
python -m build runtime/python/ewts
Run Python tests¶
pip install pytest
pip install -e runtime/python/ewts
pytest runtime/python/ewts/tests
or
pytest
Next steps¶
After installation, continue with: