-
Notifications
You must be signed in to change notification settings - Fork 54
Building McStas McXtrace
Peter Willendrup edited this page Jan 18, 2023
·
5 revisions
- Check out a working copy of our git repo at https://github.com/McStasMcXtrace/McCode . (If you then check out the mcstas-3.2-release branch and build from that, you will get a build which is functionally the same as the released McStas 3.2)
- Use the
dependency-scripts/getdeps_
scripts for a good guess at needed build dependencies, but also have a look at the file BUILD_DEPS.TXT - 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
Building McStas McXtrace when behind a proxy server requires an extra build step of specifying the proxy settings.set HTTP_PROXY=http://your_proxy_ip:port set HTTPS_PROXY=https://your_proxy_ip:port
set HTTP_PROXY=http://your_proxy_ip:port set HTTPS_PROXY=https://your_proxy_ip:port
set HTTP_PROXY=http://your_proxy_ip:port set HTTPS_PROXY=https://your_proxy_ip:port