Skip to content

Commit

Permalink
compile libdrm
Browse files Browse the repository at this point in the history
  • Loading branch information
SolDev69 authored Dec 23, 2023
1 parent 316663b commit c1f959f
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/turnip.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,23 @@ jobs:
sudo apt install -y meson libxrandr-dev libxxf86vm-dev libxcb-*-dev libx11-xcb-dev libxfixes-dev libdrm-dev libx11-dev
pip3 install mako
export ANDROID_NDK_HOME="$ANDROID_SDK_ROOT/ndk-bundle"
envsubst <android-drm-${{matrix.arch}} >build-crossfile-drm
git clone --depth 1 https://gitlab.freedesktop.org/mesa/drm.git
cd drm
meson setup "build-android" \
--prefix=/tmp/drm-static \
--cross-file "../build-crossfile-drm" \
-Ddefault_library=static \
-Dintel=disabled \
-Dradeon=disabled \
-Damdgpu=disabled \
-Dnouveau=disabled \
-Dvmwgfx=disabled \
-Dfreedreno=disabled \
-Dvc4=disabled \
-Detnaviv=disabled
ninja -C "build-android" install
cd ..
envsubst <android-turnip-${{matrix.arch}} >build-crossfile-turnip
meson build-android-${{matrix.arch}} --cross-file "build-crossfile-turnip" \
-Dbuildtype=release \
Expand Down

0 comments on commit c1f959f

Please sign in to comment.