File tree 3 files changed +10
-13
lines changed 3 files changed +10
-13
lines changed Original file line number Diff line number Diff line change @@ -2,16 +2,15 @@ version: 0.2
2
2
3
3
phases :
4
4
install :
5
+ runtime-versions :
6
+ java : openjdk8
5
7
commands :
6
8
- sed -i 's#/archive.ubuntu.com#/us-east-1.ec2.archive.ubuntu.com#g' /etc/apt/sources.list
7
9
- add-apt-repository ppa:ubuntu-toolchain-r/test -y
8
10
- apt-key adv --keyserver keyserver.ubuntu.com --recv-keys BA9EF27F
9
11
- add-apt-repository ppa:openjdk-r/ppa -y
10
12
- apt-get update -y
11
- - apt-get install -y g++-5 clang-7 flex bison make git libwww-perl patch ccache libc6-dev-i386 jq
12
- - apt-get install -y openjdk-8-jdk
13
- - update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-5 1
14
- - update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-5 1
13
+ - apt-get install -y clang-7 flex bison make git libwww-perl patch ccache libc6-dev-i386 jq
15
14
build :
16
15
commands :
17
16
- echo Build started on `date`
Original file line number Diff line number Diff line change @@ -2,20 +2,19 @@ version: 0.2
2
2
3
3
phases :
4
4
install :
5
+ runtime-versions :
6
+ java : openjdk8
5
7
commands :
6
8
- sed -i 's#/archive.ubuntu.com#/us-east-1.ec2.archive.ubuntu.com#g' /etc/apt/sources.list
7
9
- add-apt-repository ppa:ubuntu-toolchain-r/test -y
8
10
- apt-key adv --keyserver keyserver.ubuntu.com --recv-keys BA9EF27F
9
11
- add-apt-repository ppa:openjdk-r/ppa -y
10
12
- apt-get update -y
11
- - apt-get install -y g++-5 flex bison make git libwww-perl patch ccache libc6-dev-i386 jq
12
- - apt-get install -y openjdk-8-jdk
13
- - update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-5 1
14
- - update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-5 1
13
+ - apt-get install -y flex bison make git libwww-perl patch ccache libc6-dev-i386 jq
15
14
build :
16
15
commands :
17
16
- echo Build started on `date`
18
- - cmake -H. -Bbuild '-DCMAKE_BUILD_TYPE=Release' '-DCMAKE_CXX_COMPILER=/usr/bin/g++-5 '
17
+ - cmake -H. -Bbuild '-DCMAKE_BUILD_TYPE=Release' '-DCMAKE_CXX_COMPILER=/usr/bin/g++'
19
18
- git submodule update --init --recursive
20
19
- cmake --build build -- -j2
21
20
post_build :
Original file line number Diff line number Diff line change @@ -2,16 +2,15 @@ version: 0.2
2
2
3
3
phases :
4
4
install :
5
+ runtime-versions :
6
+ java : openjdk8
5
7
commands :
6
8
- sed -i 's#/archive.ubuntu.com#/us-east-1.ec2.archive.ubuntu.com#g' /etc/apt/sources.list
7
9
- add-apt-repository ppa:ubuntu-toolchain-r/test -y
8
10
- apt-key adv --keyserver keyserver.ubuntu.com --recv-keys BA9EF27F
9
11
- add-apt-repository ppa:openjdk-r/ppa -y
10
12
- apt-get update -y
11
- - apt-get install -y g++-5 flex bison make git libwww-perl patch ccache libc6-dev-i386 jq gdb
12
- - apt-get install -y openjdk-8-jdk
13
- - update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-5 1
14
- - update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-5 1
13
+ - apt-get install -y flex bison make git libwww-perl patch ccache libc6-dev-i386 jq gdb
15
14
build :
16
15
commands :
17
16
- echo Build started on `date`
You can’t perform that action at this time.
0 commit comments