Fixing hipcc location for CI (#47)

This commit is contained in:
gilbertlee-amd
2023-09-22 14:38:31 -06:00
committed by GitHub
parent c1ec0c8aaf
commit 46375b1c52
+4 -4
View File
@@ -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()}
@@ -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)