Skip to content

Commit 787af05

Browse files
committed
Attempting to further suppress warnings for yosys-slang build
1 parent 09d5e6f commit 787af05

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

libs/EXTERNAL/CMakeLists.txt

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -104,18 +104,14 @@ if (${WITH_PARMYS})
104104
SOURCE_DIR ${SLANG_SRC_DIR}
105105
BINARY_DIR ${SLANG_BUILD_DIR}
106106

107-
#Suppress warnings in the slang build
108-
CMAKE_ARGS
109-
-DCMAKE_CXX_FLAGS="-w"
110-
111107
#Disabling UndrivenPass in slang_frontend.cc
112108
PATCH_COMMAND
113109
${CMAKE_COMMAND} -E echo "Patching slang_frontend.cc to disable UndrivenPass" &&
114110
${CMAKE_COMMAND} -DIN=${SLANG_FE} -P ${CMAKE_CURRENT_SOURCE_DIR}/patch_slang.cmake
115111

116112

117113
CONFIGURE_COMMAND
118-
${CMAKE_COMMAND} -DCMAKE_BUILD_TYPE=Release
114+
${CMAKE_COMMAND} -DCMAKE_BUILD_TYPE=Release -DCMAKE_CXX_FLAGS=-w
119115
-DYOSYS_CONFIG=${YOSYS_CONFIG_EXECUTABLE}
120116
${SLANG_SRC_DIR}
121117

0 commit comments

Comments
 (0)