diff --git a/buildsystem/spack/ascent/install.sh b/buildsystem/spack/ascent/install.sh index dec97839..2e805694 100755 --- a/buildsystem/spack/ascent/install.sh +++ b/buildsystem/spack/ascent/install.sh @@ -8,6 +8,16 @@ #BSUB -o spack_install.%J.output #BSUB -e spack_install.%J.output +# Configure https proxy because spack is going to do some things with git +export all_proxy="socks://proxy.ccs.ornl.gov:3128" +export ftp_proxy="ftp://proxy.ccs.ornl.gov:3128" +export http_proxy="http://proxy.ccs.ornl.gov:3128" +export https_proxy="http://proxy.ccs.ornl.gov:3128" +export HTTP_PROXY="http://proxy.ccs.ornl.gov:3128" +export HTTPS_PROXY="http://proxy.ccs.ornl.gov:3128" +export proxy="proxy.ccs.ornl.gov:3128" +export no_proxy='localhost,127.0.0.0/8,*.ccs.ornl.gov,*.olcf.ornl.gov,*.ncrc.gov' + export MY_CLUSTER=ascent . buildsystem/load-spack.sh && spack mirror add local file://$SPACK_MIRROR && @@ -16,4 +26,3 @@ spack mirror add spack-public file://$SPACK_MIRROR && spack mirror list && spack develop --no-clone --path=$(pwd) resolve@develop && jsrun -n 1 -c 40 ./buildsystem/configure-modules.sh 40 -