diff --git a/.jenkins/asan.groovy b/.jenkins/asan.groovy index 71fbc01c..844f94d2 100644 --- a/.jenkins/asan.groovy +++ b/.jenkins/asan.groovy @@ -14,7 +14,9 @@ def runCI = def commonGroovy - def settings = [addressSanitizer: true] + def settings = [ + addressSanitizer: true + settings.cmakeDefines["CMAKE_CXX_COMPILER"]="/opt/rocm/bin/amdclang++"] boolean formatCheck = false diff --git a/.jenkins/common.groovy b/.jenkins/common.groovy index 9f71f01f..c24b4226 100644 --- a/.jenkins/common.groovy +++ b/.jenkins/common.groovy @@ -57,6 +57,7 @@ def runTestCommand (platform, project, settings) export PATH=/opt/rocm/llvm/bin/:\$PATH export PATH=/opt/rocm/:\$PATH export HSA_XNACK=1 + ASAN_OPTIONS=detect_leaks=0 ${sudo} ${testCommand} """