Skip to content

Commit ec46ca7

Browse files
authored
Support Arm Compiler for Linux as classic flang (#4436)
* Support ArmCompilerforLinux as classic flang
1 parent 452741b commit ec46ca7

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

f_check

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ if [ -z "$compiler" ]; then
4545
pathf90 pathf95
4646
pgf95 pgf90 pgf77 pgfortran nvfortran
4747
flang egfortran
48-
ifort nagfor ifx ftn crayftn"
48+
ifort nagfor ifx ftn crayftn armflang"
4949

5050
for list in $lists; do
5151
for p in $path; do
@@ -85,7 +85,11 @@ else
8585
*Hewlett*)
8686
vendor=CRAY
8787
openmp='-fopenmp'
88-
;;
88+
;;
89+
*Arm\ F90*)
90+
vendor=FLANG
91+
openmp='-fopenmp'
92+
;;
8993
*GNU*|*GCC*)
9094

9195
v="${data#*GCC: *\) }"
@@ -108,7 +112,7 @@ else
108112
if [ "$major" -ge 17 ]; then
109113
vendor=FLANGNEW
110114
fi
111-
;;
115+
;;
112116
*ifort*|*ifx*)
113117
vendor=INTEL
114118
openmp='-fopenmp'

0 commit comments

Comments
 (0)