Skip to content

Commit

Permalink
Revert "Temp UBWC"
Browse files Browse the repository at this point in the history
This reverts commit 5a52b9e.
  • Loading branch information
CADIndie committed Mar 1, 2024
1 parent 5a52b9e commit 2a35f16
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions turnip_builder.sh
Original file line number Diff line number Diff line change
Expand Up @@ -47,11 +47,11 @@ unzip "$ndkver"-linux.zip &> /dev/null


echo "Downloading mesa source (~30 MB) ..." $'\n'
curl https://codeload.github.com/QuestCraftPlusPlus/mesa/zip/refs/heads/Better-UBWC --output mesa-Better-UBWC.zip &> /dev/null
curl https://codeload.github.com/QuestCraftPlusPlus/mesa/zip/refs/heads/LTS --output mesa-LTS.zip &> /dev/null
###
echo "Exracting mesa source to a folder ..." $'\n'
unzip mesa-Better-UBWC.zip &> /dev/null
cd mesa-Better-UBWC
unzip mesa-LTS.zip &> /dev/null
cd mesa-LTS



Expand All @@ -76,18 +76,18 @@ EOF


echo "Generating build files ..." $'\n'
meson "build-quest-release" --prefix=/tmp/mesa --cross-file "$workdir"/mesa-Better-UBWC/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/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-Better-UBWC/subprojects/libarchive-3.7.2/meson.build
curl https://raw.githubusercontent.com/QuestCraftPlusPlus/freedreno-builder/main/libarchive-meson.build --output "$workdir"/mesa-LTS/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-Better-UBWC/build-quest-release/src/freedreno/vulkan/libvulkan_freedreno.so "$workdir"
cp "$workdir"/mesa-LTS/build-quest-release/src/freedreno/vulkan/libvulkan_freedreno.so "$workdir"
cd "$workdir"


Expand Down

0 comments on commit 2a35f16

Please sign in to comment.