[compiler-rt] r278728 - [CMake] Renaming test variable to be consistent
Chris Bieneman via llvm-commits
llvm-commits at lists.llvm.org
Mon Aug 15 13:12:43 PDT 2016
Author: cbieneman
Date: Mon Aug 15 15:12:43 2016
New Revision: 278728
URL: http://llvm.org/viewvc/llvm-project?rev=278728&view=rev
Log:
[CMake] Renaming test variable to be consistent
Based on post-commit review by compnerd.
Modified:
compiler-rt/trunk/cmake/builtin-config-ix.cmake
compiler-rt/trunk/lib/builtins/CMakeLists.txt
Modified: compiler-rt/trunk/cmake/builtin-config-ix.cmake
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/cmake/builtin-config-ix.cmake?rev=278728&r1=278727&r2=278728&view=diff
==============================================================================
--- compiler-rt/trunk/cmake/builtin-config-ix.cmake (original)
+++ compiler-rt/trunk/cmake/builtin-config-ix.cmake Mon Aug 15 15:12:43 2016
@@ -15,7 +15,7 @@ builtin_check_c_compiler_flag(-mfloat-ab
builtin_check_c_compiler_flag(-mfloat-abi=hard COMPILER_RT_HAS_FLOAT_ABI_HARD_FLAG)
builtin_check_c_compiler_flag(-static COMPILER_RT_HAS_STATIC_FLAG)
-builtin_check_c_compiler_source(COMPILER_RT_SUPPORTS_ATOMIC_KEYWORD
+builtin_check_c_compiler_source(COMPILER_RT_HAS_ATOMIC_KEYWORD
"
int foo(int x, int y) {
_Atomic int result = x * y;
Modified: compiler-rt/trunk/lib/builtins/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/builtins/CMakeLists.txt?rev=278728&r1=278727&r2=278728&view=diff
==============================================================================
--- compiler-rt/trunk/lib/builtins/CMakeLists.txt (original)
+++ compiler-rt/trunk/lib/builtins/CMakeLists.txt Mon Aug 15 15:12:43 2016
@@ -164,7 +164,7 @@ set(GENERIC_SOURCES
umodsi3.c
umodti3.c)
-if(COMPILER_RT_SUPPORTS_ATOMIC_KEYWORD)
+if(COMPILER_RT_HAS_ATOMIC_KEYWORD)
set(GENERIC_SOURCES
${GENERIC_SOURCES}
atomic.c)
More information about the llvm-commits
mailing list