Skip to content

NCrystal release 3.8.0

Compare
Choose a tag to compare
@tkittel tkittel released this 03 Dec 13:30
· 33 commits to master since this release

Release 3.8.0 brings several changes of a technical nature, and mostly to how one builds and configures NCrystal. People using NCrystal installed via conda or pip will most likely only notice that the command previously available under the two names ncrystal_inspectfile and nctool, no longer is available as ncrystal_inspectfile. From this point on, the command is only available via the name nctool.

We also would like to point out that in addition to conda-forge and PyPI, NCrystal packages are now also available in Debian stable (thanks to the team lead by Emmanuel Farhi from the Synchrotron SOLEIL) and FreeBSD (thanks to efforts by Yuri Victorovich).

For people manually building NCrystal or downstream C++/C code, the primary changes to be aware of are (as usual, the CHANGELOG has more details):

  • NCrystal libraries now are installed with SOVERSION, and optionally with a custom namespace for both library symbols and library name. Thus, compiling downstream projects (without CMake) with -L/some/where -lNCrystal is no longer recommended (see the CHANGELOG for the recommended alternative).
  • Files like /setup.sh are no longer installed by default. If you need them, please set -DNCRYSTAL_ENABLE_SETUPSH=ON and note that the files are additionally renamed like <PREFIX>/ncrystal_setup.sh.
  • NCrystal-related McStas (mcstas.org) components and instruments are no longer provided as part of NCrystal. Rather, they are now provided as part of the McStas project.