diff options
| author | emmett1 <emmett1.2miligrams@protonmail.com> | 2024-07-09 23:43:07 +0800 |
|---|---|---|
| committer | emmett1 <emmett1.2miligrams@protonmail.com> | 2024-07-09 23:43:07 +0800 |
| commit | daaee5106179e59cb39fa4ae800efc35b8ac065f (patch) | |
| tree | 38d91c1e329165203d01cd2b4db08612b760a494 /repos/extra/mesa/abuild | |
| parent | b7dc860db40c1bad2a13b44b6308c54ec59f5d68 (diff) | |
| download | alicelinux-daaee5106179e59cb39fa4ae800efc35b8ac065f.tar.gz alicelinux-daaee5106179e59cb39fa4ae800efc35b8ac065f.zip | |
mesa: enable vulkan-drivers when llvm installed
Diffstat (limited to 'repos/extra/mesa/abuild')
| -rw-r--r-- | repos/extra/mesa/abuild | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/repos/extra/mesa/abuild b/repos/extra/mesa/abuild index 5835d848..25b2523e 100644 --- a/repos/extra/mesa/abuild +++ b/repos/extra/mesa/abuild @@ -1,19 +1,19 @@ name=mesa version=24.0.8 -release=1 +release=2 source="https://archive.mesa3d.org/$name-$version.tar.xz" keep_static=1 -[ -f $SPM_PKGDB/wayland ] && build_opt="-Dplatforms=wayland" -[ -f $SPM_PKGDB/libx11 ] && build_opt="-Dplatforms=x11" -[ -f $SPM_PKGDB/libx11 ] && [ -f $SPM_PKGDB/wayland ] && build_opt="-Dplatforms=wayland,x11" +[ -f $SPM_PKGDB/wayland ] && platform="-Dplatforms=wayland" +[ -f $SPM_PKGDB/libx11 ] && platform="-Dplatforms=x11" +[ -f $SPM_PKGDB/libx11 ] && [ -f $SPM_PKGDB/wayland ] && platform="-Dplatforms=wayland,x11" +[ -f $SPM_PKGDB/llvm ] || buildopt="-Dllvm=disabled -Dvulkan-drivers=" build_opt=" - $build_opt + $buildopt + $platform -Dgallium-drivers=auto - -Dvulkan-drivers="" -Dvalgrind=disabled -Dlibunwind=disabled -Dglx=disabled -Dglvnd=true - -Dllvm=disabled -Db_lto=false " |