Blob Blame History Raw
set -ex

# Make sure clang is not installed.  We want to ensure this program runs even
# without clang.
if dnf list installed | grep '^clang\.'; then
  exit 1
fi

gcc -lOpenCL -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -o pocl-test pocl-test.c

./pocl-test