commit | 91673a2c11d64b1ec21bf1edfe35a242a7daa569 | [log] [tgz] |
---|---|---|
author | Googler <jingwen@google.com> | Thu Oct 24 07:12:53 2024 -0700 |
committer | Copybara-Service <copybara-worker@google.com> | Thu Oct 24 07:14:04 2024 -0700 |
tree | c042e33444d9b12988293527585cefe762dc5909 | |
parent | 9c901001109fb128993b04234d1378bc8b7e9f45 [diff] |
Fix FrontierNodeVersion multiple instantiation and add logging. getSkyValueVersion calls were still creating multiple FrontierNodeVersion objects, and I realized that it was missing double-checked locking in the synchronized block. Also remove the call to serialize a simple string repr of the active directories -- we can pass the actual byte array instead. Also added a log line for the components of the skyvalue version for debugging. ``` 241024 09:20:21.005:I 51 [com.google.devtools.build.lib.buildtool.BuildTool.buildTargets:223] Build identifier: 2d2c2b5c-1930-4d5f-86a2-759b3e3814f7 241024 09:21:26.650:I 2486 [com.google.devtools.build.lib.buildtool.BuildTool$RemoteAnalysisCachingDependenciesProviderImpl.getSkyValueVersion:1182] Remote analysis caching SkyValue version: FrontierNodeVersion{topLevelConfig=-75950329, directoryMatcher=-1987693526, blazeInstall=-542573734, precomputed=688156809} ``` PiperOrigin-RevId: 689369335 Change-Id: I0931bc6662d83b5e5a107aa541715b509be67857
{Fast, Correct} - Choose two
Build and test software of any size, quickly and reliably.
Speed up your builds and tests: Bazel rebuilds only what is necessary. With advanced local and distributed caching, optimized dependency analysis and parallel execution, you get fast and incremental builds.
One tool, multiple languages: Build and test Java, C++, Android, iOS, Go, and a wide variety of other language platforms. Bazel runs on Windows, macOS, and Linux.
Scalable: Bazel helps you scale your organization, codebase, and continuous integration solution. It handles codebases of any size, in multiple repositories or a huge monorepo.
Extensible to your needs: Easily add support for new languages and platforms with Bazel's familiar extension language. Share and re-use language rules written by the growing Bazel community.
Follow our tutorials:
To report a security issue, please email security@bazel.build with a description of the issue, the steps you took to create the issue, affected versions, and, if known, mitigations for the issue. Our vulnerability management team will respond within 3 working days of your email. If the issue is confirmed as a vulnerability, we will open a Security Advisory. This project follows a 90 day disclosure timeline.
See CONTRIBUTING.md