Skip to content

travis: update to clang 7 and actually use it - #3670

Closed
MarcelRaad wants to merge 2 commits into
curl:masterfrom
MarcelRaad:clang-7
Closed

MarcelRaad wants to merge 2 commits into
curl:masterfrom
MarcelRaad:clang-7

Conversation

@MarcelRaad

Copy link
Copy Markdown
Member

For the Linux builds, GCC 8 and 7 and clang 7 were installed, but the
new GCC versions were only used for the coverage build and for building
nghttp2, while the new clang version was not used at all.

BoringSSL needs to use the default GCC as it respects CC, but not CXX,
so it would otherwise pass gcc 8 options to g++ 4.8 and fail.

Also remove GCC 7, it's not needed anymore.

Ref: https://docs.travis-ci.com/user/languages/c/#c11c11-and-beyond-and-toolchain-versioning

For the Linux builds, GCC 8 and 7 and clang 7 were installed, but the
new GCC versions were only used for the coverage build and for building
nghttp2, while the new clang version was not used at all.

BoringSSL needs to use the default GCC as it respects CC, but not CXX,
so it would otherwise pass gcc 8 options to g++ 4.8 and fail.

Also remove GCC 7, it's not needed anymore.

Ref: https://docs.travis-ci.com/user/languages/c/#c11c11-and-beyond-and-toolchain-versioning

Closes

@bagder bagder left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yay!

@bagder

bagder commented Mar 12, 2019

Copy link
Copy Markdown
Member

The iconv build in travis seems to actually have worked so the red there can be ignored.

@MarcelRaad MarcelRaad changed the title Update to clang 7 and actually use it travis: update to clang 7 and actually use it Mar 12, 2019
MarcelRaad added a commit to MarcelRaad/curl that referenced this pull request Mar 12, 2019
For the Linux builds, GCC 8 and 7 and clang 7 were installed, but the
new GCC versions were only used for the coverage build and for building
nghttp2, while the new clang version was not used at all.

BoringSSL needs to use the default GCC as it respects CC, but not CXX,
so it would otherwise pass gcc 8 options to g++ 4.8 and fail.

Also remove GCC 7, it's not needed anymore.

Ref: https://docs.travis-ci.com/user/languages/c/#c11c11-and-beyond-and-toolchain-versioning

Closes curl#3670
@MarcelRaad
MarcelRaad deleted the clang-7 branch March 12, 2019 07:39
@lock lock Bot locked as resolved and limited conversation to collaborators Jun 10, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants