[PATCH] D85465: [flang] Remove extra CMAKE_CXX_FLAGS in Lower and Optimizer
Tim Keith via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Aug 6 12:13:36 PDT 2020
tskeith created this revision.
tskeith added reviewers: klausler, PeteSteinfeld, schweitz, sscalpone.
tskeith added a project: Flang.
Herald added subscribers: llvm-commits, mgorny.
Herald added a reviewer: jdoerfert.
Herald added a reviewer: DavidTruby.
Herald added a project: LLVM.
tskeith requested review of this revision.
`-Wno-error` and `-Wno-unused-parameter` appear to no longer be needed
for Lower and Optimizer.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D85465
Files:
flang/lib/Lower/CMakeLists.txt
flang/lib/Optimizer/CMakeLists.txt
Index: flang/lib/Optimizer/CMakeLists.txt
===================================================================
--- flang/lib/Optimizer/CMakeLists.txt
+++ flang/lib/Optimizer/CMakeLists.txt
@@ -1,4 +1,3 @@
-set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-unused-parameter -Wno-error")
get_property(dialect_libs GLOBAL PROPERTY MLIR_DIALECT_LIBS)
add_flang_library(FIROptimizer
Index: flang/lib/Lower/CMakeLists.txt
===================================================================
--- flang/lib/Lower/CMakeLists.txt
+++ flang/lib/Lower/CMakeLists.txt
@@ -1,4 +1,3 @@
-set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-error -Wno-unused-parameter")
get_property(dialect_libs GLOBAL PROPERTY MLIR_DIALECT_LIBS)
add_flang_library(FortranLower
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D85465.283700.patch
Type: text/x-patch
Size: 740 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200806/7719d936/attachment.bin>
More information about the llvm-commits
mailing list