Add a script to install deps on Fedora
This commit is contained in:
parent
e827866904
commit
31dfc196fc
|
@ -13,6 +13,11 @@ DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
|
||||||
|
|
||||||
if [[ "$OSTYPE" == "darwin"* ]]; then
|
if [[ "$OSTYPE" == "darwin"* ]]; then
|
||||||
${DIR}/install_mac_os_deps.sh
|
${DIR}/install_mac_os_deps.sh
|
||||||
|
else
|
||||||
|
DISTRO=$( awk -F= '/^ID/{print $2}' /etc/os-release )
|
||||||
|
if [ "$DISTRO" == "fedora" ]; then
|
||||||
|
${DIR}/install_fedora_deps.sh
|
||||||
else
|
else
|
||||||
${DIR}/install_ubuntu_deps.sh
|
${DIR}/install_ubuntu_deps.sh
|
||||||
fi
|
fi
|
||||||
|
fi
|
||||||
|
|
|
@ -0,0 +1,3 @@
|
||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
sudo dnf install -y gcc g++ cmake git tbb-devel eigen3-devel glew-devel ccache libjpeg-turbo-devel libpng-devel lz4-devel bzip2-devel boost-regex boost-filesystem boost-date-time boost-program-options gtest-devel opencv-devel
|
Loading…
Reference in New Issue