add arch install deps script
This commit is contained in:
parent
debea94103
commit
9dc99a8c12
|
@ -0,0 +1,17 @@
|
||||||
|
#!/bin/sh
|
||||||
|
##
|
||||||
|
## BSD 3-Clause License
|
||||||
|
##
|
||||||
|
## This file includes additional changes by Cathal Flynn to support Arch Linux,
|
||||||
|
## targeted at the Basalt for Monado fork of the Basalt project.
|
||||||
|
##
|
||||||
|
## https://gitlab.com/VladyslavUsenko/basalt.git
|
||||||
|
## https://gitlab.freedesktop.org/mateosss/basalt.git
|
||||||
|
##
|
||||||
|
##
|
||||||
|
## Copyright (c) 2022, Cathal Flynn.
|
||||||
|
## All rights reserved.
|
||||||
|
##
|
||||||
|
|
||||||
|
sudo pacman -Syu
|
||||||
|
sudo pacman -Sy --noconfirm gcc cmake git tbb eigen glew ccache libjpeg-turbo libpng lz4 bzip2 boost boost-libs gtest opencv fmt
|
|
@ -17,6 +17,8 @@ else
|
||||||
DISTRO=$( awk -F= '/^ID/{print $2}' /etc/os-release )
|
DISTRO=$( awk -F= '/^ID/{print $2}' /etc/os-release )
|
||||||
if [ "$DISTRO" == "fedora" ]; then
|
if [ "$DISTRO" == "fedora" ]; then
|
||||||
${DIR}/install_fedora_deps.sh
|
${DIR}/install_fedora_deps.sh
|
||||||
|
elif [ "$DISTRO" == "arch" ]; then
|
||||||
|
${DIR}/install_arch_deps.sh
|
||||||
else
|
else
|
||||||
${DIR}/install_ubuntu_deps.sh
|
${DIR}/install_ubuntu_deps.sh
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue