buildenv_focal.sh 657 Bytes
Newer Older
Tobias WEBER's avatar
Tobias WEBER committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#!/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
# -----------------------------------------------------------------------------