[SERVER-9854] SCons builds on OS X should align default compiler choice with OS/XCode default choice Created: 03/Jun/13  Updated: 07/Apr/16  Resolved: 07/Apr/16

Status: Closed
Project: Core Server
Component/s: Build
Affects Version/s: None
Fix Version/s: None

Type: Improvement Priority: Major - P3
Reporter: Andrew Morrow (Inactive) Assignee: DO NOT USE - Backlog - Platform Team
Resolution: Done Votes: 0
Labels: build-system-cleanup
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Participants:

 Description   

We currently always default to building with GCC on OS X. However, at some point recently Apple have changed the default compiler ('cc' and 'c++') to be clang, rather than GCC. Our build system does not honor this default, but it should.

We need to figure out if the change in the default aligns with the OS revision, or with the XCode revision, but in any event we should mirror it, so that on modern systems the default compiler for Apple is clang.



 Comments   
Comment by Andrew Morrow (Inactive) [ 07/Apr/16 ]

I'm pretty sure we accomplished what this ticket was requesting - the build system no longer hard codes information about what compiler to use. Instead, it detects it and reacts appropriately.

Generated at Thu Feb 08 03:21:38 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.