[libcxx-commits] [PATCH] D97399: [libcxx] [cmake] Add asm to the runtimes build languages
Martin Storsjö via Phabricator via libcxx-commits
libcxx-commits at lists.llvm.org
Wed Feb 24 09:45:44 PST 2021
mstorsjo created this revision.
mstorsjo added a reviewer: ldionne.
Herald added subscribers: arichardson, mgorny.
mstorsjo requested review of this revision.
Herald added a project: libc++.
Herald added a reviewer: libc++.
This fixes building libunwind with a new enough version of cmake.
(libunwind treats its asm sources as C depending on the cmake version on some platforms; this fixes builds when such workarounds aren't used, when cmake treats asm correctly on its own.)
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D97399
Files:
libcxx/utils/ci/runtimes/CMakeLists.txt
Index: libcxx/utils/ci/runtimes/CMakeLists.txt
===================================================================
--- libcxx/utils/ci/runtimes/CMakeLists.txt
+++ libcxx/utils/ci/runtimes/CMakeLists.txt
@@ -1,5 +1,5 @@
cmake_minimum_required(VERSION 3.13.4)
-project(LLVM_RUNTIMES)
+project(LLVM_RUNTIMES C CXX ASM)
set(CMAKE_BUILD_WITH_INSTALL_NAME_DIR ON)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D97399.326123.patch
Type: text/x-patch
Size: 364 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20210224/22dcd577/attachment.bin>
More information about the libcxx-commits
mailing list