修訂 | 0588c99d11c05749f089d697d22ba7687e38aa29 (tree) |
---|---|
時間 | 2022-06-09 11:45:33 |
作者 | matsuand <30614168+matsuand@user...> |
Commiter | matsuand |
[BLFS] Update mesa-21.3.7 and modify.
@@ -4,7 +4,7 @@ | ||
4 | 4 | . ./_xorgset.sh |
5 | 5 | |
6 | 6 | APPNAME=mesa |
7 | -VER=20.3.1 | |
7 | +VER=21.3.7 | |
8 | 8 | TARGET=$APPNAME-$VER |
9 | 9 | TARGETBALL=$XORGDLD/$TARGET.tar.xz |
10 | 10 | TARGETDIR=$TARGET |
@@ -41,30 +41,19 @@ Patching | ||
41 | 41 | patch -Np1 -i $XORGDLD/mesa-$VER-add_xdemos-1.patch \ |
42 | 42 | 1> $LOG/$TARGET.0_patch.log 2>&1 || exit 1 |
43 | 43 | |
44 | -sed '1s/python/&3/' -i bin/symbols-check.py | |
45 | - | |
46 | 44 | mkdir build |
47 | 45 | cd build |
48 | 46 | |
49 | -#./configure CFLAGS='-O2' CXXFLAGS='-O2' LDFLAGS=-lLLVM \ | |
50 | -# --prefix=$XORG_PREFIX \ | |
51 | -# --sysconfdir=/etc \ | |
52 | -# --enable-osmesa \ | |
53 | -# --enable-xa \ | |
54 | -# --enable-glx-tls \ | |
55 | -# --with-platforms="drm,x11,wayland" \ | |
56 | -# --with-gallium-drivers=$GLL_DRV \ | |
57 | -# $ENABLELLVM \ | |
58 | 47 | Configuring |
59 | 48 | meson --prefix=$XORG_PREFIX \ |
60 | - -Dbuildtype=release \ | |
49 | + --buildtype=release \ | |
61 | 50 | -Ddri-drivers=$DRI_DRIVERS \ |
62 | 51 | -Dgallium-drivers=$GALLIUM_DRV \ |
63 | 52 | -Dgallium-nine=false \ |
64 | 53 | -Dglx=dri \ |
65 | - -Dosmesa=gallium \ | |
66 | - -Dvalgrind=false \ | |
67 | - -Dlibunwind=false \ | |
54 | + -Dvalgrind=disabled \ | |
55 | + -Dlibunwind=disabled \ | |
56 | + .. \ | |
68 | 57 | 1> $LOG/$TARGET.1_conf.log 2>&1 || exit 1 |
69 | 58 | |
70 | 59 | unset GALLIUM_DRV DRI_DRIVERS |
@@ -73,7 +62,6 @@ Making | ||
73 | 62 | ninja \ |
74 | 63 | 1> $LOG/$TARGET.2_make.log 2>&1 || exit 1 |
75 | 64 | |
76 | -PWD=`pwd` | |
77 | 65 | Installing |
78 | 66 | porg -lp $TARGET -E$PWD "\ |
79 | 67 | ninja install" \ |