Set libva driver path in env on sles15 (#384)
[ROCm/rocdecode commit: 64fd81c413]
Bu işleme şunda yer alıyor:
@@ -26,17 +26,20 @@ def runCompileCommand(platform, project, jobName, boolean debug=false, boolean s
|
||||
def runTestCommand (platform, project) {
|
||||
|
||||
String libLocation = ''
|
||||
String libvaDriverPath = ""
|
||||
|
||||
if (platform.jenkinsLabel.contains('rhel')) {
|
||||
libLocation = ':/usr/local/lib'
|
||||
}
|
||||
else if (platform.jenkinsLabel.contains('sles')) {
|
||||
libLocation = ':/usr/local/lib'
|
||||
libvaDriverPath = "export LIBVA_DRIVERS_PATH=/opt/amdgpu/lib64/dri"
|
||||
}
|
||||
|
||||
def command = """#!/usr/bin/env bash
|
||||
set -ex
|
||||
export HOME=/home/jenkins
|
||||
${libvaDriverPath}
|
||||
echo make test
|
||||
cd ${project.paths.project_build_prefix}/build/release
|
||||
LD_LIBRARY_PATH=\$LD_LIBRARY_PATH:/opt/rocm/lib${libLocation} make test ARGS="-VV --rerun-failed --output-on-failure"
|
||||
|
||||
Yeni konuda referans
Bir kullanıcı engelle