Commit 3800d9dd authored by Vladimir Bashkirtsev's avatar Vladimir Bashkirtsev

Different drivers now may be build as different build targets

parent 32ed47cd
all:
virgl:
tar xf mesa-20.1.1.tar.xz
patch -Np1 -d mesa-20.1.1 < mesa-20.1.1-python3.patch
mkdir -p mesa-20.1.1/build
cd mesa-20.1.1/build && meson --prefix=$(XORG_PREFIX) -Dbuildtype=release -Ddri-drivers=swrast -Dgallium-drivers=vc4 -Dvulkan-drivers= -Dplatforms=drm,x11,wayland -Dgallium-nine=false -Dglx=dri -Dosmesa=classic -Dvalgrind=false -Dbuild-tests=true ..
cd mesa-20.1.1/build && meson --prefix=$(XORG_PREFIX) -Dbuildtype=release -Ddri-drivers= -Dgallium-drivers=virgl,swrast -Dvulkan-drivers= -Dplatforms=drm,x11,wayland -Dgallium-nine=false -Dglx=dri -Dosmesa=classic -Dvalgrind=false -Dbuild-tests=true ..
cd mesa-20.1.1/build && ninja
cd mesa-20.1.1/build && ninja test
cd mesa-20.1.1/build && ninja install
install -v -dm755 /usr/share/doc/mesa-20.1.1
cd mesa-20.1.1 && cp -rfv docs/* /usr/share/doc/mesa-20.1.1
rm -rf mesa-20.1.1
iris:
tar xf mesa-20.1.1.tar.xz
patch -Np1 -d mesa-20.1.1 < mesa-20.1.1-python3.patch
mkdir -p mesa-20.1.1/build
cd mesa-20.1.1/build && meson --prefix=$(XORG_PREFIX) -Dbuildtype=release -Ddri-drivers= -Dgallium-drivers=iris,swrast -Dvulkan-drivers= -Dplatforms=drm,x11,wayland -Dgallium-nine=false -Dglx=dri -Dosmesa=classic -Dvalgrind=false -Dbuild-tests=true ..
cd mesa-20.1.1/build && ninja
cd mesa-20.1.1/build && ninja test
cd mesa-20.1.1/build && ninja install
install -v -dm755 /usr/share/doc/mesa-20.1.1
cd mesa-20.1.1 && cp -rfv docs/* /usr/share/doc/mesa-20.1.1
rm -rf mesa-20.1.1
radeonsi:
tar xf mesa-20.1.1.tar.xz
patch -Np1 -d mesa-20.1.1 < mesa-20.1.1-python3.patch
mkdir -p mesa-20.1.1/build
cd mesa-20.1.1/build && meson --prefix=$(XORG_PREFIX) -Dbuildtype=release -Ddri-drivers= -Dgallium-drivers=radeonsi,swrast -Dvulkan-drivers= -Dplatforms=drm,x11,wayland -Dgallium-nine=false -Dglx=dri -Dosmesa=classic -Dvalgrind=false -Dbuild-tests=true ..
cd mesa-20.1.1/build && ninja
cd mesa-20.1.1/build && ninja test
cd mesa-20.1.1/build && ninja install
install -v -dm755 /usr/share/doc/mesa-20.1.1
cd mesa-20.1.1 && cp -rfv docs/* /usr/share/doc/mesa-20.1.1
rm -rf mesa-20.1.1
vc4:
tar xf mesa-20.1.1.tar.xz
patch -Np1 -d mesa-20.1.1 < mesa-20.1.1-python3.patch
mkdir -p mesa-20.1.1/build
cd mesa-20.1.1/build && meson --prefix=$(XORG_PREFIX) -Dbuildtype=release -Ddri-drivers= -Dgallium-drivers=vc4,kmsro,swrast -Dvulkan-drivers= -Dplatforms=drm,x11,wayland -Dgallium-nine=false -Dglx=dri -Dosmesa=classic -Dvalgrind=false -Dbuild-tests=true ..
cd mesa-20.1.1/build && ninja
cd mesa-20.1.1/build && ninja test
cd mesa-20.1.1/build && ninja install
install -v -dm755 /usr/share/doc/mesa-20.1.1
cd mesa-20.1.1 && cp -rfv docs/* /usr/share/doc/mesa-20.1.1
rm -rf mesa-20.1.1
lima:
tar xf mesa-20.1.1.tar.xz
patch -Np1 -d mesa-20.1.1 < mesa-20.1.1-python3.patch
mkdir -p mesa-20.1.1/build
cd mesa-20.1.1/build && meson --prefix=$(XORG_PREFIX) -Dbuildtype=release -Ddri-drivers= -Dgallium-drivers=lima,kmsro,swrast -Dvulkan-drivers= -Dplatforms=drm,x11,wayland -Dgallium-nine=false -Dglx=dri -Dosmesa=classic -Dvalgrind=false -Dbuild-tests=true ..
cd mesa-20.1.1/build && ninja
cd mesa-20.1.1/build && ninja test
cd mesa-20.1.1/build && ninja install
install -v -dm755 /usr/share/doc/mesa-20.1.1
cd mesa-20.1.1 && cp -rfv docs/* /usr/share/doc/mesa-20.1.1
rm -rf mesa-20.1.1
panfrost:
tar xf mesa-20.1.1.tar.xz
patch -Np1 -d mesa-20.1.1 < mesa-20.1.1-python3.patch
mkdir -p mesa-20.1.1/build
cd mesa-20.1.1/build && meson --prefix=$(XORG_PREFIX) -Dbuildtype=release -Ddri-drivers= -Dgallium-drivers=panfrost,kmsro,swrast -Dvulkan-drivers= -Dplatforms=drm,x11,wayland -Dgallium-nine=false -Dglx=dri -Dosmesa=classic -Dvalgrind=false -Dbuild-tests=true ..
cd mesa-20.1.1/build && ninja
cd mesa-20.1.1/build && ninja test
cd mesa-20.1.1/build && ninja install
......
diff -uNr mesa-20.1.1/bin/symbols-check.py mesa-20.1.1-python3/bin/symbols-check.py
--- mesa-20.1.1/bin/symbols-check.py 2020-06-11 03:33:00.262698000 +0930
+++ mesa-20.1.1-python3/bin/symbols-check.py 2020-09-08 18:54:59.559961158 +0930
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
import argparse
import os
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment