Skip to content
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

Update to bazel 0.25.1 #2744

Merged
merged 10 commits into from
May 20, 2019
Merged

Update to bazel 0.25.1 #2744

merged 10 commits into from
May 20, 2019

Conversation

pmuetschard
Copy link
Member

No description provided.

@hevrard
Copy link
Contributor

hevrard commented May 10, 2019

Linux and Windows builds still hit bazel errors apparently.

@pmuetschard pmuetschard force-pushed the bazel25 branch 4 times, most recently from b3ba4ed to 42ba19d Compare May 13, 2019 21:49
@hevrard
Copy link
Contributor

hevrard commented May 16, 2019

It's all green expect on Windows:

ERROR: C:/users/builder/_bazel_kbuilder/fsjplg7y/external/gapid/tools/build/rules/repository.bzl:100:9: no such package '@androidsdk//': C:\users\builder\_bazel_kbuilder\fsjplg7y\external\androidsdk and referenced by '//external:android/dx_jar_import'
ERROR: Analysis of target '//:pkg' failed; build aborted: Analysis failed

I can't spot reference to 'androidsdk' in your changes, so maybe it's just Kokoro being flaky?

I'll start a new kokoro build to see if it goes through.

Now builds with go 1.12 (https://golang.org/doc/go1.12) which should
result in better GC performance and memory usage.
 - Get rid of our override BUILD file.
 - But, use our own way of defining the deps, but trim them down
 - Clean up the grpc proto code generation rules. I removed the TODO, as
   I don't think it's worth doing anymore.
This build file is symlinked into the local_cc_config workspace and
only works there.
The go compiler requires about 8GB of RAM for the GLES and Vulkan
packages. Since they often get built together at the same time,
the build machine would run out of memory.
@@ -1,6 +1,6 @@
# Building GAPID

GAPID uses the [Bazel build system](https://bazel.build/). The current minimum required version of bazel is 0.18.1.
GAPID uses the [Bazel build system](https://bazel.build/). The current minimum required version of bazel is 0.25.1.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Gross big jump. But I assume its basically impossible to avoid.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The reality is that we were building with 0.20 before, but yeah, we should keep up with it a bit more.

@pmuetschard pmuetschard merged commit bdf4c37 into google:master May 20, 2019
@pmuetschard pmuetschard deleted the bazel25 branch May 20, 2019 16:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants