[PATCH] D122814: Functionality Added to CMAKE
Priyansh Singh via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Mar 31 06:58:05 PDT 2022
ps-19 created this revision.
ps-19 added reviewers: aaron.ballman, ktkachov.
Herald added a subscriber: mgorny.
Herald added a project: All.
ps-19 requested review of this revision.
Herald added a project: LLVM.
Added functionality to CMAKE file. Added NONE as type to CMAKE_RELEASE.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D122814
Files:
llvm/CMakeLists.txt
Index: llvm/CMakeLists.txt
===================================================================
--- llvm/CMakeLists.txt
+++ llvm/CMakeLists.txt
@@ -291,7 +291,7 @@
string(TOUPPER "${CMAKE_BUILD_TYPE}" uppercase_CMAKE_BUILD_TYPE)
if (CMAKE_BUILD_TYPE AND
- NOT uppercase_CMAKE_BUILD_TYPE MATCHES "^(DEBUG|RELEASE|RELWITHDEBINFO|MINSIZEREL)$")
+ NOT uppercase_CMAKE_BUILD_TYPE MATCHES "^(NONE|DEBUG|RELEASE|RELWITHDEBINFO|MINSIZEREL)$")
message(FATAL_ERROR "Invalid value for CMAKE_BUILD_TYPE: ${CMAKE_BUILD_TYPE}")
endif()
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D122814.419434.patch
Type: text/x-patch
Size: 537 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220331/3f156668/attachment.bin>
More information about the llvm-commits
mailing list