This is an archive of the discontinued LLVM Phabricator instance.

[CMake] Add missing CheckCSourceCompiles include
ClosedPublic

Authored by thesamesam on Jun 10 2023, 8:46 AM.

Details

Summary

Fails with cmake-3.27_rc1 otherwise:

CMake Error at /var/tmp/portage/sys-libs/libcxxabi-17.0.0_pre20230609/work/llvm/cmake/modules/HandleLLVMOptions.cmake:821 (CHECK_C_SOURCE_COMPILES):
  Unknown CMake command "CHECK_C_SOURCE_COMPILES".
Call Stack (most recent call first):
  CMakeLists.txt:156 (include)

Needed for CHECK_C_SOURCE_COMPILES.

Bug: https://bugs.gentoo.org/908233

Diff Detail

Event Timeline

thesamesam created this revision.Jun 10 2023, 8:46 AM
Herald added a project: Restricted Project. · View Herald TranscriptJun 10 2023, 8:46 AM
Herald added a subscriber: ekilmer. · View Herald Transcript
thesamesam requested review of this revision.Jun 10 2023, 8:46 AM
Herald added a project: Restricted Project. · View Herald TranscriptJun 10 2023, 8:46 AM
mgorny accepted this revision.Jun 10 2023, 11:19 AM

LGTM. Thanks!

This revision is now accepted and ready to land.Jun 10 2023, 11:19 AM
This revision was landed with ongoing or failed builds.Jun 10 2023, 11:21 AM
This revision was automatically updated to reflect the committed changes.