Kaydet (Commit) 5e28f6e9 authored tarafından Michael Meeks's avatar Michael Meeks

Disable openCL by default on Mac (for now).

Change-Id: Iaf54a64a9e910eaffe1526f3471df8f98854343d
üst 420aa16a
...@@ -9811,14 +9811,15 @@ OPENCL_LIBS= ...@@ -9811,14 +9811,15 @@ OPENCL_LIBS=
OPENCL_CFLAGS= OPENCL_CFLAGS=
ENABLE_OPENCL= ENABLE_OPENCL=
AC_MSG_CHECKING([OpenCL]) AC_MSG_CHECKING([OpenCL])
if test \( -z "$with_opencl_sdk" -o "$with_opencl_sdk" = yes \) -a $_os = Darwin; then dnl if test \( -z "$with_opencl_sdk" -o "$with_opencl_sdk" = yes \) -a $_os = Darwin; then
# OS X dnl # OS X
AC_MSG_RESULT([yes, always on OS X]) dnl AC_MSG_RESULT([yes, always on OS X])
ENABLE_OPENCL=TRUE dnl ENABLE_OPENCL=TRUE
OPENCL_CFLAGS= dnl OPENCL_CFLAGS=
OPENCL_LIBS="-framework OpenCL" dnl OPENCL_LIBS="-framework OpenCL"
AC_DEFINE(HAVE_FEATURE_OPENCL) dnl AC_DEFINE(HAVE_FEATURE_OPENCL)
elif test -z "$with_opencl_sdk" -o "$with_opencl_sdk" = no; then dnl
if test -z "$with_opencl_sdk" -o "$with_opencl_sdk" = no; then
AC_MSG_RESULT([no]) AC_MSG_RESULT([no])
else else
if test -d "$with_opencl_sdk/include"; then if test -d "$with_opencl_sdk/include"; then
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment