Skip to content

Commit

Permalink
Bump the version of gcc to 4.9
Browse files Browse the repository at this point in the history
  • Loading branch information
veblush committed Jan 15, 2020
1 parent 5a419c6 commit 7dac732
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 17 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@
<%include file="../../run_tests_addons.include"/>
<%include file="../../libuv_install.include"/>

# Install gcc-4.8 and other relevant items
RUN apt-get update && apt-get -y install gcc-4.8 gcc-4.8-multilib g++-4.8 g++-4.8-multilib && apt-get clean
# Install gcc-4.9 and other relevant items
RUN apt-get update && apt-get -y install gcc gcc-multilib g++ g++-multilib && apt-get clean

# Define the default command.
CMD ["bash"]
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@
<%include file="../../run_tests_addons.include"/>
<%include file="../../cmake_jessie_backports.include"/>

# Install gcc-4.8 and other relevant items
RUN apt-get update && apt-get -y install gcc-4.8 gcc-4.8-multilib g++-4.8 g++-4.8-multilib && apt-get clean
# Install gcc-4.9 and other relevant items
RUN apt-get update && apt-get -y install gcc gcc-multilib g++ g++-multilib && apt-get clean

# Define the default command.
CMD ["bash"]
4 changes: 2 additions & 2 deletions tools/dockerfile/test/cxx_jessie_x64/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -89,8 +89,8 @@ RUN mkdir /var/local/jenkins
# libuv
RUN cd /tmp && wget http://dist.libuv.org/dist/v1.9.1/libuv-v1.9.1.tar.gz && tar -xf libuv-v1.9.1.tar.gz && cd libuv-v1.9.1 && sh autogen.sh && ./configure --prefix=/usr && make && make install

# Install gcc-4.8 and other relevant items
RUN apt-get update && apt-get -y install gcc-4.8 gcc-4.8-multilib g++-4.8 g++-4.8-multilib && apt-get clean
# Install gcc-4.9 and other relevant items
RUN apt-get update && apt-get -y install gcc gcc-multilib g++ g++-multilib && apt-get clean

# Define the default command.
CMD ["bash"]
4 changes: 2 additions & 2 deletions tools/dockerfile/test/cxx_jessie_x86/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -86,8 +86,8 @@ RUN sed -i '/deb http:\/\/deb.debian.org\/debian jessie-updates main/d' /etc/apt
RUN apt-get update && apt-get install -t jessie-backports -y cmake && apt-get clean


# Install gcc-4.8 and other relevant items
RUN apt-get update && apt-get -y install gcc-4.8 gcc-4.8-multilib g++-4.8 g++-4.8-multilib && apt-get clean
# Install gcc-4.9 and other relevant items
RUN apt-get update && apt-get -y install gcc gcc-multilib g++ g++-multilib && apt-get clean

# Define the default command.
CMD ["bash"]
13 changes: 5 additions & 8 deletions tools/run_tests/run_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -512,8 +512,6 @@ def _compiler_options(self, use_docker, compiler):

if compiler == 'gcc4.9' or compiler == 'default':
return ('jessie', [])
elif compiler == 'gcc4.8':
return ('jessie', self._gcc_make_options(version_suffix='-4.8'))
elif compiler == 'gcc5.3':
return ('ubuntu1604', [])
elif compiler == 'gcc7.4':
Expand Down Expand Up @@ -1455,12 +1453,11 @@ def isclose(a, b, rel_tol=1e-09, abs_tol=0.0):
argp.add_argument(
'--compiler',
choices=[
'default', 'gcc4.4', 'gcc4.6', 'gcc4.8', 'gcc4.9', 'gcc5.3', 'gcc7.4',
'gcc8.3', 'gcc_musl', 'clang3.4', 'clang3.5', 'clang3.6', 'clang3.7',
'clang7.0', 'python2.7', 'python3.5', 'python3.6', 'python3.7',
'python3.8', 'pypy', 'pypy3', 'python_alpine', 'all_the_cpythons',
'electron1.3', 'electron1.6', 'coreclr', 'cmake', 'cmake_vs2015',
'cmake_vs2017'
'default', 'gcc4.9', 'gcc5.3', 'gcc7.4', 'gcc8.3', 'gcc_musl',
'clang3.4', 'clang3.5', 'clang3.6', 'clang3.7', 'clang7.0', 'python2.7',
'python3.5', 'python3.6', 'python3.7', 'python3.8', 'pypy', 'pypy3',
'python_alpine', 'all_the_cpythons', 'electron1.3', 'electron1.6',
'coreclr', 'cmake', 'cmake_vs2015', 'cmake_vs2017'
],
default='default',
help=
Expand Down
2 changes: 1 addition & 1 deletion tools/run_tests/run_tests_matrix.py
Original file line number Diff line number Diff line change
Expand Up @@ -308,7 +308,7 @@ def _create_portability_test_jobs(extra_args=[],

# portability C and C++ on x64
for compiler in [
'gcc4.8', 'gcc5.3', 'gcc7.4', 'gcc8.3', 'gcc_musl', 'clang3.5',
'gcc4.9', 'gcc5.3', 'gcc7.4', 'gcc8.3', 'gcc_musl', 'clang3.5',
'clang3.6', 'clang3.7', 'clang7.0'
]:
test_jobs += _generate_jobs(languages=['c', 'c++'],
Expand Down

0 comments on commit 7dac732

Please sign in to comment.