added flang-new-18

This commit is contained in:
edoapra 2024-03-06 18:15:39 -08:00
parent ca3519ef50
commit da05c67f60
No known key found for this signature in database
GPG key ID: 9E6A0B70826967BA
3 changed files with 11 additions and 4 deletions

View file

@ -388,6 +388,12 @@ jobs:
armci_network: MPI-TS
nwchem_modules: "tinyqmpw"
fc: flang-new-17
- os: ubuntu-latest
experimental: true
mpi_impl: mpich
armci_network: MPI-TS
nwchem_modules: "tinyqmpw"
fc: flang-new-18
- os: ubuntu-22.04
experimental: true
mpi_impl: openmpi

View file

@ -222,11 +222,12 @@ if [[ "$os" == "Linux" ]]; then
icc -V
fi
if [[ "$FC" == "flang-new-17" ]]; then
if [[ "$FC" == 'flang-new-'* ]]; then
wget https://apt.llvm.org/llvm.sh
chmod +x llvm.sh
$MYSUDO ./llvm.sh 17
$MYSUDO apt-get install -y flang-17
llvm_ver=$(echo $FC | cut -d - -f 3)
$MYSUDO ./llvm.sh $llvm_ver
$MYSUDO apt-get install -y flang-$llvm_ver
fi
if [[ "$FC" == "flang" ]]; then
if [[ "USE_AOMP" == "Y" ]]; then

View file

@ -39,7 +39,7 @@ if [[ "$FC" == "amdflang" ]]; then
export LD_LIBRARY_PATH=/opt/rocm-"$rocm_version"/lib:/opt/rocm/llvm/lib:$LD_LIBRARY_PATH
export BUILD_MPICH=1
fi
if [[ "$FC" == "flang-new-17" ]]; then
if [[ "$FC" == 'flang-new-'* ]]; then
export BUILD_MPICH=1
fi