From 539074fe04bb758a890a32e3583a56e89b63fc0e Mon Sep 17 00:00:00 2001 From: Kiriti Gowda Date: Tue, 9 Jan 2024 12:28:09 -0800 Subject: [PATCH] Jenkins - Fix install (#158) [ROCm/rocdecode commit: 18a4cd0fc1a27a7b527e9724b1482ca57c9b2ad6] --- projects/rocdecode/.jenkins/common.groovy | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/projects/rocdecode/.jenkins/common.groovy b/projects/rocdecode/.jenkins/common.groovy index 6d33aa993e..7bce602982 100644 --- a/projects/rocdecode/.jenkins/common.groovy +++ b/projects/rocdecode/.jenkins/common.groovy @@ -6,13 +6,13 @@ def runCompileCommand(platform, project, jobName, boolean debug=false, boolean s String buildTypeArg = debug ? '-DCMAKE_BUILD_TYPE=Debug' : '-DCMAKE_BUILD_TYPE=Release' String buildTypeDir = debug ? 'debug' : 'release' - String installDKMS = 'sudo apt install amdgpu-dkms' + String installDKMS = 'sudo apt -y install amdgpu-dkms' if (platform.jenkinsLabel.contains('rhel')) { - installDKMS = 'sudo yum install amdgpu-dkms' + installDKMS = 'sudo yum -y install amdgpu-dkms' } else if (platform.jenkinsLabel.contains('sles')) { - installDKMS = 'sudo zypper install amdgpu-dkms' + installDKMS = 'sudo zypper -n install amdgpu-dkms' } def command = """#!/usr/bin/env bash