Skip to content

Instantly share code, notes, and snippets.

@schellingb
Last active August 13, 2020 13:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save schellingb/99577a71a7349af02e910415fb7e4704 to your computer and use it in GitHub Desktop.
Save schellingb/99577a71a7349af02e910415fb7e4704 to your computer and use it in GitHub Desktop.
Clone RetroArch branch to ramdisk and build and test
sudo mkdir /mnt/ramdisk 2>/dev/null
sudo chmod 777 /mnt/ramdisk 2>/dev/null
sudo umount /mnt/ramdisk 2>/dev/null
sudo mount -t tmpfs -o size=512m tmpfs /mnt/ramdisk
cd /mnt/ramdisk
git clone --single-branch --branch some_branch_to_check --depth 1 https://github.com/schellingb/RetroArch.git
#git clone --single-branch --branch master --depth 1 https://github.com/libretro/RetroArch.git
cd RetroArch
rm -rf .git
./configure && make -j4 DEBUG=1 && ./retroarch
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment