Browse Source

Merge pull request #1 from nonlin-lin-chaos-order-etc-etal/master

Updated configure.ac for some versions of AMD APP SDK
pull/2/head
orignal 3 years ago committed by GitHub
parent
commit
04714652d2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      configure.ac

2
configure.ac

@ -126,7 +126,7 @@ if test "x$have_win32" != xtrue; then @@ -126,7 +126,7 @@ if test "x$have_win32" != xtrue; then
if test "x$AMDAPPSDKROOT" != x; then
OPENCL_FLAGS="-I$AMDAPPSDKROOT/include $OPENCL_FLAGS"
OPENCL_LIBS="-L$AMDAPPSDKROOT/lib/$ARCH_DIR $OPENCL_LIBS"
AC_CHECK_FILE([$AMDAPPSDKROOT/lib/$ARCH_DIR/sdk/libOpenCL.so], [OPENCL_LIBS="-L$AMDAPPSDKROOT/lib/$ARCH_DIR -L$AMDAPPSDKROOT/lib/$ARCH_DIR/sdk/ $OPENCL_LIBS"], [OPENCL_LIBS="-L$AMDAPPSDKROOT/lib/$ARCH_DIR $OPENCL_LIBS"])
fi
fi

Loading…
Cancel
Save