Skip to content

Commit

Permalink
Fixing hipcc location for CI (#47)
Browse files Browse the repository at this point in the history
  • Loading branch information
gilbertlee-amd authored Sep 22, 2023
1 parent c1ec0c8 commit 46375b1
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .jenkins/common.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ def runCompileCommand(platform, project, jobName)
${auxiliary.exitIfNotSuccess()}
cd ${project.paths.project_build_prefix}
cmake \
-DCMAKE_CXX_COMPILER=/opt/rocm/hip/bin/hipcc \
-DCMAKE_CXX_COMPILER=/opt/rocm/bin/hipcc \
-S . -B build
make -C build -j\$(nproc)
${auxiliary.exitIfNotSuccess()}
Expand All @@ -30,9 +30,9 @@ def runTestCommand (platform, project)
def command = """#!/usr/bin/env bash
set -x
cd ${project.paths.project_build_prefix}
python3 -m pip install --upgrade pytest
python3 -m pytest --version
python3 -m pytest -k "not MPI and not host and not fine" --verbose --junitxml=./testreport.xml
python3 -m pip install --upgrade pytest
python3 -m pytest --version
python3 -m pytest -k "not MPI and not host and not fine" --verbose --junitxml=./testreport.xml
"""

platform.runCommand(this, command)
Expand Down

0 comments on commit 46375b1

Please sign in to comment.