Browse Source

distinguish classic flang from flang-new in name based recognition

pull/5103/head
Martin Kroeker GitHub 1 year ago
parent
commit
d795a1a1e1
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
1 changed files with 8 additions and 1 deletions
  1. +8
    -1
      f_check

+ 8
- 1
f_check View File

@@ -244,7 +244,14 @@ else
openmp='-mp'
;;
*flang*)
vendor=FLANGNEW
vendor=FLANG
data=`$compiler -v 2>&1 > /dev/null`
v="${data#*version *}"
v="${v%%*.}"
major="${v%%.*}"
if [ "$major" -ge 17 ]; then
vendor=FLANGNEW
fi
bu=_
openmp='-fopenmp'
;;


Loading…
Cancel
Save