File tree Expand file tree Collapse file tree 1 file changed +23
-1
lines changed
Expand file tree Collapse file tree 1 file changed +23
-1
lines changed Original file line number Diff line number Diff line change 4141 - name : Configure and Make
4242 run : |
4343 . ./spack/share/spack/setup-env.sh
44-
44+
4545 if [[ "${{ matrix.compiler }}" == "GCC" ]]; then
4646 eval "$(spack load --sh openmpi)"
4747 elif [[ "${{ matrix.compiler }}" == "ICC" ]]; then
8686 name : sparseBench-SCS-${{ matrix.compiler }}
8787 path : ./executables
8888
89+ - name : Set up Spack
90+ uses : spack/setup-spack@v2
91+ with :
92+ ref : develop
93+ buildcache : true
94+ color : true
95+ path : spack
96+
97+ - name : Load Compiler and MPI
98+ run : |
99+ . ./spack/share/spack/setup-env.sh
100+
101+ if [[ "${{ matrix.compiler }}" == "GCC" ]]; then
102+ eval "$(spack load --sh openmpi)"
103+ elif [[ "${{ matrix.compiler }}" == "ICC" ]]; then
104+ eval "$(spack load --sh intel-oneapi-compilers)"
105+ eval "$(spack load --sh intel-oneapi-mpi)"
106+ elif [[ "${{ matrix.compiler }}" == "CLANG" ]]; then
107+ eval "$(spack load --sh llvm)"
108+ eval "$(spack load --sh openmpi)"
109+ fi
110+
89111 - name : Make Tests
90112 run : |
91113 cd tests
You can’t perform that action at this time.
0 commit comments