-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow commits as ref for get-spack, protect variable names from colli…
…sions
- Loading branch information
1 parent
4a91ed5
commit 0febe1d
Showing
13 changed files
with
70 additions
and
67 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,13 @@ | ||
#!/bin/bash | ||
|
||
if [[ ! -d ${SPACK_PATH} ]] | ||
if [[ ! -d ${MY_SPACK_PATH} ]] | ||
then | ||
cd ${SPACK_PATH} | ||
cd ${MY_SPACK_PATH} | ||
git apply ${CI_PROJECT_DIR}/patches/spack/user-scope.patch | ||
git commit -am "Moving user scope in spack directory" | ||
cd - | ||
else | ||
echo "\$SPACK_PATH = $SPACK_PATH is not a directory," | ||
echo "\$MY_SPACK_PATH = $MY_SPACK_PATH is not a directory," | ||
echo "be sure to run get-spack first." | ||
exit 1 | ||
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,15 +15,9 @@ spack: | |
padded_length: 128 | ||
projections: | ||
all: '{architecture}/{compiler.name}-{compiler.version}/{name}-{version}-{hash}' | ||
misc_cache: $spack/.misc_cache | ||
test_stage: $spack/.test_stage | ||
'build_stage:': | ||
- $spack/var/spack/stage | ||
bootstrap: | ||
root: /usr/workspace/radiuss/store/bradiuss | ||
mirrors: | ||
mirror: file:///usr/workspace/radiuss/mirrors/raja | ||
#[definitions--] | ||
|
||
definitions: | ||
- compilers: | ||
- '%[email protected]' | ||
|
@@ -102,7 +96,9 @@ spack: | |
runner-attributes: | ||
tags: [quartz, shell] | ||
script: | ||
- . ${SPACK_PATH}/share/spack/setup-env.sh | ||
- . ${MY_SPACK_PATH}/share/spack/setup-env.sh | ||
- export SPACK_DISABLE_LOCAL_CONFIG="" | ||
- export SPACK_USER_CACHE_PATH="${SPACK_USER_CACHE}" | ||
- cd ${SPACK_CONCRETE_ENV_DIR} && spack env activate --without-view . | ||
- spack -d ci rebuild | ||
|
||
|
@@ -112,11 +108,13 @@ spack: | |
runner-attributes: | ||
tags: [lassen, shell] | ||
script: | ||
- . ${SPACK_PATH}/share/spack/setup-env.sh | ||
- . ${MY_SPACK_PATH}/share/spack/setup-env.sh | ||
- export SPACK_DISABLE_LOCAL_CONFIG="" | ||
- export SPACK_USER_CACHE_PATH="${SPACK_USER_CACHE}" | ||
- cd ${SPACK_CONCRETE_ENV_DIR} && spack env activate --without-view . | ||
- spack -d ci rebuild | ||
service-job-attributes: | ||
tags: [quartz, shell] | ||
before_script: | ||
- . ${SPACK_PATH}/share/spack/setup-env.sh | ||
- . ${MY_SPACK_PATH}/share/spack/setup-env.sh | ||
|