Skip to content

Commit

Permalink
ASAN env var
Browse files Browse the repository at this point in the history
  • Loading branch information
amd-garydeng committed Oct 8, 2024
1 parent 24fc221 commit fcbd342
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .jenkins/asan.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
1 change: 1 addition & 0 deletions .jenkins/common.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -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}
"""

Expand Down

0 comments on commit fcbd342

Please sign in to comment.