commit | a8ffa45d4da8e25d4b0c59cd6241047199767b9f | [log] [tgz] |
---|---|---|
author | Googler <noreply@google.com> | Tue Apr 23 13:31:12 2024 -0700 |
committer | Copybara-Service <copybara-worker@google.com> | Tue Apr 23 13:33:00 2024 -0700 |
tree | c2b11c0ec0677de397ae8dd0cf552029bd4a4f58 | |
parent | eb00ae6378bb73e108b87c9e14d2620718c3dd59 [diff] |
Add a compile build variable to indicate memprof is used. We would like to set a custom define during linkstamp from crosstool features if memprof_optimize is specfied AND memprof_profile_path expands to a valid artifact. The memprof_profile_path variable is not exposed to the linkstamp action today. Since we only need to detect whether the memprof profile is used, we introduce a new variable "is_using_memprof" similar to fission, pic etc instead of reusing the existing profile var. PiperOrigin-RevId: 627488520 Change-Id: I6a36b337d42033baa201f9a7080eb27d0f953c48
{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