From 9dc99a8c12300eeb536ed7d389cd4d8a7bc24bba Mon Sep 17 00:00:00 2001 From: Cat Flynn Date: Sun, 9 Oct 2022 21:02:07 +0100 Subject: [PATCH] add arch install deps script --- scripts/install_arch_deps.sh | 17 +++++++++++++++++ scripts/install_deps.sh | 2 ++ 2 files changed, 19 insertions(+) create mode 100755 scripts/install_arch_deps.sh diff --git a/scripts/install_arch_deps.sh b/scripts/install_arch_deps.sh new file mode 100755 index 0000000..155f5db --- /dev/null +++ b/scripts/install_arch_deps.sh @@ -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 diff --git a/scripts/install_deps.sh b/scripts/install_deps.sh index 3fae908..eb43a3d 100755 --- a/scripts/install_deps.sh +++ b/scripts/install_deps.sh @@ -17,6 +17,8 @@ else DISTRO=$( awk -F= '/^ID/{print $2}' /etc/os-release ) if [ "$DISTRO" == "fedora" ]; then ${DIR}/install_fedora_deps.sh + elif [ "$DISTRO" == "arch" ]; then + ${DIR}/install_arch_deps.sh else ${DIR}/install_ubuntu_deps.sh fi