Skip to content

Commit

Permalink
use prebuilt libdrm
Browse files Browse the repository at this point in the history
test for compile
  • Loading branch information
SolDev69 committed Dec 9, 2023
1 parent a9e7616 commit 5095141
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 17 deletions.
32 changes: 16 additions & 16 deletions .github/workflows/ios.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,23 +14,23 @@ jobs:
- name: Build iOS
run: |
ln -s vulkan_ios.pc vulkan.pc
brew install meson pkg-config
brew install meson pkg-config libdrm
pip3 install mako
git clone --depth 1 https://gitlab.freedesktop.org/mesa/drm.git
cd drm
meson setup "build-ios-drm" \
--prefix=/tmp/drm-static \
--cross-file "../ios-drm-aarch64" \
-Ddefault_library=static \
-Dintel=disabled \
-Dradeon=disabled \
-Damdgpu=disabled \
-Dnouveau=disabled \
-Dvmwgfx=disabled \
-Dfreedreno=enabled \
-Dvc4=disabled \
-Detnaviv=disabled
ninja -C "build-ios-drm" install
# git clone --depth 1 https://gitlab.freedesktop.org/mesa/drm.git
# cd drm
# meson setup "build-ios-drm" \
# --prefix=/tmp/drm-static \
# --cross-file "../ios-drm-aarch64" \
# -Ddefault_library=static \
# -Dintel=disabled \
# -Dradeon=disabled \
# -Damdgpu=disabled \
# -Dnouveau=disabled \
# -Dvmwgfx=disabled \
# -Dfreedreno=enabled \
# -Dvc4=disabled \
# -Detnaviv=disabled
# ninja -C "build-ios-drm" install
meson setup "build-ios-aarch64" \
--prefix=/tmp/asahi \
--cross-file "ios-aarch64" \
Expand Down
3 changes: 2 additions & 1 deletion ios-aarch64
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@ strip = 'strip'
# Android doesn't come with a pkg-config, but we need one for meson to be happy not
# finding all the optional deps it looks for. Use system pkg-config pointing at a
# directory we get to populate with any .pc files we want to add for Android
pkgconfig = ['env', 'PKG_CONFIG_LIBDIR=.:/tmp/drm-static/lib/pkgconfig', '/usr/bin/pkg-config']
#pkgconfig = ['env', 'PKG_CONFIG_LIBDIR=.:/tmp/drm-static/lib/pkgconfig', '/usr/bin/pkg-config']
pkgconfig = ['env', 'PKG_CONFIG_LIBDIR=/Users/runner/work/freedreno-gallium-mesa/freedreno-gallium-mesa', 'pkg-config']

[host_machine]
# or linux?
Expand Down

0 comments on commit 5095141

Please sign in to comment.