[libcxx-commits] [libcxx] 72fe14d - [libcxx] [cmake] Add asm to the runtimes build languages
Martin Storsjö via libcxx-commits
libcxx-commits at lists.llvm.org
Thu Feb 25 14:11:11 PST 2021
Author: Martin Storsjö
Date: 2021-02-26T00:10:48+02:00
New Revision: 72fe14d40a527465deb76c9b2241297635fd45bf
URL: https://github.com/llvm/llvm-project/commit/72fe14d40a527465deb76c9b2241297635fd45bf
DIFF: https://github.com/llvm/llvm-project/commit/72fe14d40a527465deb76c9b2241297635fd45bf.diff
LOG: [libcxx] [cmake] Add asm to the runtimes build languages
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.)
Differential Revision: https://reviews.llvm.org/D97399
Added:
Modified:
libcxx/utils/ci/runtimes/CMakeLists.txt
Removed:
################################################################################
diff --git a/libcxx/utils/ci/runtimes/CMakeLists.txt b/libcxx/utils/ci/runtimes/CMakeLists.txt
index ab4182ae949e..8a7e2a9a41a9 100644
--- a/libcxx/utils/ci/runtimes/CMakeLists.txt
+++ b/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)
More information about the libcxx-commits
mailing list