summaryrefslogtreecommitdiff
path: root/user/clang/0008-Fix-ClangConfig-cmake-LLVM-path.patch
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2022-07-30 17:12:36 -0500
committerZach van Rijn <me@zv.io>2022-10-21 18:34:02 -0500
commit7163fe25d573efef76ec37d14fe817c68cb337c8 (patch)
tree395d16300dc7698537de5efe006c520e868c76b1 /user/clang/0008-Fix-ClangConfig-cmake-LLVM-path.patch
parent6f4957d93be4abd7447f46e1dfc49c6eee1ba3ed (diff)
downloadpackages-7163fe25d573efef76ec37d14fe817c68cb337c8.tar.gz
packages-7163fe25d573efef76ec37d14fe817c68cb337c8.tar.bz2
packages-7163fe25d573efef76ec37d14fe817c68cb337c8.tar.xz
packages-7163fe25d573efef76ec37d14fe817c68cb337c8.zip
user/clang: Update to 14.0.6
Diffstat (limited to 'user/clang/0008-Fix-ClangConfig-cmake-LLVM-path.patch')
-rw-r--r--user/clang/0008-Fix-ClangConfig-cmake-LLVM-path.patch25
1 files changed, 0 insertions, 25 deletions
diff --git a/user/clang/0008-Fix-ClangConfig-cmake-LLVM-path.patch b/user/clang/0008-Fix-ClangConfig-cmake-LLVM-path.patch
deleted file mode 100644
index f1c1c2449..000000000
--- a/user/clang/0008-Fix-ClangConfig-cmake-LLVM-path.patch
+++ /dev/null
@@ -1,25 +0,0 @@
-From: Adeel <adeelbm@outlook.com>
-Date: Sun, 6 May 2018 10:22:00 +0200
-Subject: [PATCH] Fix ClangConfig.cmake to look for LLVM-Config.cmake in correct location
-
-This results in the following change in the generated ClangConfig.cmake:
-
- find_package(LLVM REQUIRED CONFIG
- - HINTS "${CLANG_INSTALL_PREFIX}/lib/cmake/llvm")
- + HINTS "/usr/lib/llvm5/lib/cmake/llvm")
-
-This is needed e.g. for building lldb.
-
-See https://github.com/alpinelinux/aports/pull/2342 for more information.
-
---- a/cmake/modules/CMakeLists.txt
-+++ b/cmake/modules/CMakeLists.txt
-@@ -39,7 +39,7 @@ foreach(p ${_count})
- get_filename_component(CLANG_INSTALL_PREFIX \"\${CLANG_INSTALL_PREFIX}\" PATH)")
- endforeach(p)
- set(CLANG_CONFIG_CMAKE_DIR "\${CLANG_INSTALL_PREFIX}/${CLANG_INSTALL_PACKAGE_DIR}")
--set(CLANG_CONFIG_LLVM_CMAKE_DIR "\${CLANG_INSTALL_PREFIX}/${LLVM_INSTALL_PACKAGE_DIR}")
-+set(CLANG_CONFIG_LLVM_CMAKE_DIR "${llvm_cmake_builddir}")
- set(CLANG_CONFIG_EXPORTS_FILE "\${CLANG_CMAKE_DIR}/ClangTargets.cmake")
- set(CLANG_CONFIG_INCLUDE_DIRS
- "\${CLANG_INSTALL_PREFIX}/include"