diff options
Diffstat (limited to 'etc')
-rw-r--r-- | etc/spack/defaults/config.yaml | 19 | ||||
-rw-r--r-- | etc/spack/defaults/darwin/packages.yaml | 9 | ||||
-rw-r--r-- | etc/spack/defaults/modules.yaml | 10 | ||||
-rw-r--r-- | etc/spack/defaults/packages.yaml | 4 |
4 files changed, 25 insertions, 17 deletions
diff --git a/etc/spack/defaults/config.yaml b/etc/spack/defaults/config.yaml index d1a7f35a6d..61c23f42df 100644 --- a/etc/spack/defaults/config.yaml +++ b/etc/spack/defaults/config.yaml @@ -107,7 +107,7 @@ config: # If set to true, Spack will attempt to build any compiler on the spec # that is not already available. If set to False, Spack will only use # compilers already configured in compilers.yaml - install_missing_compilers: False + install_missing_compilers: false # If set to true, Spack will always check checksums after downloading @@ -115,6 +115,11 @@ config: checksum: true + # If set to true, Spack will fetch deprecated versions without warning. + # If false, Spack will raise an error when trying to install a deprecated version. + deprecated: false + + # If set to true, `spack install` and friends will NOT clean # potentially harmful variables from the build environment. Use wisely. dirty: false @@ -137,11 +142,13 @@ config: locks: true - # The maximum number of jobs to use when running `make` in parallel, - # always limited by the number of cores available. For instance: - # - If set to 16 on a 4 cores machine `spack install` will run `make -j4` - # - If set to 16 on a 18 cores machine `spack install` will run `make -j16` - # If not set, Spack will use all available cores up to 16. + # The maximum number of jobs to use for the build system (e.g. `make`), when + # the -j flag is not given on the command line. Defaults to 16 when not set. + # Note that the maximum number of jobs is limited by the number of cores + # available, taking thread affinity into account when supported. For instance: + # - With `build_jobs: 16` and 4 cores available `spack install` will run `make -j4` + # - With `build_jobs: 16` and 32 cores available `spack install` will run `make -j16` + # - With `build_jobs: 2` and 4 cores available `spack install -j6` will run `make -j6` # build_jobs: 16 diff --git a/etc/spack/defaults/darwin/packages.yaml b/etc/spack/defaults/darwin/packages.yaml index 948e90ea5a..8ce443a9fd 100644 --- a/etc/spack/defaults/darwin/packages.yaml +++ b/etc/spack/defaults/darwin/packages.yaml @@ -25,6 +25,8 @@ packages: - libelf unwind: - apple-libunwind + uuid: + - apple-libuuid apple-libunwind: buildable: false externals: @@ -32,3 +34,10 @@ packages: # although the version number used here isn't critical - spec: apple-libunwind@35.3 prefix: /usr + apple-libuuid: + buildable: false + externals: + # Apple bundles libuuid in libsystem_c version 1353.100.2, + # although the version number used here isn't critical + - spec: apple-libuuid@1353.100.2 + prefix: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk diff --git a/etc/spack/defaults/modules.yaml b/etc/spack/defaults/modules.yaml index 5ae1b50fda..d6d245930c 100644 --- a/etc/spack/defaults/modules.yaml +++ b/etc/spack/defaults/modules.yaml @@ -25,16 +25,6 @@ modules: - MANPATH share/aclocal: - ACLOCAL_PATH - lib: - - LIBRARY_PATH - lib64: - - LIBRARY_PATH - include: - - C_INCLUDE_PATH - - CPLUS_INCLUDE_PATH - # The INCLUDE env variable specifies paths to look for - # .mod file for Intel Fortran compilers - - INCLUDE lib/pkgconfig: - PKG_CONFIG_PATH lib64/pkgconfig: diff --git a/etc/spack/defaults/packages.yaml b/etc/spack/defaults/packages.yaml index 06aa41b2d8..77cbe57ffa 100644 --- a/etc/spack/defaults/packages.yaml +++ b/etc/spack/defaults/packages.yaml @@ -23,7 +23,7 @@ packages: daal: [intel-daal] elf: [elfutils] fftw-api: [fftw, amdfftw] - gl: [mesa+opengl, mesa18+opengl, opengl] + gl: [mesa+opengl, mesa18, opengl] glx: [mesa+glx, mesa18+glx, opengl] glu: [mesa-glu, openglu] golang: [gcc] @@ -49,6 +49,8 @@ packages: unwind: [libunwind] yacc: [bison, byacc] flame: [libflame, amdlibflame] + uuid: [util-linux-uuid, libuuid] + ziglang: [zig] permissions: read: world write: user |