mirror of
https://github.com/ROCm/composable_kernel.git
synced 2026-06-30 11:47:48 +00:00
Disable werror for jit_library
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
if (CK_BUILD_JIT_LIB)
|
||||
remove_definitions(-Wglobal-constructors)
|
||||
string(REPLACE "-Werror;" "" CMAKE_COMPILER_WARNINGS "${CMAKE_COMPILER_WARNINGS}")
|
||||
add_subdirectory(src/jit_library)
|
||||
add_definitions(-Wglobal-constructors)
|
||||
set(CMAKE_COMPILER_WARNINGS "${CMAKE_COMPILER_WARNINGS};-Werror")
|
||||
else()
|
||||
add_subdirectory(src/tensor_operation_instance/gpu)
|
||||
add_subdirectory(src/utility)
|
||||
|
||||
Reference in New Issue
Block a user