Skip to content

Commit

Permalink
Merge pull request #45 from BenjamenMeyer/enhancement_arch-support
Browse files Browse the repository at this point in the history
Enhancement: Document building on Arch
  • Loading branch information
stephengtuggy authored Nov 11, 2023
2 parents 83b7582 + e4a64a1 commit 85b8084
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions script/bootstrap
Original file line number Diff line number Diff line change
Expand Up @@ -1505,6 +1505,35 @@ function bootstrapOnFuntoo ()
make
}

function bootstrapOnArch ()
{
# NOTE: Arch requires GCC 12 right now
# also installing latest GCC.
pacman -Sy --noconfirm \
base-devel \
cmake \
boost \
llvm \
clang \
gcc \
gcc12 \
sdl \
sdl2 \
expat \
gtk3 \
libglvnd \
mesa \
python \
freeglut \
git \
libjpeg-turbo \
libpng \
libvorbis \
libxmu \
openal \
make
}

case "${LINUX_ID}" in
"debian")
bootstrapOnDebian
Expand Down Expand Up @@ -1542,6 +1571,9 @@ case "${LINUX_ID}" in
"funtoo")
bootstrapOnFuntoo
;;
"arch")
bootstrapOnArch
;;
*)
echo "Sorry, unrecognized/unsupported Linux distribution"
exit 2
Expand Down

0 comments on commit 85b8084

Please sign in to comment.