Compare commits
3 commits
fbd405332e
...
2bc8d50230
Author | SHA1 | Date | |
---|---|---|---|
2bc8d50230 | |||
69d98f2c21 | |||
7f78a882de |
1 changed files with 16 additions and 9 deletions
|
@ -80,28 +80,35 @@ HLRS_OPT_PREFIX__USER=$(create_dir $arg_prefix)
|
||||||
# Define various repo locations
|
# Define various repo locations
|
||||||
_HLRS_SPACK_REPO=file://$HOME/spack-test/dummy_repo/spack-v0.21.2.git
|
_HLRS_SPACK_REPO=file://$HOME/spack-test/dummy_repo/spack-v0.21.2.git
|
||||||
_HLRS_SPACK_PLUMBING_REPO=file://$HOME/spack-test/dummy_repo/software-stack-plumbing.git
|
_HLRS_SPACK_PLUMBING_REPO=file://$HOME/spack-test/dummy_repo/software-stack-plumbing.git
|
||||||
_HLRS_SPACK_CONFIG_REPO=
|
_HLRS_SPACK_CONFIG_REPO=file://$HOME/spack-test/dummy_repo/software-stack-hlrs-spack.git
|
||||||
|
|
||||||
# bootstrap environment variables
|
# bootstrap environment variables
|
||||||
# (using [bash process substitution](https://tldp.org/LDP/abs/html/process-sub.html))
|
# (using [bash process substitution](https://tldp.org/LDP/abs/html/process-sub.html))
|
||||||
source <(curl $_HLRS_SPACK_PLUMBING_REPO/hlrs-plumbing/envs/00_base_prefix.env)
|
log "### bootstrap environment variables"
|
||||||
source <(curl $_HLRS_SPACK_PLUMBING_REPO/hlrs-plumbing/envs/01_release_root.env)
|
source <(curl -L $_HLRS_SPACK_PLUMBING_REPO/hlrs-plumbing/envs/00_base_prefix.env)
|
||||||
source <(curl $_HLRS_SPACK_PLUMBING_REPO/hlrs-plumbing/envs/02_hlrs_spack_root.env)
|
source <(curl -L $_HLRS_SPACK_PLUMBING_REPO/hlrs-plumbing/envs/01_release_root.env)
|
||||||
|
source <(curl -L $_HLRS_SPACK_PLUMBING_REPO/hlrs-plumbing/envs/02_hlrs_spack_root.env)
|
||||||
|
log "### ... done"
|
||||||
|
|
||||||
# setup plumbing directory
|
# setup plumbing directory
|
||||||
curl $_HLRS_SPACK_PLUMBING_REPO/hlrs-plumbing/scripts/xx_checkout_repo.sh | \
|
log "### setup plumbing directory"
|
||||||
|
curl -L $_HLRS_SPACK_PLUMBING_REPO/hlrs-plumbing/scripts/xx_checkout_repo.sh | \
|
||||||
bash -s -- $_HLRS_SPACK_PLUMBING_REPO \
|
bash -s -- $_HLRS_SPACK_PLUMBING_REPO \
|
||||||
$HLRS_SOFTWARE_STACK_RELEASE_VERSION $HLRS_SOFTWARE_STACK_RELEASE_ROOT .
|
$HLRS_SOFTWARE_STACK_RELEASE_VERSION $HLRS_SOFTWARE_STACK_RELEASE_ROOT .
|
||||||
_HLRS_PLUMBING_DIR=$HLRS_SOFTWARE_STACK_RELEASE_ROOT/hlrs-plumbing
|
_HLRS_PLUMBING_DIR=$HLRS_SOFTWARE_STACK_RELEASE_ROOT/hlrs-plumbing
|
||||||
|
log "### ... done"
|
||||||
|
|
||||||
# setup hlrs-spack directory
|
# setup hlrs-spack directory
|
||||||
mkdir -p $HLRS_SOFTWARE_STACK_HLRS_SPACK_ROOT
|
log "### setup hlrs-spack directory"
|
||||||
# TODO: checkout repo as soon as available; in the meantime do
|
$_HLRS_PLUMBING_DIR/scripts/xx_checkout_repo.sh $_HLRS_SPACK_CONFIG_REPO \
|
||||||
# setup hlrs-config directory
|
$HLRS_SOFTWARE_STACK_RELEASE_VERSION $HLRS_SOFTWARE_STACK_RELEASE_ROOT hlrs-spack
|
||||||
ln -s spack/config-hlrs $HLRS_SOFTWARE_STACK_HLRS_SPACK_ROOT/config-hlrs
|
log "### ... done"
|
||||||
|
|
||||||
# setup $SPACK_ROOT directory
|
# setup $SPACK_ROOT directory
|
||||||
|
log "### setup $SPACK_ROOT directory"
|
||||||
$_HLRS_PLUMBING_DIR/scripts/xx_checkout_repo.sh $_HLRS_SPACK_REPO \
|
$_HLRS_PLUMBING_DIR/scripts/xx_checkout_repo.sh $_HLRS_SPACK_REPO \
|
||||||
$HLRS_SOFTWARE_STACK_RELEASE_VERSION $HLRS_SOFTWARE_STACK_HLRS_SPACK_ROOT spack
|
$HLRS_SOFTWARE_STACK_RELEASE_VERSION $HLRS_SOFTWARE_STACK_HLRS_SPACK_ROOT spack
|
||||||
|
log "### ... done"
|
||||||
|
|
||||||
# setup opt-non-spack
|
# setup opt-non-spack
|
||||||
# TODO
|
# TODO
|
Loading…
Reference in a new issue