Move temp directory configuration to config.yaml
- Moved temp finding logic to spack.stage - Updated stage tests - Added tests for new path substaitution of $user, $spack, $tempdir
This commit is contained in:
@@ -31,13 +31,13 @@ config:
|
||||
# You can use $tempdir to refer to the system default temp directory
|
||||
# (as returned by tempfile.gettempdir()).
|
||||
#
|
||||
# A value of $local indicates that Spack should run builds directly
|
||||
# inside its install directory without staging them in temporary space.
|
||||
# A value of $spack/var/spack/stage indicates that Spack should run
|
||||
# builds directly inside its install directory without staging them in
|
||||
# temporary space.
|
||||
build_stage:
|
||||
- /usr/workspace/*/%u
|
||||
- $tempdir
|
||||
- /nfs/tmp2/%u
|
||||
- $local
|
||||
- /nfs/tmp2/$user
|
||||
- $spack/var/spack/stage
|
||||
|
||||
|
||||
# Cache directory already downloaded source tarballs and archived
|
||||
|
Reference in New Issue
Block a user