Verified Commit 9c8f1af3 authored by Tobias WEBER's avatar Tobias WEBER
Browse files

setup scripts

parent f96884de
......@@ -3,7 +3,7 @@
# downloads external libraries for in20tools
# @author Tobias Weber <tweber@ill.fr>
# @date 6-apr-18
# @license see 'LICENSE' file
# @license GPLv3, see 'LICENSE' file
#
# -----------------------------------------------------------------------------
......
#!/bin/bash
#
# install additional packages needed for building
# @author Tobias Weber <tobias.weber@tum.de>
# @date 30-jul-20
# @license GPLv3, see 'LICENSE' file
#
if [[ $(id -u) -gt 0 ]]; then
echo -e "Please run this script as root."
exit -1
fi
# -----------------------------------------------------------------------------
# install packages
# -----------------------------------------------------------------------------
if ! apt-get install g++-10 liblapacke-dev llvm llvm-dev
then
echo -e "Error: Could not install packages necessary for building."
exit -1
fi
# -----------------------------------------------------------------------------
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment