summaryrefslogtreecommitdiff
path: root/libunwind
diff options
context:
space:
mode:
authorMark de Wever <koraq@xs4all.nl>2023-03-04 18:28:13 +0100
committerMark de Wever <koraq@xs4all.nl>2023-03-04 18:28:13 +0100
commit92523a35a827539db8557bbc3ecab7f9ea3f6ade (patch)
tree12470d10badc36a0bedd848cbaf0f9c4dab66179 /libunwind
parent2708869801ae00f4681f6b2d9d69b25b3fce26b6 (diff)
downloadllvm-92523a35a827539db8557bbc3ecab7f9ea3f6ade.tar.gz
Revert "[CMake] Bumps minimum version to 3.20.0."
Some build bots have not been updated to the new minimal CMake version. Reverting for now and ping the buildbot owners. This reverts commit 44c6b905f8527635e49bb3ea97dea315f92d38ec.
Diffstat (limited to 'libunwind')
-rw-r--r--libunwind/CMakeLists.txt2
-rw-r--r--libunwind/src/CMakeLists.txt3
2 files changed, 3 insertions, 2 deletions
diff --git a/libunwind/CMakeLists.txt b/libunwind/CMakeLists.txt
index bc667c8c8409..f82fa0a70eff 100644
--- a/libunwind/CMakeLists.txt
+++ b/libunwind/CMakeLists.txt
@@ -2,7 +2,7 @@
# Setup Project
#===============================================================================
-cmake_minimum_required(VERSION 3.20.0)
+cmake_minimum_required(VERSION 3.13.4)
set(LLVM_COMMON_CMAKE_UTILS "${CMAKE_CURRENT_SOURCE_DIR}/../cmake")
diff --git a/libunwind/src/CMakeLists.txt b/libunwind/src/CMakeLists.txt
index 275cabc2e169..df32e53d69e6 100644
--- a/libunwind/src/CMakeLists.txt
+++ b/libunwind/src/CMakeLists.txt
@@ -35,7 +35,8 @@ set(LIBUNWIND_ASM_SOURCES
# CMake doesn't work correctly with assembly on AIX. Workaround by compiling
# as C files as well.
if((APPLE AND CMAKE_VERSION VERSION_LESS 3.19) OR
- (MINGW AND CMAKE_VERSION VERSION_LESS 3.17))
+ (MINGW AND CMAKE_VERSION VERSION_LESS 3.17) OR
+ (${CMAKE_SYSTEM_NAME} MATCHES "AIX"))
set_source_files_properties(${LIBUNWIND_ASM_SOURCES} PROPERTIES LANGUAGE C)
endif()