From d4e3dac5e6ceb1c8032e8320a027607707e8fbdc Mon Sep 17 00:00:00 2001 From: Eiden Yoshida <47196116+eidenyoshida@users.noreply.github.com> Date: Mon, 5 Feb 2024 12:34:06 -0700 Subject: [PATCH] CI: Remove setup steps (#218) --- .jenkins/common.groovy | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/.jenkins/common.groovy b/.jenkins/common.groovy index aa753d2f51..6dca11fa4e 100644 --- a/.jenkins/common.groovy +++ b/.jenkins/common.groovy @@ -6,21 +6,11 @@ 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 -y install amdgpu-dkms' - - if (platform.jenkinsLabel.contains('rhel')) { - installDKMS = 'sudo yum -y install amdgpu-dkms' - } - else if (platform.jenkinsLabel.contains('sles')) { - installDKMS = 'echo amdgpu-dkms not available' - } - + def command = """#!/usr/bin/env bash set -x echo Build rocDecode - ${buildTypeDir} cd ${project.paths.project_build_prefix} - ${installDKMS} - python rocDecode-setup.py mkdir -p build/${buildTypeDir} && cd build/${buildTypeDir} cmake ${buildTypeArg} ../.. make -j\$(nproc)