diff options
author | Michał Górny <mgorny@gentoo.org> | 2017-01-12 11:35:39 +0100 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2017-01-12 16:25:23 +0100 |
commit | ff8ce32f1cf8e129d2ee9a7fd62adfb7478fe61d (patch) | |
tree | 958ec0c240032f08622ddd2969cc62155b1ec5bf /sys-devel/llvm/files/9999 | |
parent | f88aa1ddc5ca1e3ff2a671545ecf0207af636aa6 (diff) | |
download | gentoo-ff8ce32f1cf8e129d2ee9a7fd62adfb7478fe61d.tar.gz gentoo-ff8ce32f1cf8e129d2ee9a7fd62adfb7478fe61d.tar.xz |
sys-devel/llvm: Stop using custom build type in -9999
Switch -9999 to use standard CMAKE_BUILD_TYPE=RelWithDebInfo following
the eclass and sys-devel/cmake changes to make it non-intrusive
and Gentoo-friendly. This lets us skip hacking custom build type support
in, and get a more well-defined behavior upstream.
Diffstat (limited to 'sys-devel/llvm/files/9999')
-rw-r--r-- | sys-devel/llvm/files/9999/0006-cmake-Remove-the-CMAKE_BUILD_TYPE-assertion.patch | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/sys-devel/llvm/files/9999/0006-cmake-Remove-the-CMAKE_BUILD_TYPE-assertion.patch b/sys-devel/llvm/files/9999/0006-cmake-Remove-the-CMAKE_BUILD_TYPE-assertion.patch deleted file mode 100644 index 8a2c091edfb..00000000000 --- a/sys-devel/llvm/files/9999/0006-cmake-Remove-the-CMAKE_BUILD_TYPE-assertion.patch +++ /dev/null @@ -1,28 +0,0 @@ -From a2ecd4815d285281cb816e06b25dc0dc2a933073 Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= <mgorny@gentoo.org> -Date: Sun, 21 Aug 2016 23:13:45 +0200 -Subject: [PATCH 06/10] cmake: Remove the CMAKE_BUILD_TYPE assertion - ---- - CMakeLists.txt | 5 ----- - 1 file changed, 5 deletions(-) - -diff --git a/CMakeLists.txt b/CMakeLists.txt -index 894bc8c..453fcb8 100644 ---- a/CMakeLists.txt -+++ b/CMakeLists.txt -@@ -232,11 +232,6 @@ endif() - - string(TOUPPER "${CMAKE_BUILD_TYPE}" uppercase_CMAKE_BUILD_TYPE) - --if (CMAKE_BUILD_TYPE AND -- NOT uppercase_CMAKE_BUILD_TYPE MATCHES "^(DEBUG|RELEASE|RELWITHDEBINFO|MINSIZEREL)$") -- message(FATAL_ERROR "Invalid value for CMAKE_BUILD_TYPE: ${CMAKE_BUILD_TYPE}") --endif() -- - set(LLVM_LIBDIR_SUFFIX "" CACHE STRING "Define suffix of library directory name (32/64)" ) - - set(LLVM_TOOLS_INSTALL_DIR "bin" CACHE STRING "Path for binary subdirectory (defaults to 'bin')") --- -2.9.3 - |