-
Notifications
You must be signed in to change notification settings - Fork 592
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Stop the support for the Make build system and move over to Bazel #14971
Comments
Hi, thank you for the proposal, we completely support it. A couple of additions and a summary of the current state. The Bazel effort for now only concerns the AGW, e.g., ORC8R, NMS, FEG and CWAG are not affected yet. This is also a non-goal for now. For AGW Docker images, yes it is not planned to create Docker images with Bazel. This is possible (a PoC exists), but there is currently no developer or end user benefit that would warrant this effort. You already mentioned that artifacts that run in the Docker containers are built with Bazel, this is correct for the c/c++ services. For the Python and Go services no make or Bazel builds are involved. About the current state:
What is missing:
What is needed for a switch-over:
|
What is the scope of the work for "What is missing" and "What is needed for a switch-over"? Is it in the budget? If not, how much additional budget is needed? |
Hi @lucasgonze,
|
Covered under existing work:
Components that aren't yet covered, but would be simple:
Not covered:
|
Accepted in TSC meeting 2023 Feb 13th https://wiki.magmacore.org/display/HOME/February+13%2C+2023+Meeting |
Problem
Currently Magma supports two build systems for the artefacts:
The transition to Bazel as a build system started almost a year ago and ad this moment, Bazel had overtaken the Make build system. The Make build system became a legacy system for the projects and at this moment we already have functionality which is only supported by the Bazel system. This creates discrepancy between the systems and creates a problem for the future development of the CI/CD. Magma community can no longer support both systems so at this moment, we are faced with the decision either to stop and abandon the move to Bazel system or discontinue the Make system.
Solution
The proposal is to deprecate and fully remove the make system from the
master
branch and starting from the upcoming release (1.9) to support only Bazel as the build system. This transition doesn't include the discussion of moving the build of the Docker containers to Bazel, rather only the use of Bazel as build system for the artefacts inside the containers which currently is the case with majority of the Docker containers.The following steps are proposed:
master
branchNon-goals
As mentioned, the building of Docker containers using the Bazel is not scope of this proposal.
The text was updated successfully, but these errors were encountered: