From b714afbc0b020186b5e16c69b025ce86d6fba545 Mon Sep 17 00:00:00 2001 From: saadrahim <44449863+saadrahim@users.noreply.github.com> Date: Wed, 23 Jan 2019 16:30:21 -0700 Subject: [PATCH] Fixing compile issues with rocm2.1 by disabling building with Werror (#41) Although this fixes the compile issue, test 23 - rocprim.hc.device_scan still fails. --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index db8f466b7..d9a58e987 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -47,7 +47,7 @@ set(CMAKE_INSTALL_RPATH_USE_LINK_PATH TRUE CACHE BOOLEAN "Add paths to linker se include(cmake/VerifyCompiler.cmake) # Build option to disable -Werror -option(DISABLE_WERROR "Disable building with Werror" OFF) +option(DISABLE_WERROR "Disable building with Werror" ON) # Set CXX flags set(CMAKE_CXX_STANDARD 11)