mirror of https://github.com/QMCPACK/qmcpack.git
Speculative ROCm fix in CI
This commit is contained in:
parent
f92e927150
commit
dac14daa30
|
@ -227,6 +227,11 @@ case "$1" in
|
|||
;;
|
||||
*"ROCm-Clang13-NoMPI-CUDA2HIP"*)
|
||||
echo 'Configure for building CUDA2HIP with clang compilers shipped with ROCM on AMD hardware'
|
||||
export ROCM_PATH=/opt/rocm
|
||||
|
||||
# Make current environment variables available to subsequent steps
|
||||
echo "ROCM_PATH=/opt/rocm" >> $GITHUB_ENV
|
||||
|
||||
cmake -GNinja \
|
||||
-DCMAKE_C_COMPILER=/opt/rocm/llvm/bin/clang \
|
||||
-DCMAKE_CXX_COMPILER=/opt/rocm/llvm/bin/clang++ \
|
||||
|
@ -243,10 +248,12 @@ case "$1" in
|
|||
*"ROCm-Clang13-MPI-Legacy-CUDA2HIP"*)
|
||||
echo 'Configure for building CUDA2HIP with clang compilers shipped with ROCM on AMD hardware'
|
||||
|
||||
export ROCM_PATH=/opt/rocm
|
||||
export OMPI_CC=/opt/rocm/llvm/bin/clang
|
||||
export OMPI_CXX=/opt/rocm/llvm/bin/clang++
|
||||
|
||||
# Make current environment variables available to subsequent steps
|
||||
echo "ROCM_PATH=/opt/rocm" >> $GITHUB_ENV
|
||||
echo "OMPI_CC=/opt/rocm/llvm/bin/clang" >> $GITHUB_ENV
|
||||
echo "OMPI_CXX=/opt/rocm/llvm/bin/clang++" >> $GITHUB_ENV
|
||||
|
||||
|
|
Loading…
Reference in New Issue