aboutsummaryrefslogtreecommitdiffstats
path: root/main/clang/0008-Fix-ClangConfig-cmake-LLVM-path.patch
diff options
context:
space:
mode:
authorEric Molitor <eric@molitor.org>2019-01-06 13:24:53 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2019-03-22 12:12:49 +0000
commit09ed5f798886f450d1c66f0af50111e54e3c8870 (patch)
tree2f35e0dae5a00d4c132ef62144868f2bb09b97be /main/clang/0008-Fix-ClangConfig-cmake-LLVM-path.patch
parent97b9b33cc972af740609863df4142c1e2a3238b8 (diff)
downloadaports-09ed5f798886f450d1c66f0af50111e54e3c8870.tar.bz2
aports-09ed5f798886f450d1c66f0af50111e54e3c8870.tar.xz
main/clang: upgrade to 7.0.1
Diffstat (limited to 'main/clang/0008-Fix-ClangConfig-cmake-LLVM-path.patch')
-rw-r--r--main/clang/0008-Fix-ClangConfig-cmake-LLVM-path.patch25
1 files changed, 0 insertions, 25 deletions
diff --git a/main/clang/0008-Fix-ClangConfig-cmake-LLVM-path.patch b/main/clang/0008-Fix-ClangConfig-cmake-LLVM-path.patch
deleted file mode 100644
index f1c1c24499..0000000000
--- a/main/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"