Open
Conversation
Changing from $make run to $bazel build after encountering this issue where "As part of the Make to Bazel switch-over of the AGW this Makefile will be deprecated soon" message.
Collaborator
|
Have you explored the lte/gateway/deploy/agw_install_docker.sh? How would you feel in documenting this path instead? Also, you have changed a versioned doc, which needs to be kept static. If I may recommend: do create a file in |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Changing from
$make runto$bazel buildafter encountering this issueAs part of the Make to Bazel switch-over of the AGW this Makefile will be deprecated soon" message.Summary
On running
$ make runI got the message:MAIN_FEATURE agw_of OAI_FLAGS -DS6A_OVER_GRPC=True -DEMBEDDED_SGW=True Warning: As part of the Make to Bazel switch-over of the AGW this Makefile will be deprecated soon, see https://github.com/magma/magma/issues/14971. Do not add any new Make targets for the AGW! All new targets should be integrated with the Bazel build system, see https://magma.github.io/magma/docs/next/bazel/agw_with_bazel.and a subsequent build failure.
Test Plan
I initially encountered permission issues so I first did the following(Not recommended for everyone):
$ sudo mkdir -p /var/cache/bazel-cache$ sudo chown -R vagrant:vagrant /var/cache/bazel-cacheAlso do the same for the repository cache:
$ sudo mkdir -p /var/cache/bazel-cache-repo$ sudo chown -R vagrant:vagrant /var/cache/bazel-cache-repo$ cd /home/vagrant/magma/lte/gateway$ bazel buildResult
INFO: Build completed successfully, 1 total actionAdditional Information
Security Considerations