Add Fujitsu compiler detection
The Fujitsu C/C++ compilers are the default ones for K computer. Detect both native and cross compilers by looking for the __FUJITSU preprocessor definition.
This commit is contained in:
parent
ffc1935a73
commit
0578c283e8
|
@ -74,6 +74,7 @@ function(compiler_id_detection outvar lang)
|
|||
PGI
|
||||
Cray
|
||||
TI
|
||||
Fujitsu
|
||||
)
|
||||
if (lang STREQUAL C)
|
||||
list(APPEND ordered_compilers
|
||||
|
|
|
@ -0,0 +1,2 @@
|
|||
|
||||
set(_compiler_id_pp_test "defined(__FUJITSU) || defined(__FCC_VERSION) || defined(__fcc_version)")
|
Loading…
Reference in New Issue