This repository was archived by the owner on Apr 28, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +1
-5
lines changed Expand file tree Collapse file tree 1 file changed +1
-5
lines changed Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ message(STATUS "CMAKE_CXX_COMPILER_VERSION is ${CMAKE_CXX_COMPILER_VERSION}")
2020set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall" )
2121if (NOT CMAKE_CXX_COMPILER_VERSION VERSION_GREATER "5.4" )
2222 # we officially support these compiler flags for compiler version 5.4 or less
23- set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-unused-variable -Werror" )
23+ set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-unused-variable -Werror -Wno-sign-compare " )
2424endif ()
2525message (STATUS "CMAKE_CXX_FLAGS is ${CMAKE_CXX_FLAGS} " )
2626if (${CMAKE_BUILD_TYPE} MATCHES "Debug" )
@@ -170,10 +170,6 @@ message(STATUS "Found Halide.so file: ${HALIDE_LIBRARIES}")
170170
171171# Caffe2
172172if (WITH_CAFFE2)
173- # We suppress sign-compare error messages because caffe2 headers have these
174- # errors.
175- set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -Wno-sign-compare" )
176-
177173 # eigen - needed inside Caffe2 only
178174 # Caffe2 probably used its bundled Eigen (which it didn't install) in this case.
179175 message (WARNING "Couldn't find Eigen headers, assuming caffe2 used in-tree headers" )
You can’t perform that action at this time.
0 commit comments