Building McStas McXtrace - mccode-dev/McCode GitHub Wiki
For non-conda platforms we provide a set of bash build-scripts. These platforms include:
- debian packages (as those provided via mccode.org)
- “Monolithic” Windows cross-compiled builds - use Ubuntu and the
mingw-gcccompiler
Steps for use of the legacy buildscripts:
- Check out a working copy of our git repo at https://github.com/McStasMcXtrace/McCode.
- Use the
dependency-scripts/getdeps_scripts for a good guess at required build dependencies - Use one of the top-level build scripts to start a build, such as
./buildscripts/build_macos_mcstas <version> [extra]
-
<version>should be a lower-case versioning label, such as 2.6beta -
[extra]is an optional flag for the the different build scripts, used in slightly different ways depending on platform, but generally associated with generation of 'meta-packages'
Output from the build scripts will always go to the dist/ folder