forked from bears-bugs/bears-benchmark
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdeps.sh
32 lines (27 loc) · 887 Bytes
/
deps.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
#!/bin/bash
# Update system and install necessary packages
apt-get update -y
apt-get install -y software-properties-common
apt-get update -y
apt-get install -y openjdk-8-jdk \
git \
build-essential \
subversion \
perl \
curl \
maven \
gradle \
ant \
unzip \
cpanminus \
make \
python3 \
python3-pip
# Clean up APT caches to free space
sudo rm -rf /var/lib/apt/lists/*
# Set Java environment variable
export JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64
export TZ=America/Los_Angeles
cd /
# Clone necessary repositories
git clone https://github.com/nus-apr/bears-benchmark