diff options
author | Emil Velikov <[email protected]> | 2017-10-05 11:19:08 +0100 |
---|---|---|
committer | Emil Velikov <[email protected]> | 2017-10-13 12:56:13 +0100 |
commit | df3a43018020c16c1dfa88a76c9a84c9fb85be38 (patch) | |
tree | ab74c665ceba2f616c12f18a6056ae56aa419e6b /configure.ac | |
parent | 36d6d1e931936a80da327889862ba02942ac427b (diff) |
configure.ac: add missing LLVM components for OpenCL
Coverage and LTO seems to be hard requirements for Clang, while
coroutines is needed as of LLVM/Clang 4.0.
Mark the last one as "optional" so we handle every case.
Cc: [email protected]
Signed-off-by: Emil Velikov <[email protected]>
Reviewed-by: Tobias Droste <[email protected]>
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index d22b522278c..62d33a1941c 100644 --- a/configure.ac +++ b/configure.ac @@ -2301,13 +2301,16 @@ if test "x$enable_opencl" = xyes; then llvm_add_default_components "opencl" llvm_add_component "all-targets" "opencl" + llvm_add_component "coverage" "opencl" llvm_add_component "linker" "opencl" llvm_add_component "instrumentation" "opencl" llvm_add_component "ipo" "opencl" llvm_add_component "irreader" "opencl" + llvm_add_component "lto" "opencl" llvm_add_component "option" "opencl" llvm_add_component "objcarcopts" "opencl" llvm_add_component "profiledata" "opencl" + llvm_add_optional_component "coroutines" "opencl" dnl Check for Clang internal headers if test -z "$CLANG_LIBDIR"; then |