[PATCH] D69410: [compiler-rt] cmake: add include include(BuiltinTests)

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


plotfi created this revision.
plotfi added reviewers: compnerd, beanz.
Herald added subscribers: llvm-commits, Sanitizers, mgorny, dberris.
Herald added projects: Sanitizers, LLVM.

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.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D69410

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


Index: compiler-rt/cmake/Modules/CompilerRTDarwinUtils.cmake
===================================================================
--- compiler-rt/cmake/Modules/CompilerRTDarwinUtils.cmake
+++ 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")
 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D69410.226333.patch
Type: text/x-patch
Size: 403 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20191024/8e3a8a25/attachment.bin>


More information about the llvm-commits mailing list