Skip to content

Commit

Permalink
Fixing compile issues with rocm2.1 by disabling building with Werror (#…
Browse files Browse the repository at this point in the history
…41)

Although this fixes the compile issue, test 23 - rocprim.hc.device_scan still fails.
  • Loading branch information
saadrahim committed Jan 23, 2019
1 parent f225ee2 commit b714afb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit b714afb

Please sign in to comment.