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 3131except Exception :
3232 opencl_present = False
3333
34- gcc_present = shutil .which ("gcc " ) is not None
34+ gcc_present = shutil .which ("g++ " ) is not None
3535gfortran_present = shutil .which ("gfortran" ) is not None
3636openmp_present = "libgomp" in subprocess .getoutput (["ldconfig -p | grep libgomp" ])
3737openacc_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 :
You can’t perform that action at this time.
0 commit comments