[Mesa-dev] [PATCH] fixup! genxml: Add enough XML for gens 4, 4.5, and 5 to get SURFACE_STATE
Rob Herring
robh at kernel.org
Tue Jun 21 03:11:39 UTC 2016
On Mon, Jun 20, 2016 at 4:49 PM, Chad Versace <chad.versace at intel.com> wrote:
> Emil, how do you test the Android build? I tried building i965 using
> vanilla AOSP, but that turned into a long journey in yak shaving.
Fun, isn't it. Here's cut-n-paste from my CI job that is tracks AOSP
and mesa master:
repo init -u https://android.googlesource.com/platform/manifest -b master
cd .repo
rm -rf local_manifests
git clone https://github.com/robherring/android_manifest -b
mesa-master-test local_manifests
cd ..
repo sync -f --force-sync -j16
cd external/mesa3d
rev=$(git rev-parse freedesktop/master)
# temporary until upstream can build
git pull --no-edit https://github.com/robherring/mesa.git android-build-test
# Enable gpu drivers
sed -i -e 's/\(^MESA_GPU_DRIVERS.*\)/MESA_GPU_DRIVERS := $(strip
$(BOARD_GPU_DRIVERS)) i915 i965 r300g r600g i915g swrast vc4/'
Android.mk
# Commit it so repo will throw it away
git commit -m "Android: enable GPU drivers" -a -s
cd ../..
# configure the device
cd device/linaro/generic
make defconfig all
cd ../../..
source build/envsetup.sh
for arch in arm64 x86_64; do
lunch linaro_${arch}-userdebug
make -k -j8 gallium_dri i915_dri i965_dri libGLES_mesa
gralloc.drm || { true; failed=1; }
done
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/mesa-dev
More information about the mesa-dev
mailing list