diff --git a/cmake/flags.cmake b/cmake/flags.cmake index d00a9bb3a30cfb16623e073414088059481c3e1a..065325d79568d8d52adbd4f39fc0a673763df151 100644 --- a/cmake/flags.cmake +++ b/cmake/flags.cmake @@ -115,7 +115,8 @@ set(COMMON_FLAGS -Wno-error=literal-suffix -Wno-error=sign-compare -Wno-error=unused-local-typedefs - -Wno-error=parentheses-equality # Warnings in Pybind11 + -Wno-error=parentheses-equality # Warnings in pybind11 + --expt-relaxed-constexpr # surppress warnings in Eigen ) set(GPU_COMMON_FLAGS @@ -130,6 +131,7 @@ set(GPU_COMMON_FLAGS -Wno-error=unused-local-typedefs -Wno-error=unused-function # Warnings in Numpy Header. -Wno-error=array-bounds # Warnings in Eigen::array + --expt-relaxed-constexpr # surppress warnings in Eigen ) if (APPLE)