Skip to content

Commit

Permalink
Update external libraries inside the chroots
Browse files Browse the repository at this point in the history
  • Loading branch information
Kron4ek authored Jul 1, 2020
1 parent d5ff846 commit b2cb75a
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions create_ubuntu_chroots.sh
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,8 @@ create_build_scripts () {
echo 'cd /opt/build_libs' >> $MAINDIR/prepare_chroot.sh
echo 'wget -O sdl.tar.gz https://www.libsdl.org/release/SDL2-2.0.12.tar.gz' >> $MAINDIR/prepare_chroot.sh
echo 'wget -O faudio.tar.gz https://github.com/FNA-XNA/FAudio/archive/20.06.tar.gz' >> $MAINDIR/prepare_chroot.sh
echo 'wget -O vulkan-loader.tar.gz https://github.com/KhronosGroup/Vulkan-Loader/archive/v1.2.141.tar.gz' >> $MAINDIR/prepare_chroot.sh
echo 'wget -O vulkan-headers.tar.gz https://github.com/KhronosGroup/Vulkan-Headers/archive/v1.2.141.tar.gz' >> $MAINDIR/prepare_chroot.sh
echo 'wget -O vulkan-loader.tar.gz https://github.com/KhronosGroup/Vulkan-Loader/archive/v1.2.145.tar.gz' >> $MAINDIR/prepare_chroot.sh
echo 'wget -O vulkan-headers.tar.gz https://github.com/KhronosGroup/Vulkan-Headers/archive/v1.2.145.tar.gz' >> $MAINDIR/prepare_chroot.sh
echo 'wget -O spirv-headers.tar.gz https://github.com/KhronosGroup/SPIRV-Headers/archive/1.5.3.tar.gz' >> $MAINDIR/prepare_chroot.sh
echo 'if [ -d /usr/lib/i386-linux-gnu ]; then wget -O wine.deb https://dl.winehq.org/wine-builds/ubuntu/dists/bionic/main/binary-i386/wine-stable_4.0.3~bionic_i386.deb; fi' >> $MAINDIR/prepare_chroot.sh
echo 'if [ -d /usr/lib/x86_64-linux-gnu ]; then wget -O wine.deb https://dl.winehq.org/wine-builds/ubuntu/dists/bionic/main/binary-amd64/wine-stable_4.0.3~bionic_amd64.deb; fi' >> $MAINDIR/prepare_chroot.sh
Expand All @@ -80,14 +80,16 @@ create_build_scripts () {
echo 'tar xf vulkan-loader.tar.gz' >> $MAINDIR/prepare_chroot.sh
echo 'tar xf vulkan-headers.tar.gz' >> $MAINDIR/prepare_chroot.sh
echo 'tar xf spirv-headers.tar.gz' >> $MAINDIR/prepare_chroot.sh
echo 'export CFLAGS="-O2"' >> $MAINDIR/prepare_chroot.sh
echo 'export CXXFLAGS="-O2"' >> $MAINDIR/prepare_chroot.sh
echo 'mkdir build && cd build' >> $MAINDIR/prepare_chroot.sh
echo 'cmake ../SDL2-2.0.12 && make -j$(nproc) && make install' >> $MAINDIR/prepare_chroot.sh
echo 'cd ../ && rm -r build && mkdir build && cd build' >> $MAINDIR/prepare_chroot.sh
echo 'cmake ../FAudio-20.06 && make -j$(nproc) && make install' >> $MAINDIR/prepare_chroot.sh
echo 'cd ../ && rm -r build && mkdir build && cd build' >> $MAINDIR/prepare_chroot.sh
echo 'cmake ../Vulkan-Headers-1.2.141 && make -j$(nproc) && make install' >> $MAINDIR/prepare_chroot.sh
echo 'cmake ../Vulkan-Headers-1.2.145 && make -j$(nproc) && make install' >> $MAINDIR/prepare_chroot.sh
echo 'cd ../ && rm -r build && mkdir build && cd build' >> $MAINDIR/prepare_chroot.sh
echo 'cmake ../Vulkan-Loader-1.2.141 && make -j$(nproc) && make install' >> $MAINDIR/prepare_chroot.sh
echo 'cmake ../Vulkan-Loader-1.2.145 && make -j$(nproc) && make install' >> $MAINDIR/prepare_chroot.sh
echo 'cd ../ && rm -r build && mkdir build && cd build' >> $MAINDIR/prepare_chroot.sh
echo 'cmake ../SPIRV-Headers-1.5.3 && make -j$(nproc) && make install' >> $MAINDIR/prepare_chroot.sh
echo 'cd ../ && dpkg -x wine.deb .' >> $MAINDIR/prepare_chroot.sh
Expand Down

0 comments on commit b2cb75a

Please sign in to comment.