From 651f5bc2b0c775abda7a669bd02f6bf75b3e263e Mon Sep 17 00:00:00 2001 From: Sam Wu <22262939+samjwu@users.noreply.github.com> Date: Thu, 7 Nov 2024 15:28:20 -0700 Subject: [PATCH] Add rocm/llvm to path to include /opt/rocm/llvm/lib/cmake/clang/ClangConfig.cmake --- .jenkins/common.groovy | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.jenkins/common.groovy b/.jenkins/common.groovy index 4f1195be..bd5bf2bb 100644 --- a/.jenkins/common.groovy +++ b/.jenkins/common.groovy @@ -11,7 +11,7 @@ def runCompileCommand(platform, project, jobName, boolean debug=false, boolean s String buildStatic = staticLibrary ? '-DBUILD_SHARED_LIBS=OFF' : '-DBUILD_SHARED_LIBS=ON' String codeCovFlag = codeCoverage ? '-DCODE_COVERAGE=ON' : '' String cmake = platform.jenkinsLabel.contains('centos') ? 'cmake3' : 'cmake' - String cmakePrefixPath = '-DCMAKE_PREFIX_PATH=/opt/rocm/bin' + String cmakePrefixPath = '-DCMAKE_PREFIX_PATH=/opt/rocm;/opt/rocm/llvm;/opt/rocm/bin' //Set CI node's gfx arch as target if PR, otherwise use default targets of the library String amdgpuTargets = env.BRANCH_NAME.startsWith('PR-') ? '-DAMDGPU_TARGETS=\$gfx_arch' : ''