Skip to content

Commit

Permalink
Update turnip_builder.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
thejudge156 authored Mar 26, 2024
1 parent 66642eb commit 36b8d00
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions turnip_builder.sh
Original file line number Diff line number Diff line change
Expand Up @@ -76,18 +76,18 @@ EOF


echo "Generating build files ..." $'\n'
meson "build-quest-release" --prefix=/tmp/mesa --cross-file "$workdir"/mesa-LTS/android-aarch64 --buildtype release -Dplatforms=android -Dplatform-sdk-version=32 -Dandroid-stub=true -Dllvm=disabled -Dvulkan-drivers=freedreno -Dfreedreno-kmds=kgsl -Dgallium-drivers=
meson "build-quest-release" --prefix=/tmp/mesa --cross-file "$workdir"/mesa-LTS-Freedreno/android-aarch64 --buildtype release -Dplatforms=android -Dplatform-sdk-version=32 -Dandroid-stub=true -Dllvm=disabled -Dvulkan-drivers=freedreno -Dfreedreno-kmds=kgsl -Dgallium-drivers=

echo "Patching LibArchive build files ..." $'\n'
curl https://raw.githubusercontent.com/QuestCraftPlusPlus/freedreno-builder/main/libarchive-meson.build --output "$workdir"/mesa-LTS/subprojects/libarchive-3.7.2/meson.build
curl https://raw.githubusercontent.com/QuestCraftPlusPlus/freedreno-builder/main/libarchive-meson.build --output "$workdir"/mesa-LTS-Freedreno/subprojects/libarchive-3.7.2/meson.build

echo "Compiling build files ..." $'\n'
ninja -C build-quest-release



echo "Using patchelf to match soname ..." $'\n'
cp "$workdir"/mesa-LTS/build-quest-release/src/freedreno/vulkan/libvulkan_freedreno.so "$workdir"
cp "$workdir"/mesa-LTS-Freedreno/build-quest-release/src/freedreno/vulkan/libvulkan_freedreno.so "$workdir"
cd "$workdir"


Expand Down

0 comments on commit 36b8d00

Please sign in to comment.