[PATCH] D98374: [test-suite] SPEC2017 CPU CAM4 portability updates.
Nichols A. Romero via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Mar 12 11:28:06 PST 2021
naromero77 updated this revision to Diff 330317.
naromero77 added a comment.
- Use standard convention for feature-test variables.
- Only add CMake Utility Modules that are actually used.
Repository:
rT test-suite
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D98374/new/
https://reviews.llvm.org/D98374
Files:
External/SPEC/CFP2017rate/527.cam4_r/CMakeLists.txt
Index: External/SPEC/CFP2017rate/527.cam4_r/CMakeLists.txt
===================================================================
--- External/SPEC/CFP2017rate/527.cam4_r/CMakeLists.txt
+++ External/SPEC/CFP2017rate/527.cam4_r/CMakeLists.txt
@@ -571,8 +571,8 @@
zenith.F90
)
-check_fortran_compiler_flag("-fallow-argument-mismatch" ALLOW_MISMATCH)
-if (ALLOW_MISMATCH)
+check_fortran_compiler_flag("-fallow-argument-mismatch" SUPPORTS_FALLOW_ARGUMENT_MISMATCH)
+if (SUPPORTS_FALLOW_ARGUMENT_MISMATCH)
target_compile_options(${PROG} PRIVATE $<$<COMPILE_LANGUAGE:Fortran>:-fallow-argument-mismatch>)
endif ()
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D98374.330317.patch
Type: text/x-patch
Size: 616 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210312/db436ba1/attachment.bin>
More information about the llvm-commits
mailing list