[PATCH] D152619: [CMake] Fixes using CMake 3.27.0.

Mark de Wever via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Jun 10 04:48:11 PDT 2023


Mordante created this revision.
Mordante added reviewers: mgorny, kwk.
Herald added a subscriber: ekilmer.
Herald added a project: All.
Mordante requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

Testing libc++ with CMake 3.27.0-rc1 fails. It seems some of the modules
used in CMake are not included.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D152619

Files:
  llvm/cmake/modules/HandleLLVMOptions.cmake


Index: llvm/cmake/modules/HandleLLVMOptions.cmake
===================================================================
--- llvm/cmake/modules/HandleLLVMOptions.cmake
+++ llvm/cmake/modules/HandleLLVMOptions.cmake
@@ -10,7 +10,9 @@
 include(CheckProblematicConfigurations)
 include(HandleLLVMStdlib)
 include(CheckCCompilerFlag)
+include(CheckCSourceCompiles)
 include(CheckCXXCompilerFlag)
+include(CheckCXXSourceCompiles)
 include(CheckSymbolExists)
 include(CMakeDependentOption)
 include(LLVMProcessSources)


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D152619.530197.patch
Type: text/x-patch
Size: 510 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230610/2ffa1296/attachment-0001.bin>


More information about the llvm-commits mailing list