Update quick_start_guide.md #34
Open
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 run
to$bazel build
after 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 run
I 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-cache
Also 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 build
Result
INFO: Build completed successfully, 1 total action
Additional Information
Security Considerations