Opened 8 months ago

Last modified 8 months ago

#27376 new defect

Travis: Actually use gcc on OS X

Reported by: teor Owned by:
Priority: Medium Milestone: Tor: unspecified
Component: Core Tor/Tor Version:
Severity: Normal Keywords: tor-ci, gcc, easy, intro
Cc: Actual Points:
Parent ID: Points:
Reviewer: Sponsor:

Description (last modified by teor)

On macOS, gcc is an alias to clang:

GCC version
Apple LLVM version 9.1.0 (clang-902.0.39.2)
Target: x86_64-apple-darwin17.4.0
Thread model: posix
InstalledDir: /Applications/Xcode-9.4.1.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin

https://travis-ci.org/teor2345/tor/jobs/421941946#L35

Doc update:
https://github.com/travis-ci/docs-travis-ci-com/pull/2002

If we want to use gcc on OS X, we have to set a specific GCC version in the environmental variables:
https://docs.travis-ci.com/user/languages/c/#gcc-on-os-x

Edit: canonical URL

Child Tickets

Change History (1)

comment:1 Changed 8 months ago by teor

Description: modified (diff)
Note: See TracTickets for help on using tickets.