summaryrefslogtreecommitdiff
path: root/mesa-run
diff options
context:
space:
mode:
authorMatt Turner <mattst88@gmail.com>2023-06-20 18:23:00 -0400
committerMatt Turner <mattst88@gmail.com>2023-06-21 17:29:58 -0400
commitf737511eea9f340382bf219c7e876ab795c39869 (patch)
tree9c4810c3f561aefc1e798ead93502c8cbb3c828b /mesa-run
parent46b2b414744cd5021a5b3dcd771ee61d705e67ae (diff)
mesa-run: Build intel_clc
Diffstat (limited to 'mesa-run')
-rwxr-xr-xmesa-run3
1 files changed, 3 insertions, 0 deletions
diff --git a/mesa-run b/mesa-run
index f728f3c..26e5939 100755
--- a/mesa-run
+++ b/mesa-run
@@ -15,6 +15,7 @@ x86_64)
vulkan_drivers=intel
gallium_drivers=iris
tools=drm-shim,intel
+ extra_args+=(-Dintel-clc=enabled)
;;
aarch64|arm*)
vk_icd="freedreno_icd.${machine}.json"
@@ -31,12 +32,14 @@ wipe|wipeout)
;;
configure)
export LLVM_MAJOR_VERSION="16"
+ export LLVM_CONFIG="/usr/lib/llvm/${LLVM_MAJOR_VERSION}/bin/llvm-config"
#export CC="/usr/lib/llvm/${LLVM_MAJOR_VERSION}/bin/clang"
#export CXX="/usr/lib/llvm/${LLVM_MAJOR_VERSION}/bin/clang++"
#export CC_LD="/usr/lib/llvm/${LLVM_MAJOR_VERSION}/bin/lld"
#export CXX_LD="${CC_LD}"
args=(
+ --pkg-config-path "/usr/lib/llvm/${LLVM_MAJOR_VERSION}/lib64/pkgconfig"
-Dprefix="${prefix}"
-Dc_args="${cflags}"
-Dcpp_args="${cxxflags}"