[compiler-rt] bc58e02 - [compiler-rt] cmake: add include(BuiltinTests) to CompilerRTDarwinUtils

Puyan Lotfi via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 24 15:39:24 PDT 2019


Author: Puyan Lotfi
Date: 2019-10-24T18:38:25-04:00
New Revision: bc58e0279b75402be1907b96fac89e12ed326590

URL: https://github.com/llvm/llvm-project/commit/bc58e0279b75402be1907b96fac89e12ed326590
DIFF: https://github.com/llvm/llvm-project/commit/bc58e0279b75402be1907b96fac89e12ed326590.diff

LOG: [compiler-rt] cmake: add include(BuiltinTests) to CompilerRTDarwinUtils

In cmake, if TEST_COMPILE_ONLY is set
compiler-rt/cmake/Modules/CompilerRTDarwinUtils.cmake invokes try_compile_only()
but try_compile_only() is defined in BuiltinTests.cmake and is not included in
CompilerRTDarwinUtils.cmake. This patch simply includes it BuiltinTests.

Differential Revision: https://reviews.llvm.org/D69410

Added: 
    

Modified: 
    compiler-rt/cmake/Modules/CompilerRTDarwinUtils.cmake

Removed: 
    


################################################################################
diff  --git a/compiler-rt/cmake/Modules/CompilerRTDarwinUtils.cmake b/compiler-rt/cmake/Modules/CompilerRTDarwinUtils.cmake
index 27abe6c9ee56..4667cc004823 100644
--- a/compiler-rt/cmake/Modules/CompilerRTDarwinUtils.cmake
+++ b/compiler-rt/cmake/Modules/CompilerRTDarwinUtils.cmake
@@ -1,5 +1,6 @@
 include(CMakeParseArguments)
 include(CompilerRTUtils)
+include(BuiltinTests)
 
 set(CMAKE_LIPO "lipo" CACHE PATH "path to the lipo tool")
 


        


More information about the llvm-commits mailing list