Browse Source

Support ArmCompilerforLinux as classic flang

pull/4436/head
Martin Kroeker GitHub 2 years ago
parent
commit
9c6b9bfb91
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 2 deletions
  1. +6
    -2
      f_check

+ 6
- 2
f_check View File

@@ -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
@@ -98,6 +98,10 @@ else
openmp='-fopenmp'
else
case "$compiler" in
*Arm F90*)
vendor=FLANG
openmp='-fopenmp'
;;
*flang*)
vendor=FLANG
openmp='-fopenmp'
@@ -108,7 +112,7 @@ else
if [ "$major" -ge 17 ]; then
vendor=FLANGNEW
fi
;;
;;
*ifort*|*ifx*)
vendor=INTEL
openmp='-fopenmp'


Loading…
Cancel
Save