projects
/
platform
/
upstream
/
openblas.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
93843c5
)
Fix AMD AOCC compiler detection
author
Martin Kroeker
<martin@ruby.chemie.uni-freiburg.de>
Mon, 1 Mar 2021 20:00:10 +0000
(21:00 +0100)
committer
GitHub
<noreply@github.com>
Mon, 1 Mar 2021 20:00:10 +0000
(21:00 +0100)
Makefile.system
patch
|
blob
|
history
diff --git
a/Makefile.system
b/Makefile.system
index
848c387
..
91a0785
100644
(file)
--- a/
Makefile.system
+++ b/
Makefile.system
@@
-904,8
+904,8
@@
CCOMMON_OPT += -DF_INTERFACE_FLANG
FCOMMON_OPT += -Mrecursive -Kieee
ifeq ($(OSNAME), Linux)
ifeq ($(ARCH), x86_64)
-FLANG_VENDOR := $(shell
`$(FC) --version|cut -f 1 -d "."|head -1`
)
-ifeq ($(FLANG_VENDOR),
AOCC
)
+FLANG_VENDOR := $(shell
$(FC) --version|head -1 |cut -f 1 -d " "
)
+ifeq ($(FLANG_VENDOR),
AMD
)
FCOMMON_OPT += -fno-unroll-loops
endif
endif