Skip to content

Commit

Permalink
Update common.groovy
Browse files Browse the repository at this point in the history
Updates for CentOS 7
  • Loading branch information
kiritigowda authored Oct 18, 2023
1 parent d239a91 commit 5e3b50b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .jenkins/common.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ 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 backend = 'HIP'
String enableSCL = 'echo build-rocAL'
String enableSCL = 'echo rocAL Build'
String libLocation = ''

if (platform.jenkinsLabel.contains('centos')) {
Expand All @@ -25,11 +25,11 @@ def runCompileCommand(platform, project, jobName, boolean debug=false, boolean s

def command = """#!/usr/bin/env bash
set -x
${enableSCL}
echo Build rocAL - ${buildTypeDir}
cd ${project.paths.project_build_prefix}
python rocAL-setup.py --backend ${backend}
mkdir -p build/${buildTypeDir} && cd build/${buildTypeDir}
${enableSCL}
cmake -DBACKEND=${backend} ${buildTypeArg} ../..
make -j\$(nproc)
sudo cmake --build . --target PyPackageInstall
Expand Down

0 comments on commit 5e3b50b

Please sign in to comment.