[SERVER-9002] de-conflate platform and toolchain identification in scons Created: 16/Mar/13  Updated: 03/Apr/15  Resolved: 31/Mar/15

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: Jonathan Reams
Resolution: Duplicate Votes: 0
Labels: build-system-cleanup
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Sprint: BUILD 1 04/03/15
Participants:

 Description   

Until recently, we supported only GCC and MSVC as compilers. Recently, clang support was added. The SConstruct makes the assumption that the detected platform indicates the compiler: windows means MSVC, linux or darwin means GCC (or clang).

This really isn't correct. Clang does run on windows, so does the intel compiler, etc.

We should orthogonalize platform detection and toolchain detection.



 Comments   
Comment by Jonathan Reams [ 31/Mar/15 ]

This was resolved by SERVER-9562 and SERVER-9555.

Comment by auto [ 23/Mar/13 ]

Author:

{u'date': u'2013-03-23T19:30:36Z', u'name': u'Andrew Morrow', u'email': u'acm@10gen.com'}

Message: SERVER-9002 Fix indentation issue with compiler detection bodies
Branch: master
https://github.com/mongodb/mongo/commit/224a7bb7f6669eb80c393d536a894d8841f003c3

Comment by auto [ 23/Mar/13 ]

Author:

{u'date': u'2013-03-16T19:16:16Z', u'name': u'Andrew Morrow', u'email': u'acm@10gen.com'}

Message: SERVER-9002 Some preliminary work towards knowing what toolchain we are using
Branch: master
https://github.com/mongodb/mongo/commit/6286ed8d316f494d948ec02a2bc4163cc9285934

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