File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 31
31
except Exception :
32
32
opencl_present = False
33
33
34
- gcc_present = shutil .which ("gcc " ) is not None
34
+ gcc_present = shutil .which ("g++ " ) is not None
35
35
gfortran_present = shutil .which ("gfortran" ) is not None
36
36
openmp_present = "libgomp" in subprocess .getoutput (["ldconfig -p | grep libgomp" ])
37
37
openacc_present = shutil .which ("nvc++" ) is not None
@@ -95,7 +95,7 @@ def skip_backend(backend: str):
95
95
elif backend .upper () == "OPENCL" and not opencl_present :
96
96
pytest .skip ("PyOpenCL not installed or no OpenCL device detected" )
97
97
elif backend .upper () == "C" and not gcc_present :
98
- pytest .skip ("No gcc on PATH" )
98
+ pytest .skip ("No g++ on PATH" )
99
99
elif backend .upper () == "FORTRAN" and not gfortran_present :
100
100
pytest .skip ("No gfortran on PATH" )
101
101
elif backend .upper () == "OPENACC" and not openacc_present :
You can’t perform that action at this time.
0 commit comments