Skip to content

Commit

Permalink
cmake: Suppress warnings on Cython output
Browse files Browse the repository at this point in the history
They are automatically generated code and we don't really control it.

Signed-off-by: Adam C. Emerson <[email protected]>
  • Loading branch information
adamemerson committed Nov 17, 2016
1 parent c068124 commit 4731433
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmake/modules/Distutils.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -41,11 +41,11 @@ function(distutils_add_cython_module name src)
CC=${PY_CC}
CXX=${PY_CXX}
LDSHARED=${PY_LDSHARED}
OPT=\"-DNDEBUG -g -fwrapv -O2 -Wall\"
OPT=\"-DNDEBUG -g -fwrapv -O2 -w\"
LDFLAGS=-L${CMAKE_LIBRARY_OUTPUT_DIRECTORY}
CYTHON_BUILD_DIR=${CMAKE_CURRENT_BINARY_DIR}
CEPH_LIBDIR=${CMAKE_LIBRARY_OUTPUT_DIRECTORY}
CFLAGS=\"-iquote${CMAKE_SOURCE_DIR}/src/include\"
CFLAGS=\"-iquote${CMAKE_SOURCE_DIR}/src/include -w\"
${PYTHON${PYTHON_VERSION}_EXECUTABLE} ${CMAKE_CURRENT_SOURCE_DIR}/setup.py
build --verbose --build-base ${CYTHON_MODULE_DIR}
--build-platlib ${CYTHON_MODULE_DIR}/lib.${PYTHON${PYTHON_VERSION}_VERSION_MAJOR}
Expand Down

0 comments on commit 4731433

Please sign in to comment.