Коммит
ad83a1609d
@ -102,14 +102,20 @@ AC_DEFUN([_OPAL_CHECK_COMPILER_VENDOR], [
|
|||||||
opal_check_compiler_vendor_result="unknown"
|
opal_check_compiler_vendor_result="unknown"
|
||||||
|
|
||||||
# GNU is probably the most common, so check that one as soon as
|
# GNU is probably the most common, so check that one as soon as
|
||||||
# possible. Intel pretends to be GNU, so need to check Intel
|
# possible. Intel and PGI18 pretends to be GNU, so need to check Intel
|
||||||
# before checking for GNU.
|
# and PGI before checking for GNU.
|
||||||
|
|
||||||
# Intel
|
# Intel
|
||||||
AS_IF([test "$opal_check_compiler_vendor_result" = "unknown"],
|
AS_IF([test "$opal_check_compiler_vendor_result" = "unknown"],
|
||||||
[OPAL_IF_IFELSE([defined(__INTEL_COMPILER) || defined(__ICC)],
|
[OPAL_IF_IFELSE([defined(__INTEL_COMPILER) || defined(__ICC)],
|
||||||
[opal_check_compiler_vendor_result="intel"])])
|
[opal_check_compiler_vendor_result="intel"])])
|
||||||
|
|
||||||
|
# Portland Group
|
||||||
|
AS_IF([test "$opal_check_compiler_vendor_result" = "unknown"],
|
||||||
|
[OPAL_IFDEF_IFELSE([__PGI],
|
||||||
|
[opal_check_compiler_vendor_result="portland group"])])
|
||||||
|
|
||||||
|
|
||||||
# Fujitsu
|
# Fujitsu
|
||||||
AS_IF([test "$opal_check_compiler_vendor_result" = "unknown"],
|
AS_IF([test "$opal_check_compiler_vendor_result" = "unknown"],
|
||||||
[OPAL_IF_IFELSE([defined(__FUJITSU)],
|
[OPAL_IF_IFELSE([defined(__FUJITSU)],
|
||||||
@ -243,11 +249,6 @@ AC_DEFUN([_OPAL_CHECK_COMPILER_VENDOR], [
|
|||||||
[OPAL_IFDEF_IFELSE([__POCC__],
|
[OPAL_IFDEF_IFELSE([__POCC__],
|
||||||
[opal_check_compiler_vendor_result="pelles"])])
|
[opal_check_compiler_vendor_result="pelles"])])
|
||||||
|
|
||||||
# Portland Group
|
|
||||||
AS_IF([test "$opal_check_compiler_vendor_result" = "unknown"],
|
|
||||||
[OPAL_IFDEF_IFELSE([__PGI],
|
|
||||||
[opal_check_compiler_vendor_result="portland group"])])
|
|
||||||
|
|
||||||
# SAS/C
|
# SAS/C
|
||||||
AS_IF([test "$opal_check_compiler_vendor_result" = "unknown"],
|
AS_IF([test "$opal_check_compiler_vendor_result" = "unknown"],
|
||||||
[OPAL_IF_IFELSE([defined(SASC) || defined(__SASC) || defined(__SASC__)],
|
[OPAL_IF_IFELSE([defined(SASC) || defined(__SASC) || defined(__SASC__)],
|
||||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user