summaryrefslogtreecommitdiff
path: root/mesa-run
diff options
context:
space:
mode:
authorMatt Turner <mattst88@gmail.com>2023-06-20 18:22:16 -0400
committerMatt Turner <mattst88@gmail.com>2023-06-20 18:22:16 -0400
commit0d85277c98be7fe0c510b217a139cef2ff016704 (patch)
tree5ef222f4f77def9c281919cd02b8347cfa95125c /mesa-run
parent0cc95aa04cd231ee207f0c79bc6e3eb45daab92b (diff)
mesa-run: Make and use LLVM_MAJOR_VERSION variable
Diffstat (limited to 'mesa-run')
-rwxr-xr-xmesa-run9
1 files changed, 5 insertions, 4 deletions
diff --git a/mesa-run b/mesa-run
index 639efea..eb6f730 100755
--- a/mesa-run
+++ b/mesa-run
@@ -30,10 +30,11 @@ wipe|wipeout)
exec meson setup --wipe "${builddir}"
;;
configure)
- #export CC=clang
- #export CXX=clang++
- #export CC_LD=lld
- #export CXX_LD=lld
+ export LLVM_MAJOR_VERSION="16"
+ #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=(
-Dprefix="${prefix}"