Ecosyste.ms: OpenCollective

An open API service for software projects hosted on Open Collective.

github.com/oppia/bazel

a fast, scalable, multi-language and extensible build system
https://github.com/oppia/bazel

Consolidating the uses of remoteExecutionProperties in preparation for adding

extra logic.

As a side effect, Docker Sandbox now recognizes remote_default_platform_properties
...

77ef8d61356961e877f5043cc655c8d3501adaec authored over 5 years ago
add singlejar flag that fills in missing directory entries.

Setting this flag makes Jars look more like what typically comes out of the jar (or zip) tool wh...

dd8a75e674c5b91f8783764fa44fe8f7b7e2bc2d authored over 5 years ago
Rename suggested platform target for Clang on Windows

RELNOTES: None
PiperOrigin-RevId: 259549140

c5c2a4d711585e2e7b968367a5b6c61ba7d8b0b9 authored over 5 years ago
Separate documentation for Globals Constants and Functions

This changes the Starlark build API reference documentation (the "One-Page Overview" to have a s...

a514febe5f7318a3e761d7bbeddca2f8f3054010 authored over 5 years ago
CriticalPathComputer: flag for consistency check

There are cases where we might want to disable the consistency check,
e.g., for performance.

Pi...

79fc04b8ae0bc2e3b609d3212583e2fa8965620b authored over 5 years ago
Redirect all support requests to bazel-discuss

Since we no longer actively monitor stack overflow.

Closes #8948.

PiperOrigin-RevId: 259528241

eca69408dd927c444ed099e3ccb61ffb8afc15bc authored over 5 years ago
Add a prebuilt toolchain to java_tools.

The new toolchain is using all the pre-built tools, including singlejar and ijar, even on remote...

c392dc2842226f107a25e34f3b941c3c82a97803 authored over 5 years ago
Fix building ijar_cc_binary and singlejar_cc_bin without sandbox by removing dependency on @bazel_tools//tools/cpp:malloc

As @laszlocsomor [explained](https://github.com/bazelbuild/bazel/pull/8742#issuecomment-50674568...

2bdd3289d69b022bdd98d0924068266bc9d3dcf3 authored over 5 years ago
Don't say "checking cached actions" until execution begins.

There may be some other work going on, i.e. ActionContextProviders.

PiperOrigin-RevId: 259517994

172bf72018118dfdaddae431d5b9bde7a3932d11 authored over 5 years ago
Mirror files used by bazel_proto_library_test to mirror.bazel.build.

RELNOTES: None.
PiperOrigin-RevId: 259517148

96d1b9f4149d9b5e592830154c85ef63bdd339e3 authored over 5 years ago
Use CompactHashSet to reduce garbage generation

PiperOrigin-RevId: 259513831

985087f5f0e792f8a2917b19ae5abfdf5359d7ce authored over 5 years ago
skylark_repository_test: add checksums for http downloads

...so that our tests are compatible with the #8607 flag flip.

Change-Id: Ie2164b97c6be60cb58520...

b150d01f440f7fc3d51b4bfa99391f04693df1ea authored over 5 years ago
Fix naming of flag --build_event_json_file_path_conversion.

In https://github.com/bazelbuild/bazel/commit/1e0628d18c2e3defaddd935ffb41edbf3ef40339 (~two yea...

2a96518b72b288d8bcb1911e660d539fffe0d4ac authored over 5 years ago
Fix singlejar & ijar builds and add tests.

Closes #8950.

PiperOrigin-RevId: 259494519

f5a6ee171dfa51dc06818591a9df5b5f469990be authored over 5 years ago
add expansion flags for builds without the bytes

this change is purely for convenience to make it easier to enable
builds without the bytes.

Clo...

4c6af8373a25bc40be3f816c9d5c548a1b3caad2 authored over 5 years ago
fix test_download_multiple

This test was trying to verify that if two download locations are provided,
both are recorded in...

5b4c0e5353dbf98e5b0d4e9b2291c4210378fb6e authored over 5 years ago
Add ActionSketch as a basis for top-down action caching.

RELNOTES: None
PiperOrigin-RevId: 259451621

a73aadf582b40f8a7412d2894ae9a3600d803cae authored over 5 years ago
Tell Proguard to keep all members of caffeine cache in JavaBuilder proguarded jar.

PiperOrigin-RevId: 259450655

8bce44962dcbd073e9b976573564767e99c8a675 authored over 5 years ago
Address error prone warning in PackageFunction by inlining variable initialization with its declaration.

RELNOTES: None
PiperOrigin-RevId: 259441919

0b99a4cca3765c6d78d5a539640654eefde3b7a1 authored over 5 years ago
Always report when a package is done to the PackageProgressReceiver.

Previously, if a package was so broken that a even an errored PackageValue couldn't be created f...

723eca61fe3899ab94d4eadfe17bd212104d8bfb authored over 5 years ago
Fix MarkdownRenderer to accept templates that are not built-in resources

PiperOrigin-RevId: 259413791

a5e40a5f3f69d9992f144a4b51b110f503759840 authored over 5 years ago
Fix miscategorized Starlark provider types

RELNOTES: None.
PiperOrigin-RevId: 259394477

6b365f860f2f5bf078bba52f7d241200ac7e5ea7 authored over 5 years ago
Add flag to toggle genquery result compression, on by default

Follow-up change to toggle the optimization added in https://github.com/bazelbuild/bazel/commit/...

aae5691f41cdfc754b65cd9a17c3c3b2332b1e8c authored over 5 years ago
Make config_setting work with list-typed Starlark flags.

Before this change, no list-typed Starlark flag match
any config_setting, period.

After this ch...

7678185482393dd670d71bc0748bcaab74042aeb authored over 5 years ago
Clarify that the numbers refer to the usage & size of the tenured space, not that of the entire heap.

RELNOTES: None
PiperOrigin-RevId: 259366068

6c34d6db0f22413ca2c1060f3c539c095d1252db authored over 5 years ago
Add explicit naming convention to style guide for rules

Closes #8884.

PiperOrigin-RevId: 259364971

ff031dbcc2ff9a553a9ff50e365549c7c6cfcada authored over 5 years ago
Remove comment about compiling from source.

Commit fe188d6 changed this to use the binary package instead.

Closes #8700.

PiperOrigin-RevId...

dd3a159d7d77e75792189ca98cb116bc4ef0e684 authored over 5 years ago
Disabled string.partition default parameter and introduce incompatible flag

Related: #8725

Closes #8894.

PiperOrigin-RevId: 259348686

9a615e9ab56875282c050fc8ca34ff626b228723 authored over 5 years ago
Allow passing extra HTTP headers to remote cache

Fixes GitHub Issue #8245
https://github.com/bazelbuild/bazel/issues/8245

Closes #8680.

PiperOr...

781b0887431a3c29b2b68305bb0756fb1a867a55 authored over 5 years ago
Make remote_download_outputs=toplevel work for tests too

This introduces two new behaviours:
1) bazel test //:foo_test downloads
bazel-testlogs/foo_tes...

34784c3102f7aef6165353cc75fff1a7c57a9042 authored over 5 years ago
repository context: on download, also consider integrity checksums sufficient

The function download{,_and_extract} of a repository context allow to provide
checksums that the...

02af54d6ad8e3f275fac4092f17c2348d9fbcf22 authored over 5 years ago
ConfiguredTargetFunction: remove debug marker

The change of the user-visible error message was introduced in 904a8d63833301f54c7df85bccc56ff67...

c1ec34fef5fdaf84eb2fe3b4ce9c53d8189d8fc3 authored over 5 years ago
add .bazelversion to .gitignore file

PiperOrigin-RevId: 259299473

8ef17990f607b9e57d6d4336b807d329f3c0fff9 authored over 5 years ago
Add incompatible flag to forbid loading the native Protobuf rules

RELNOTES: --incompatible_load_proto_rules_from_bzl was added to forbid loading the native proto ...

2fad01673a2c6cf6088016f5999474310065ba31 authored over 5 years ago
Make TestProvider provide the list of test outputs

The plan is to use this in a follow up CL to determine outputs of a test for the purposes of sta...

26266b74a2f2caa18e1a661d6fc5fa67123f44f3 authored over 5 years ago
C++: Introduce flag for forcing rules through macro

The flag `--incompatible_load_cc_rules_from_bzl` will be flipped for Bazel 1.0.

GitHub Issue: #...

8daa514b192e0b88c8e6c2dc515d15dff9594513 authored over 5 years ago
Use chaining to reduce duplicate toolchain vars

The idea is that all actions generated the same CcCompilationHelper
share a set of toolchain var...

3b10c5998717b1b8376e624437dd4f370c45d72f authored over 5 years ago
Don't memoize the artifacts to owners supplier since it is only used in one place, and memoizing holds a reference to the result longer than necessary.

PiperOrigin-RevId: 259079198

184b454594c865150bfc2df274a6ace4a49e0043 authored over 5 years ago
Make transitionDirectoryNameFragment a hash of the following

(1) names and current values of all native options that have been touched by starlark transitions...

77497817b011f298b7f3a1138b08ba6a962b24b8 authored over 5 years ago
Make HasDigest serializable.

PiperOrigin-RevId: 259025312

031db8ee77ba608806515d1c1efa3f344ae52be1 authored over 5 years ago
Add flags to Stardoc to allow templates as inputs

PiperOrigin-RevId: 258972534

6c60a8ec049b6b8540c473969dd7bd1dad46acb9 authored over 5 years ago
Release 0.28.1 (2019-07-19)

Baseline: 2e374a9c6e3d4ed71f0145de287c4b2fe43c76d6

Cherry picks:

+ 6d0b14b95a71175362030b48...

3fd8c4153e00fe9c9d8914fb1df37c0a3de6ca87 authored over 5 years ago
Augment recommendation in java_import_external to be consistent with maven_jar, rules_jvm_external naming style

maven_jar recommends the following:

> Note that the maven_jar name is used as a repository name...

92cb2242e357ad3c807e1219476b9174c3d3a48e authored over 5 years ago
Update gRPC to use the new ProtoInfo instead of the legacy .proto. provider.

Partial commit for third_party/*, see #8938.

Signed-off-by: iirina <[email protected]>

5377ba4d5c7478f164ec6c873e89cbc8429d553a authored over 5 years ago
Add toolchain support for clang-cl on Windows

Previously we [added clang-cl.exe support](https://github.com/bazelbuild/bazel/pull/6553) throug...

12ebd7bb4905f0fdabdaa6db4a22dab7fd95dea8 authored over 5 years ago
Update the skydoc version.

The new version defines `@rules_java` and `@rules_cc` in their WORKSPACE file.

Closes #8876.

P...

d26a3c1d4df959156cf3dff543e5d20c21802840 authored over 5 years ago
Use bazelbuild/rules_pkg for the debian release packaging.

**Note**: `--host_force_python=PY2` is no longer required when using pkg_deb.

Before:

```
$ ba...

46fb33c1ce3b4526611882e7b266f141fe3a4efd authored over 5 years ago
Update TODO reference for flag cleanup

RELNOTES: None
PiperOrigin-RevId: 258859323

030f7d494fb61ef03779a54fcd5feb0625e53a1f authored over 5 years ago
Add source jar support to aar_import via the srcjar attribute

Fixes https://github.com/bazelbuild/bazel/issues/8671

Closes #8692.

Change-Id: I09b0266cf46775...

404e804a27667a8a5e76595bf82a1795e6db262b authored over 5 years ago
Add -iquote include paths for a target before the -iquote includes from its dependencies

RELNOTES: None.
PiperOrigin-RevId: 258802249

c01a43a22e7fa25c08b42d0018a47feb379f2815 authored over 5 years ago
sort filenames not bytes when building bazel

this removes ~4s of build time on my machine.

Closes #8926.

PiperOrigin-RevId: 258778774

1186ceccd13efaada5693933f41faa52c77645d3 authored over 5 years ago
Automated rollback of commit be25bbf38d9337432c1e79e3f027ad5d0122bb40.

*** Reason for rollback ***

Breaks bazel-skylib

See https://github.com/bazelbuild/bazel-skylib...

eb0e201b4b9abe9871e639c9595d0a892da17669 authored over 5 years ago
Enable build step for RBE presubmit

I noticed that we have only been running the test step for the RBE presubmit. This also enables ...

a2b042cb9309374ec61d85e8f8b36ad12947d2a5 authored over 5 years ago
C++: Add defs.bzl to genproto.bzl

RELNOTES:
PiperOrigin-RevId: 258767676

9f73b2c67761ead7c2bfad73da6d4d698a5172d6 authored over 5 years ago
remove unnecessary sequential build step

This saves ~20s build times on RBE.

Closes #8925.

PiperOrigin-RevId: 258767454

92931bdd1ec215e7e7ea97782d1d566c3a63ca0f authored over 5 years ago
Make deps transitive in windows_dll_library

If cc_binary A depends on windows_dll_library B, which depends on windows_dll_library C. A shoul...

9ec37343da5d27dd4c388cd8aa3c012f16b107fe authored over 5 years ago
Copy --experimental_generated_protos_in_virtual_imports to the host configuration.

That was a rookie mistake.

This allows flipping flag from https://github.com/bazelbuild/bazel/c...

3aaca3ac33bc8e23d883fe9748518e7d7af38424 authored over 5 years ago
Move up discarding the analysis cache so that it is done prior to invoking executionPhaseStarting on any ActionContextProvider.

PiperOrigin-RevId: 258678792

594c32d8652b4bc5a8ad8f0566cf48c4458c40ee authored over 5 years ago
Move remaining global variables into ServerProcessInfo

The remaining variables were related to a server process and its configuration,
so move to a new...

f40241c347a95a992303be78084b6daced278b24 authored over 5 years ago
Allow tests to inject their own BugReporter object. This allows Java integration tests to trigger sending bug reports without crashing, and to assert that those reports were actually generated.

PiperOrigin-RevId: 258637606

7a6808260a733d50983c1adf0cf5a7493472267f authored over 5 years ago
Go back to using stderr and stdout for terminal detection

Logical rollback of https://github.com/bazelbuild/bazel/commit/d22eddc1d513731308438b38adc6a78bd...

ac5a971097a05e72a4c011cde6fbb3f347067b1e authored over 5 years ago
Integrate Android NDK with toolchains

Fixes https://github.com/bazelbuild/bazel/issues/8871

Generates toolchains for the `cc_toolchai...

bf94dab4135743efb0c6eb675c846f060013f683 authored over 5 years ago
Update configurable attribute docs with the new config_setting_group

Note that the new hyperlinks to `config_setting_group` depend on https://github.com/bazelbuild/b...

ed0f7d07821c9ee01882f54d6d75be110435034d authored over 5 years ago
Make incremental repository updates feature available without a flag

- i.e. managed directories attribute can be used in workspace() function without --experimental_...

fc057437ec054e8f154e97ef87eaeabcefed53bf authored over 5 years ago
Support subresource integrity format for `download()` checksums.

Closes #4881
Closes #7208.

PiperOrigin-RevId: 258577605

7108c77007efc6f3162e127f252707e9ab743d36 authored over 5 years ago
Use rules_pkg for rpm build

Switch to rules_pkg for rpm distributions.

Before-after testing:
bazel build //scripts/packages...

ed8a5ecffe83bf55da8ceacda47dba15dd02bd8a authored over 5 years ago
Add --//tools/build_defs/pkg:incompatible_no_build_defs_pkg flag

This flag turns off the rules //tools/build_defs/pkg:{pkg_deb, pkg_rpm, pkg_tar}.

The code has ...

b3ddb954b8fff1172463b80fc3528f34478ed393 authored over 5 years ago
external_integration_test: provide needed checksum

In preparation of the flag flip in #8607, use a checksum for
our plain http-downloads.

Change-I...

66a577385539887743bd99b9239b9b70fc55b4f8 authored over 5 years ago
Add (inactive) code to compress large GenQuery results in memory on the fly

Dynamically switches to gzipping GenQuery results >1M, trading CPU for memory.
Hard coded to off...

6d63f8a1ad33490b97e60955277c4ebca40a4f48 authored over 5 years ago
external_integration_test: provide hashsum, even if we expect a timeout

Since we run our tests for downloads via plain http, provide a checksum,
even in the case where ...

26bcd275cd13b7e3091dd051f9572ae9532e1cab authored over 5 years ago
Support multi-level namespace structs

Fixes https://github.com/bazelbuild/skydoc/issues/165.

PiperOrigin-RevId: 258559367

811a8053e33de0c6111de63c52b238744f5fbcec authored over 5 years ago
bazel_repository_cache_test: explicitly allow unverified downloads from localhost

The repository cache tests (among other things) that a download of a file adds it
to the cache u...

7c0cb0ad2de7e6c901ddd338f1675b16ba5153f4 authored over 5 years ago
Update langtools_jdk repositories to load @rules_java.

Closes #8915.

PiperOrigin-RevId: 258551319

b815b7920580bce3fd6aec503903a96604b17b63 authored over 5 years ago
Update j2objc

Closes #8912.

PiperOrigin-RevId: 258544579

dcbad673431a3f3715ab47e29f42e0710209a4ed authored over 5 years ago
Refactor windows_cc_configure.bzl

Separate the template variables for different toolchains, this will make it easier to add proper...

d114ef86d35a18101f4361c1e999f85da1e05df8 authored over 5 years ago
Remove unused GENERATE_LIBRARY_R tool

"GENERATE_LIBRARY_R" does not appear anywhere in Bazel.

RELNOTES: Removed dead code
PiperOrigin...

6053846aad90a50003b04d3a29d4f3dae1465ca3 authored over 5 years ago
Windows, windows_cc_configure.bzl: Pass -vcvars_ver flag only when it is supported.

Previously, we assume -vcvars_ver is always supported from VS 2017, but it is only introduced fr...

9887358a5c73db03abd19d058fcc0515c97b1451 authored over 5 years ago
Tags propagation: added incompatible flag

reverted rollback of tags propagation: https://github.com/bazelbuild/bazel/commit/29eecb56c5f0f2...

53ee8c30ef5717144448f925cdaf9c6587fb19f9 authored over 5 years ago
Remove skipParsingAction() from AndroidConfiguration.

PiperOrigin-RevId: 258502740

6530003204dec22875c5cfce8e41c5c88eabe1aa authored over 5 years ago
Replace com.google.testing.junit.runner.util.Supplier with java.util.function.Supplier

RELNOTES: None.
PiperOrigin-RevId: 258453045

1abdb0bb86ed6359643641f7f9601bcb2d9f0594 authored over 5 years ago
bazel syntax: simplify implementation of sorted function

I failed to notice in the GitHub review
(github.com/bazelbuild/bazel/pull/8881)
that the functio...

327bd6639204c455169f779d532e7f22a1101dad authored over 5 years ago
Optionally expand Fileset in BEP. When referenced in top-level targets, we now show the expanded Fileset in BEP when enabled.

RELNOTES: None
PiperOrigin-RevId: 258422325

f6408d60c724b971ce684ece89b4000b54f81ccd authored over 5 years ago
RELNOTES: None

PiperOrigin-RevId: 258405113

d6141e9f7f36a3b49c95ba753297cf2f58f72436 authored over 5 years ago
Add query test showing "kind(' rule', siblings(//foo:BUILD))" matches a target named :all.

RELNOTES:
None.
PiperOrigin-RevId: 258403774

8dc51712644c3c91b6a3706d70c750a429773979 authored over 5 years ago
Add key and reverse parameters to builtin sorted function

Implement:https://github.com/bazelbuild/starlark/issues/20#issuecomment-456647994

Closes #8881....

cc2c4eea609f45c9370091abdf37c88530e64b23 authored over 5 years ago
Add unary plus operator, +int

Implements: https://github.com/bazelbuild/starlark/issues/20#issuecomment-456647994

Closes #889...

3c00063dd9ba251a3ef395b8e95b4776f6dea10c authored over 5 years ago
Fix broken links in bazel-overview.md

There were a few links which were incorrectly pointed to the `user-manual` page instead of the `...

1c3e9add6bf1b54ef5dce5cfc03a483340ed973c authored over 5 years ago
Fix indentation.

PiperOrigin-RevId: 258374855

6e132861316ce7a476a2f17a9b4eda5b9c47e06e authored over 5 years ago
Implement `bazel sync --configure`

...to only unconditionally fetch all configure-like repositories.

Change-Id: I333e998dba1f091e7...

4a1380fed159f09b29df461b85e0469f8cd81d34 authored over 5 years ago
Fix genproto.bzl test broken by unknown commit

Removed load() for defs.bzl from genproto.bzl. I can add this back at a later
CL. This will requ...

04737bad7013dd2712d4dda6fab6aaf767d16ade authored over 5 years ago
read_netrc: read file directly

...instead of working around the now-dropped restriction of read to the
current repository.

Cha...

4e5e8bbe1aa43799e7e0f26bc13606f969a6a01a authored over 5 years ago
Fix an incompatibility with newer MSYS2 versions that caused the compile.sh script to hang / fail.

We had to replace the call to "cmd.exe /C mklink" due to MSYS2's new path mangling algorithm rep...

f24768b0aa0cbeb98176a1cb34c02f325c37f875 authored over 5 years ago
windows_cc_configure: report custom envvars

setup_vc_env_vars() now reports envvars the caller
is interested in.

This is prework to support...

07853cdc0eeaf99b2458e8046b81b831e62479f6 authored over 5 years ago
Use getPackageIdentifier to tell if a DLL should be copied or not.

Previously, we were using package name, that is incorrect when the DLL and the binary have the s...

1b2e76014976bf4d2bf1bbfcad87c4109c78acda authored over 5 years ago
Implement list.clear()

#8728

Closes #8764.

PiperOrigin-RevId: 258347327

e1bd686e25909f11ccecdac2607222df940138d7 authored over 5 years ago
register_{toolchains, execution_platforms}: honor renaming

When handling the registration of toolchains or execution platforms,
take the applicable renamin...

be25bbf38d9337432c1e79e3f027ad5d0122bb40 authored over 5 years ago
Make ActionAnalysisMetadata a SkyKey.

PiperOrigin-RevId: 258220320

0b5f341700f6de633b72d8d6c0370b5e40630c53 authored over 5 years ago
bazel parser: avoid fancy interner

A simple map is fine.

PiperOrigin-RevId: 258214126

9b608f93e48bfcd7d07143f0cc50461a691aea9f authored over 5 years ago
Update sha1 documentation for the maven_jar rule to reflect its lack of security as a cryptographic hash.

See https://github.com/bazelbuild/bazel/issues/8880.

RELNOTES: None.
PiperOrigin-RevId: 258186415

b065b1318641db2e75b12ca6a29c89d9265f3389 authored over 5 years ago
repository_context.read: drop restriction to current repository

Currently, the read function of the repository context is restricted
to the external repository ...

f380735b9cb5082b2d50fabc3bba0d8c6af85b5d authored over 5 years ago