Explorar o código

configure.ac: when configuring SOCL, OpenCL has already been detected, no need to do it again

Nathalie Furmento %!s(int64=12) %!d(string=hai) anos
pai
achega
91e6f9e7db
Modificáronse 1 ficheiros con 0 adicións e 6 borrados
  1. 0 6
      configure.ac

+ 0 - 6
configure.ac

@@ -1376,12 +1376,6 @@ AC_ARG_ENABLE([socl],
 
 AC_MSG_CHECKING(for SOCL)
 
-if test "x$enable_socl" = "xyes" -o "x$enable_socl" = "xmaybe" ; then
-    if test "$have_valid_opencl" = "no" ; then
-	STARPU_LOOK_FOR_OPENCL()
-    fi
-fi
-
 # in case SOCL was explicitely required, but is not available, this is an error
 if test "x$enable_socl" = "xyes" -a "$have_valid_opencl" = "no" ; then
     AC_MSG_ERROR([SOCL cannot be enabled without OpenCL])