The default build requires:
Prepare an isolated Python environment with the packages listed below.
The installed BornAgain package requires:
These versions are declared by the wheel and installed by package managers.
For tests and examples, also install:
The HDF5 import snippets use:
Building the wheel requires:
CMake reports missing packages during configuration. With -DBA_TESTS=OFF,
it checks only the wheel tools. To disable the wheel too, use
-DBA_TESTS=OFF -DBA_PY_PACK=OFF.
A build configured with -DDEV=ON additionally requires:
dot) to generate the API documentation.Other tools depend on the task:
Install the compiler, build tools, FFTW3, GSL, and libcerf with the operating system’s package manager. Package names vary by distribution. Install libheinz and libformfactor from source when suitable packages are not available.
On macOS, Homebrew provides the external tools and libraries:
brew install git cmake ninja fftw gsl libcerf
Pass non-standard installation prefixes to CMake through
CMAKE_PREFIX_PATH. See
Developer options for the settings.