Skip to content

Commit

Permalink
Support ArmCompilerforLinux as classic flang
Browse files Browse the repository at this point in the history
  • Loading branch information
martin-frbg authored Jan 15, 2024
1 parent 13c764e commit 9c6b9bf
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions f_check
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ if [ -z "$compiler" ]; then
pathf90 pathf95
pgf95 pgf90 pgf77 pgfortran nvfortran
flang egfortran
ifort nagfor ifx ftn crayftn"
ifort nagfor ifx ftn crayftn armflang"

for list in $lists; do
for p in $path; do
Expand Down Expand Up @@ -98,6 +98,10 @@ else
openmp='-fopenmp'
else
case "$compiler" in
*Arm F90*)
vendor=FLANG
openmp='-fopenmp'
;;
*flang*)
vendor=FLANG
openmp='-fopenmp'
Expand All @@ -108,7 +112,7 @@ else
if [ "$major" -ge 17 ]; then
vendor=FLANGNEW
fi
;;
;;
*ifort*|*ifx*)
vendor=INTEL
openmp='-fopenmp'
Expand Down

0 comments on commit 9c6b9bf

Please sign in to comment.