mirror of
https://github.com/Droid-Deck/DroidDeck.git
synced 2026-11-19 21:06:09 +00:00
FEX build: optional host thunks
FEX_THUNKS=1 (build-fex.yml 'thunks' input) builds FEX's host thunks: the arm64 half against the runtime's graphics dev packages, the x86 and i686 guest halves with clang against a sysroot of Arch Linux x86_64 and multilib packages unpacked by pacman (not run). With them an x86 program's Vulkan, GL, X11, Wayland and DRM calls reach the runtime's own libraries - Turnip and Mesa on the GPU - instead of llvmpipe.
This commit is contained in:
1 parent
822ca6405f
commit
5530d8aa70
2 files changed
+41
-4
No files matched your search
@@ -14,6 +14,10 @@ on:
|
||||
description: 'Release tag to publish as (e.g. fex-2609-r1); empty = artifact only'
|
||||
required: false
|
||||
default: ''
|
||||
thunks:
|
||||
description: 'Build the host thunks (Vulkan/GL/X11/... to the runtime arm64 libraries)'
|
||||
required: false
|
||||
default: 'false'
|
||||
cxxflags:
|
||||
description: 'Extra CXXFLAGS for a diagnostic build (e.g. -DDEBUG_STRACE); never published with a tag'
|
||||
required: false
|
||||
@@ -31,7 +35,7 @@ jobs:
|
||||
- name: Build in Arch Linux ARM
|
||||
run: |
|
||||
set -euo pipefail
|
||||
docker run --rm -e FEX_EXTRA_CXXFLAGS="${{ inputs.cxxflags }}" -v "$PWD:/work" -w /work menci/archlinuxarm:base-devel bash tools/fex/build-in-arch.sh
|
||||
docker run --rm -e FEX_EXTRA_CXXFLAGS="${{ inputs.cxxflags }}" -e FEX_THUNKS="${{ inputs.thunks == 'true' && '1' || '0' }}" -v "$PWD:/work" -w /work menci/archlinuxarm:base-devel bash tools/fex/build-in-arch.sh
|
||||
sudo chown -R "$(id -u):$(id -g)" .
|
||||
- uses: actions/upload-artifact@v4
|
||||
with:
|
||||
|
||||
Reference in new issue
Block a user