Skip to content

Commit 092caad

Browse files
Merge branch 'master' of github.com:KernelTuner/kernel_tuner into add-ncu-observer
2 parents 7bb58c3 + dae9e8e commit 092caad

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.github/workflows/test-python-package.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,11 @@ on:
1717
jobs:
1818
build:
1919
name: Test on ${{ matrix.os }} with all supported Python versions
20-
runs-on: ${{ format('{0}-latest', matrix.os) }} # "-latest" is added here so we can use OS in the format expected by CodeCov
20+
runs-on: ${{ format('{0}', matrix.os) }} # "-latest" is added here so we can use OS in the format expected by CodeCov
2121

2222
strategy:
2323
matrix:
24-
os: [ubuntu, macos]
24+
os: [ubuntu-latest, macos-13]
2525

2626
steps:
2727
- uses: actions/checkout@v4

test/context.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
except Exception:
3232
opencl_present = False
3333

34-
gcc_present = shutil.which("gcc") is not None
34+
gcc_present = shutil.which("g++") is not None
3535
gfortran_present = shutil.which("gfortran") is not None
3636
openmp_present = "libgomp" in subprocess.getoutput(["ldconfig -p | grep libgomp"])
3737
openacc_present = shutil.which("nvc++") is not None
@@ -95,7 +95,7 @@ def skip_backend(backend: str):
9595
elif backend.upper() == "OPENCL" and not opencl_present:
9696
pytest.skip("PyOpenCL not installed or no OpenCL device detected")
9797
elif backend.upper() == "C" and not gcc_present:
98-
pytest.skip("No gcc on PATH")
98+
pytest.skip("No g++ on PATH")
9999
elif backend.upper() == "FORTRAN" and not gfortran_present:
100100
pytest.skip("No gfortran on PATH")
101101
elif backend.upper() == "OPENACC" and not openacc_present:

0 commit comments

Comments
 (0)