Skip to content

Commit

Permalink
Xemu: fight pip some more on 18.04
Browse files Browse the repository at this point in the history
  • Loading branch information
cobalt2727 authored Jun 28, 2024
1 parent 98f79b1 commit 6006699
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions scripts/games_and_emulators/xemu.sh
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,11 @@ bionic)
ubuntu_ppa_installer "deadsnakes/ppa" || error "PPA failed to install"
ubuntu_ppa_installer "ubuntu-toolchain-r/test" || error "PPA failed to install"
sudo apt install python3.8 python3-pip gcc-11 g++-11 -y || error "Could not install dependencies!" #GCC 9 (the 20.04 default) also works, I'm just using 11 to future-proof -cobalt
sed -i -e 's/python3 /python3.8 /g' build.sh #this is hacky, yes, but hey, it works
python3.8 -m pip install --upgrade pip meson PyYAML
sed -i -e 's/python3 /python3.8 /g' build.sh #this is hacky, yes, but hey, it works
python3.8 -m pip install --upgrade pip
source ~/.bashrc
python3.8 -m pip install --upgrade meson PyYAML
source ~/.bashrc
CFLAGS=-mcpu=native CXXFLAGS=-mcpu=native CC=gcc-11 CXX=g++-11 ./build.sh || error "Compilation failed!"
;;
*)
Expand Down

0 comments on commit 6006699

Please sign in to comment.