]> git.pld-linux.org Git - packages/llvm.git/blob - cmake-buildtype.patch
Release 2 (by relup.sh)
[packages/llvm.git] / cmake-buildtype.patch
1 diff -urNp -x '*.orig' llvm-11.0.1.src.org/CMakeLists.txt llvm-11.0.1.src/CMakeLists.txt
2 --- llvm-11.0.1.src.org/CMakeLists.txt  2021-03-25 22:28:14.616795886 +0100
3 +++ llvm-11.0.1.src/CMakeLists.txt      2021-03-25 22:28:19.786759915 +0100
4 @@ -264,11 +264,6 @@ endif()
5  
6  string(TOUPPER "${CMAKE_BUILD_TYPE}" uppercase_CMAKE_BUILD_TYPE)
7  
8 -if (CMAKE_BUILD_TYPE AND
9 -    NOT uppercase_CMAKE_BUILD_TYPE MATCHES "^(DEBUG|RELEASE|RELWITHDEBINFO|MINSIZEREL)$")
10 -  message(FATAL_ERROR "Invalid value for CMAKE_BUILD_TYPE: ${CMAKE_BUILD_TYPE}")
11 -endif()
12 -
13  set(LLVM_LIBDIR_SUFFIX "" CACHE STRING "Define suffix of library directory name (32/64)" )
14  
15  set(LLVM_TOOLS_INSTALL_DIR "bin" CACHE STRING "Path for binary subdirectory (defaults to 'bin')")
This page took 0.049093 seconds and 3 git commands to generate.