python/stevedore: update to 5.4.0
[oi-userland.git] / components / developer / clang-18 / patches / 11-cmake_path.patch
blob4013f68eaf1709d91db415e7117f3ef072a61d3e
1 --- llvm-18.1.8.src/tools/clang/CMakeLists.txt.orig
2 +++ llvm-18.1.8.src/tools/clang/CMakeLists.txt
3 @@ -1,7 +1,7 @@
4 cmake_minimum_required(VERSION 3.20.0)
6 if(NOT DEFINED LLVM_COMMON_CMAKE_UTILS)
7 - set(LLVM_COMMON_CMAKE_UTILS ${CMAKE_CURRENT_SOURCE_DIR}/../cmake)
8 + set(LLVM_COMMON_CMAKE_UTILS ${CMAKE_CURRENT_SOURCE_DIR}/cmake)
9 endif()
10 include(${LLVM_COMMON_CMAKE_UTILS}/Modules/CMakePolicy.cmake
11 NO_POLICY_SCOPE)
12 --- llvm-18.1.8.src/CMakeLists.txt.orig
13 +++ llvm-18.1.8.src/CMakeLists.txt
14 @@ -2,7 +2,7 @@
16 cmake_minimum_required(VERSION 3.20.0)
18 -set(LLVM_COMMON_CMAKE_UTILS ${CMAKE_CURRENT_SOURCE_DIR}/../cmake)
19 +set(LLVM_COMMON_CMAKE_UTILS ${CMAKE_CURRENT_SOURCE_DIR}/cmake)
20 include(${LLVM_COMMON_CMAKE_UTILS}/Modules/CMakePolicy.cmake
21 NO_POLICY_SCOPE)
23 --- llvm-18.1.8.src/cmake/modules/HandleLLVMOptions.cmake.orig
24 +++ llvm-18.1.8.src/cmake/modules/HandleLLVMOptions.cmake
25 @@ -1365,7 +1365,7 @@
26 add_flag_if_supported("-no-canonical-prefixes" NO_CANONICAL_PREFIXES)
27 endif()
29 -set(LLVM_THIRD_PARTY_DIR ${CMAKE_CURRENT_SOURCE_DIR}/../third-party CACHE STRING
30 +set(LLVM_THIRD_PARTY_DIR ${CMAKE_CURRENT_SOURCE_DIR}/third-party CACHE STRING
31 "Directory containing third party software used by LLVM (e.g. googletest)")
33 set(LLVM_UNITTEST_LINK_FLAGS "" CACHE STRING