Skip to content
Snippets Groups Projects
Commit 021df82e authored by Oriol Tintó's avatar Oriol Tintó
Browse files

Fix problem with $SPACK_DISABLE_LOCAL_CONFIG

parent 74a6bccb
No related branches found
No related tags found
1 merge request!4Switching to the advanced configuration method and fixing spack build.
...@@ -37,12 +37,16 @@ function load_spack() { ...@@ -37,12 +37,16 @@ function load_spack() {
export SPACK_USER_CACHE_PATH=$7 # i.e.: ${SPACK_ROOT}/spack_user_cache_path export SPACK_USER_CACHE_PATH=$7 # i.e.: ${SPACK_ROOT}/spack_user_cache_path
export SPACK_USER_CONFIG_PATH=$8 # i.e.: ${SPACK_ROOT}/spack_user_config_path export SPACK_USER_CONFIG_PATH=$8 # i.e.: ${SPACK_ROOT}/spack_user_config_path
if [ "$SPACK_DISABLE_LOCAL_CONFIG" != "True" ]; then
unset SPACK_DISABLE_LOCAL_CONFIG
fi
echo "SPACK_INIT_CMD = $SPACK_INIT_CMD" echo "SPACK_INIT_CMD = $SPACK_INIT_CMD"
echo "SPACK_ROOT = $SPACK_ROOT" echo "SPACK_ROOT = $SPACK_ROOT"
echo "SPACK_URL = $SPACK_URL" echo "SPACK_URL = $SPACK_URL"
echo "SPACK_BRANCH = $SPACK_BRANCH" echo "SPACK_BRANCH = $SPACK_BRANCH"
echo "SPACK_COMPILER = $SPACK_COMPILER" echo "SPACK_COMPILER = $SPACK_COMPILER"
echo "SPACK_DISABLE_LOCAL_CONFIG = $SPACK_DISABLE_LOCAL_CONFIG" echo "SPACK_DISABLE_LOCAL_CONFIG = ${SPACK_DISABLE_LOCAL_CONFIG:-False}"
echo "SPACK_USER_CACHE_PATH = $SPACK_USER_CACHE_PATH" echo "SPACK_USER_CACHE_PATH = $SPACK_USER_CACHE_PATH"
echo "SPACK_USER_CONFIG_PATH = $SPACK_USER_CONFIG_PATH" echo "SPACK_USER_CONFIG_PATH = $SPACK_USER_CONFIG_PATH"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment