[SERVER-25228] Ubuntu 16.04 ppc64le builder is missing -mcpu and -mtune flags Created: 22/Jul/16  Updated: 16/Feb/17  Resolved: 25/Jul/16

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

Type: Improvement Priority: Major - P3
Reporter: Andrew Morrow (Inactive) Assignee: Andrew Morrow (Inactive)
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Sprint: Platforms 18 (08/05/16)
Participants:

 Description   

Unlike the RHEL ppc64le build, the Ubuntu build does not have the flags for specifying power8.



 Comments   
Comment by Andrew Morrow (Inactive) [ 16/Feb/17 ]

Hi yjhjstz -

We build our own toolchain so that we can have a consistent version of GCC available across all the many distributions that we need to target. Some of the old systems do not offer a system toolchain that meets our requirements, so we need to build one. We don't currently make our toolchain available externally. However, you shouldn't actually need it in most systems. As long as your local system toolchain meets the toolchain requirements (which are enforced by SCons unless built with --disable-minimum-compiler-version-enforcement which basically never should be used), you can build MongoDB with the system toolchain. If your system toolchain doesn't meet the requirements, you can usually find a way to obtain a newer toolchain via additions to your packaging system.

Comment by Jianghua Yang [ 16/Feb/17 ]

where can I get `mongodbtoolchain`?

Comment by Githook User [ 25/Jul/16 ]

Author:

{u'username': u'acmorrow', u'name': u'Andrew Morrow', u'email': u'acm@mongodb.com'}

Message: SERVER-25228 Specify power8 for Ubuntu 16.04 ppc64le build
Branch: master
https://github.com/mongodb/mongo/commit/06f3d15f434ca3b8dff82402ab2fdeb496ecab57

Generated at Thu Feb 08 04:08:36 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.