Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Asan Setup and Settings Map #558

Draft
wants to merge 26 commits into
base: develop
Choose a base branch
from
Draft
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix syntax
  • Loading branch information
amd-garydeng committed Oct 7, 2024
commit e43e3737bfb6c5071108005bd391976d45b27082
20 changes: 10 additions & 10 deletions .jenkins/common.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 21,12 @@ def runCompileCommand(platform, project, jobName, settings)
set -x
${xnackToggle}
rocminfo
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/opt/rocm/llvm/lib/clang/18/lib/linux
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/opt/rocm/lib
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/opt/rocm/libexec/rocm_smi
export LD_LIBRARY_PATH=:/opt/rocm/llvm/lib/clang/18/lib/linux
export LD_LIBRARY_PATH=:/opt/rocm/lib
export LD_LIBRARY_PATH=:/opt/rocm/libexec/rocm_smi
export ASAN_SYMBOLIZER_PATH=/opt/rocm/llvm/bin/llvm-symbolizer
export PATH=/opt/rocm/llvm/bin/:$PATH
export PATH=/opt/rocm/:$PATH
export PATH=/opt/rocm/llvm/bin
export PATH=/opt/rocm
export HSA_XNACK=1
cd ${project.paths.project_build_prefix}
# gfxTargetParser reads gfxarch and adds target features such as xnack
Expand All @@ -51,12 51,12 @@ def runTestCommand (platform, project, settings)
def command = """#!/usr/bin/env bash
set -x
cd ${project.paths.project_build_prefix}/build/release
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/opt/rocm/llvm/lib/clang/18/lib/linux
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/opt/rocm/lib
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/opt/rocm/libexec/rocm_smi
export LD_LIBRARY_PATH=:/opt/rocm/llvm/lib/clang/18/lib/linux
export LD_LIBRARY_PATH=:/opt/rocm/lib
export LD_LIBRARY_PATH=:/opt/rocm/libexec/rocm_smi
export ASAN_SYMBOLIZER_PATH=/opt/rocm/llvm/bin/llvm-symbolizer
export PATH=/opt/rocm/llvm/bin/:$PATH
export PATH=/opt/rocm/:$PATH
export PATH=/opt/rocm/llvm/bin/:
export PATH=/opt/rocm/:
export HSA_XNACK=1
make -j4
${LD_PATH}
Expand Down
Loading