From d9a59b3cc011fbab5a489c9f80a9293a3779af6d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jean-No=C3=ABl=20Grad?= Date: Sat, 14 Mar 2020 23:52:59 +0100 Subject: [PATCH] Remove HIP compiler flags for Debug Flags -Og and -g (or both) cause test ek_fluctuations to fail. --- cmake/FindCUDACompilerHIP.cmake | 1 - 1 file changed, 1 deletion(-) diff --git a/cmake/FindCUDACompilerHIP.cmake b/cmake/FindCUDACompilerHIP.cmake index 0704b34559e..a29d1c3b027 100644 --- a/cmake/FindCUDACompilerHIP.cmake +++ b/cmake/FindCUDACompilerHIP.cmake @@ -40,7 +40,6 @@ if(WARNINGS_ARE_ERRORS) list(APPEND HIP_HCC_FLAGS "-Werror") endif() -set(HIP_HIPCC_FLAGS_DEBUG "${HIP_HIPCC_FLAGS_DEBUG} -Og -g") set(HIP_HIPCC_FLAGS_RELEASE "${HIP_HIPCC_FLAGS_RELEASE} -O3 -DNDEBUG") set(HIP_HIPCC_FLAGS_MINSIZEREL "${HIP_HIPCC_FLAGS_MINSIZEREL} -O2 -DNDEBUG") set(HIP_HIPCC_FLAGS_RELWITHDEBINFO "${HIP_HIPCC_FLAGS_RELWITHDEBINFO} -O2 -g -DNDEBUG")