[SERVER-85553] Require Bazel on Ubuntu 22 ARM Created: 22/Jan/24  Updated: 07/Feb/24

Status: In Code Review
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Improvement Priority: Major - P3
Reporter: Zack Winter Assignee: Trevor Guidry
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Problem/Incident
Related
Sprint: Build and Correctness OnDeck
Participants:
Linked BF Score: 151

 Description   

As part of migrating from scons to bazel, we've created a handful of bazel build targets that mirror scons build targets. These build targets are libraries that can be included in the final mongo binary optionally.

Now that most of the scons command line options have been migrated over to bazel, the next step is to gradually enable bazel to run by default. It's already been enabled on Amazon Linux 2023 ARM. This task tracks the work to enable it on Ubuntu 22 ARM.

The main difference in the build from Amazon Linux 2023 ARM and Ubuntu 22 ARM is that the former links statically and the latter links dynamically. Ubuntu 22 ARM also is the platform used by the default developer workstations.



 Comments   
Comment by Githook User [ 05/Feb/24 ]

Author:

{'name': 'aleksei.vasilev', 'email': 'aleksei.vasilev@mongodb.com', 'username': 'AlexVasilOne'}

Message: Revert "SERVER-85553 Require Bazel on Ubuntu 22 ARM (#18659)"

This reverts commit 0a563492b5f67d93862857cebf0b362bc1468f14.

GitOrigin-RevId: 36107ad0264068d05f8d3c8501be0e753dbc32e6
Branch: master
https://github.com/mongodb/mongo/commit/b3d9a2ebbd298e78467069ff5a560f721ac09779

Comment by Githook User [ 03/Feb/24 ]

Author:

{'name': 'Zack Winter', 'email': '3457246+zackwintermdb@users.noreply.github.com', 'username': 'zackwintermdb'}

Message: SERVER-85553 Require Bazel on Ubuntu 22 ARM (#18659)

GitOrigin-RevId: 0a563492b5f67d93862857cebf0b362bc1468f14
Branch: master
https://github.com/mongodb/mongo/commit/38a537a4ad5155640996ddea1a232fdb35c253d3

Comment by Githook User [ 02/Feb/24 ]

Author:

{'name': 'Zack Winter', 'email': '3457246+zackwintermdb@users.noreply.github.com', 'username': 'zackwintermdb'}

Message: Revert "SERVER-85553 Require Bazel on Ubuntu 22 ARM (#18264)" (#18643)

GitOrigin-RevId: 59f24c6f01f549e7d3f4dec0911ce87f926dcd47
Branch: master
https://github.com/mongodb/mongo/commit/719863c0789766c642f98a3622a017eeedf1a903

Comment by Githook User [ 02/Feb/24 ]

Author:

{'name': 'Zack Winter', 'email': '3457246+zackwintermdb@users.noreply.github.com', 'username': 'zackwintermdb'}

Message: SERVER-85553 Require Bazel on Ubuntu 22 ARM (#18264)

GitOrigin-RevId: 7af65b40de692ae756c5d100d1c5475e25c554d5
Branch: master
https://github.com/mongodb/mongo/commit/d81fc7efb5e3b1d878ad4abd443a125931b4b7c2

Generated at Thu Feb 08 06:58:01 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.