clover: Add opencl-native build flag

This flag controls whether to include native codegen functionality
for the AMD backend

Reviewed-by: Francisco Jerez <currojerez@riseup.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7680>
This commit is contained in:
Jesse Natalie
2020-11-18 18:27:07 -08:00
parent 60454a4e99
commit 425cfcafb2
4 changed files with 36 additions and 4 deletions

View File

@@ -155,6 +155,12 @@ option(
value : false,
description : 'build gallium "clover" OpenCL frontend with SPIR-V binary support.',
)
option(
'opencl-native',
type : 'boolean',
value : true,
description : 'build gallium "clover" OpenCL frontend with native LLVM codegen support.',
)
option(
'static-libclc',
type : 'array',