Skip to content

Commit 13e3e65

Browse files
committed
Add sudo; avoid installing already available deps
1 parent 4caf431 commit 13e3e65

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

buildscripts/kokoro/linux_artifacts.sh

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -35,12 +35,5 @@ mkdir -p "$MVN_ARTIFACT_DIR"
3535
cp -r "$LOCAL_MVN_TEMP"/* "$MVN_ARTIFACT_DIR"/
3636

3737
# for aarch64 platform
38-
apt-get install -y wget autoconf automake libtool g++-aarch64-linux-gnu g++ make
39-
40-
apt-get install software-properties-common -y
41-
add-apt-repository ppa:openjdk-r/ppa -y
42-
apt-get update
43-
apt install openjdk-8-jdk -y
44-
export JAVA_HOME=`dirname $(dirname $(update-alternatives --list javac |grep java-8))`
45-
update-ca-certificates -f
38+
sudo apt-get install -y g++-aarch64-linux-gnu
4639
SKIP_TESTS=true ARCH=aarch_64 ./buildscripts/kokoro/unix.sh

0 commit comments

Comments
 (0)