[New-bugs-announce] [issue34509] Starting to use gcc-8 on CI

Jun Aruga report at bugs.python.org
Sun Aug 26 13:14:57 EDT 2018

New submission from Jun Aruga <happy at oh4u.net>:

This ticket is from below conversation on python-dev mailing list.

Right now the Python project Travis CI is running on gcc-4.8.4 for coverage testing.
I want to replace it or add the latest version gcc-8 case.

The benefit to use gcc-8 is,

* It is important to run on the old version 4.8 but, it is also meaningful to follow the latest version and care issues such as warnings on the latest version gcc.
* I am working in Fedora project that is using gcc version 8 as a main c compiler. If the Python project care gcc-8, that might be helpful for people who maintain Python Debian/Fedora package or Installer on Mac/Windows.

The demerit is

* Right now the gcc-4.8 is used for the coverage. The total running time on gcc-8 might be longer than current one.
* To run the latest gcc-8, we can add the repository [1] with the way [2][3], but I am not sure whether the repository is stable.

I would show you 2 cases to use gcc-8 on Linux.

[1] https://launchpad.net/~ubuntu-toolchain-r/+archive/ubuntu/test
[2] https://docs.travis-ci.com/user/installing-dependencies/#installing-packages-from-a-custom-apt-repository
[3] https://docs.travis-ci.com/user/languages/c/#gcc-on-os-x
[4] Ruby
[5] Trinity
   Example for gcc-8 on both Linux and Mac.

messages: 324125
nosy: junaruga
priority: normal
severity: normal
status: open
title: Starting to use gcc-8 on CI
type: enhancement
versions: Python 3.8

Python tracker <report at bugs.python.org>

More information about the New-bugs-announce mailing list