mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-08 08:30:10 +01:00
configure.ac: report an error if LLVM shared libs are disabled and CL is enabled
Reviewed-by: Tom Stellard <thomas.stellard@amd.com>
This commit is contained in:
parent
e9c9d28203
commit
790c8a2405
1 changed files with 3 additions and 2 deletions
|
|
@ -1532,8 +1532,9 @@ AC_ARG_WITH([llvm-shared-libs],
|
|||
[with_llvm_shared_libs=no])
|
||||
AS_IF([test x$enable_opencl = xyes],
|
||||
[
|
||||
AC_MSG_WARN([OpenCL required, forcing LLVM shared libraries])
|
||||
with_llvm_shared_libs=yes
|
||||
if test "x$with_llvm_shared_libs" != xyes; then
|
||||
AC_MSG_ERROR([OpenCL requires LLVM shared libraries])
|
||||
fi
|
||||
])
|
||||
|
||||
AC_ARG_WITH([llvm-prefix],
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue