| Commit message (Collapse) | Author | Age |
|
|
|
|
|
|
| |
AndroidManifest.xml
RELNOTES: None.
PiperOrigin-RevId: 208725953
|
|
|
|
|
| |
RELNOTES: None.
PiperOrigin-RevId: 208661270
|
|
|
|
|
|
| |
Closes #5758.
PiperOrigin-RevId: 208203915
|
|
|
|
|
|
| |
Closes #5757.
PiperOrigin-RevId: 208203833
|
|
|
|
|
| |
RELNOTES: None
PiperOrigin-RevId: 208049281
|
|
|
|
| |
PiperOrigin-RevId: 208049079
|
|
|
|
|
| |
RELNOTES: None
PiperOrigin-RevId: 208048947
|
|
|
|
|
| |
RELNOTES: None.
PiperOrigin-RevId: 207933242
|
|
|
|
|
|
| |
tests. This could change in the future but has confused several people recently so documenting the state of the world as is for now.
PiperOrigin-RevId: 207908818
|
|
|
|
|
|
|
|
|
|
| |
Fixes https://github.com/bazelbuild/bazel/issues/5720
Change-Id: I4270c395029691bcc9f4a3931a4401923edf2441
Closes #5739.
PiperOrigin-RevId: 207225362
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The old list was, in order:
- %workspace%/tools/bazel.rc (unless --nomaster_bazelrc)
- %binary_dir%/bazel.bazelrc (unless --nomaster_bazelrc)
- system rc, /etc/bazel.bazelrc or in %ProgramData% for Windows (unless --nomaster_bazelrc)
- the first of the following gets called the "user" bazelrc
- path passed by flag --bazelrc
- %workspace%/.bazelrc
- $HOME/.bazelrc
The new list is hopefully a bit more consistent, as:
- system rc (unless --nosystem_rc)
- workspace, %workspace%/.bazelrc (unless --noworkspace_rc)
- user, $HOME/.bazelrc (unless --nohome_rc)
- command-line provided, passed as --bazelrc or nothing if the flag is absent.
This list removes two less than useful locations, duplication in the Workspace directory, and the rc next to the bazel binary. This location made sense at Google but is generally nonsensical elsewhere so we are removing it. It also stops the user local rc file from being overriden by passing in a custom file in --bazelrc.
In both old and new, --ignore_all_rc_files disables all of the above.
For a transition period, any file that you would have loaded but was not read will cause a WARNING to be printed. If you want the old file to still be read without moving its location, you can always import it into one of the new standard locations, or create a symlink.
Closes #4502, except for cleanup to remove the warning after a transition period of 1 Bazel version has passed.
RELNOTES[INC]: New bazelrc file list.
PiperOrigin-RevId: 207189212
|
|
|
|
|
| |
RELNOTES: None
PiperOrigin-RevId: 207134083
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
as a list, rather than as a single line (i.e., newline delimited rather than
space delimited).
Before:
SUBCOMMAND: # //src/main/java/com/google/devtools/build/lib:string_util [action 'Building src/main/java/com/google/devtools/build/lib/libstring_util.jar (2 source files) [for host]']
(cd /tmp/devbazel_output_base/execroot/io_bazel && \
exec env - \
LC_CTYPE=en_US.UTF-8 \
external/embedded_jdk/bin/java -XX:+UseParallelOldGC -XX:-CompactStrings '--add-exports=jdk.compiler/com.sun.tools.javac.api=ALL-UNNAMED' '--add-exports=jdk.compiler/com.sun.tools.javac.code=ALL-UNNAMED' '--add-exports=jdk.compiler/com.sun.tools.javac.comp=ALL-UNNAMED' '--add-exports=jdk.compiler/com.sun.tools.javac.file=ALL-UNNAMED' '--add-exports=jdk.compiler/com.sun.tools.javac.main=ALL-UNNAMED' '--add-exports=jdk.compiler/com.sun.tools.javac.tree=ALL-UNNAMED' '--add-exports=jdk.compiler/com.sun.tools.javac.util=ALL-UNNAMED' '--add-opens=jdk.compiler/com.sun.tools.javac.file=ALL-UNNAMED' '--patch-module=java.compiler=external/bazel_tools/third_party/java/jdk/langtools/java_compiler.jar' '--patch-module=jdk.compiler=external/bazel_tools/third_party/java/jdk/langtools/jdk_compiler.jar' '--add-opens=java.base/java.nio=ALL-UNNAMED' -jar external/bazel_tools/tools/jdk/JavaBuilder_deploy.jar @bazel-out/host/bin/src/main/java/com/google/devtools/build/lib/libstring_util.jar-2.params)
After:
SUBCOMMAND: # //src/main/java/com/google/devtools/build/lib:string_util [action 'Building src/main/java/com/google/devtools/build/lib/libstring_util.jar (2 source files) [for host]']
(cd /tmp/devbazel_output_base/execroot/io_bazel && \
exec env - \
LC_CTYPE=en_US.UTF-8 \
external/embedded_jdk/bin/java \
-XX:+UseParallelOldGC \
-XX:-CompactStrings \
'--add-exports=jdk.compiler/com.sun.tools.javac.api=ALL-UNNAMED' \
'--add-exports=jdk.compiler/com.sun.tools.javac.code=ALL-UNNAMED' \
'--add-exports=jdk.compiler/com.sun.tools.javac.comp=ALL-UNNAMED' \
'--add-exports=jdk.compiler/com.sun.tools.javac.file=ALL-UNNAMED' \
'--add-exports=jdk.compiler/com.sun.tools.javac.main=ALL-UNNAMED' \
'--add-exports=jdk.compiler/com.sun.tools.javac.tree=ALL-UNNAMED' \
'--add-exports=jdk.compiler/com.sun.tools.javac.util=ALL-UNNAMED' \
'--add-opens=jdk.compiler/com.sun.tools.javac.file=ALL-UNNAMED' \
'--patch-module=java.compiler=external/bazel_tools/third_party/java/jdk/langtools/java_compiler.jar' \
'--patch-module=jdk.compiler=external/bazel_tools/third_party/java/jdk/langtools/jdk_compiler.jar' \
'--add-opens=java.base/java.nio=ALL-UNNAMED' \
-jar \
external/bazel_tools/tools/jdk/JavaBuilder_deploy.jar \
@bazel-out/host/bin/src/main/java/com/google/devtools/build/lib/libstring_util.jar-2.params)
RELNOTES: --subcommands can now take a "pretty_print" value ("--subcommands=pretty_print") to print the
arguments of subcommands as a list for easier reading.
PiperOrigin-RevId: 206213009
|
|
|
|
|
|
|
|
| |
Add a missing indefinite article
Closes #5673.
PiperOrigin-RevId: 206203662
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Also update the Java Tutorial page to say you have
to install the JDK and set JAVA_HOME.
See https://github.com/bazelbuild/bazel/issues/5208
Change-Id: I14b792589c39f03572518aaff6f6f8e5ca8a65c8
Closes #5617.
Change-Id: I45c841189b0c220365ab9aeeb67f26b32059be4a
PiperOrigin-RevId: 206156529
|
|
|
|
| |
PiperOrigin-RevId: 206124597
|
|
|
|
|
|
|
| |
The cookbook was not maintained and was replaced by https://github.com/bazelbuild/examples
RELNOTES: None.
PiperOrigin-RevId: 206046316
|
|
|
|
|
|
|
|
|
|
| |
to avoid confusion between the LHS and RHS host_javabases.
The LHS --host_javabase option should be considered deprecated and will
eventually be removed.
RELNOTES: Rename the startup flag --host_javabase to --server_javabase to avoid confusion with the build flag --host_javabase
PiperOrigin-RevId: 206015757
|
|
|
|
|
|
|
| |
Fixes #5592.
RELNOTES: Deleting deprecated no-op flag --show_package_location
PiperOrigin-RevId: 205834069
|
|
|
|
| |
PiperOrigin-RevId: 205718853
|
|
|
|
|
| |
RELNOTES: None
PiperOrigin-RevId: 205668909
|
|
|
|
|
|
| |
Closes #5649.
PiperOrigin-RevId: 205662376
|
|
|
|
|
|
| |
Closes #5598.
PiperOrigin-RevId: 205662280
|
|
|
|
|
|
|
|
| |
Add Bazel Vision document.
Closes #5612.
PiperOrigin-RevId: 205652638
|
|
|
|
|
| |
RELNOTES: None.
PiperOrigin-RevId: 205635805
|
|
|
|
|
|
|
|
|
| |
Exact API will continue to evolve, some specific functions
are experimental, but we can't really say that the concept
of rule is experimental.
RELNOTES: None.
PiperOrigin-RevId: 205383939
|
|
|
|
|
|
|
| |
Since we no longer release the Bazel version without an embedded JDK.
RELNOTES: None
PiperOrigin-RevId: 205356986
|
|
|
|
|
| |
RELNOTES: None
PiperOrigin-RevId: 205281433
|
|
|
|
|
|
| |
Also replaced ```` with ``` in other document where it didn't cause a visible change.
PiperOrigin-RevId: 205112255
|
|
|
|
|
| |
RELNOTES: None
PiperOrigin-RevId: 204969740
|
|
|
|
|
| |
RELNOTES: None
PiperOrigin-RevId: 204948309
|
|
|
|
|
|
|
|
|
|
|
|
| |
Add instructions for community maintained packages.
Ref : Github issue #5332
@jin Is this how you want it?
Closes #5582.
PiperOrigin-RevId: 204919383
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
range used to use MutableList which would eagerly allocate an array list with
all range elements, which is not efficient for very large ranges or when only
a small number of its elements are used.
This implementation uses a constant amount of RAM and computes a value for
each requested index.
For the following Skylark snippet:
```
def check_content(t):
if t == []:
return t
return False
def modulo(n):
return n % 797
N = 10000000
[check_content(i) for i in range(N)]
[check_content(i) for i in range(N)]
[modulo(i) for i in range(N)]
[modulo(i) for i in range(N)]
```
the total runtime goes from
```
$ time bazel-bin/src/main/java/com/google/devtools/skylark/Skylark test.bzl
bazel-bin/src/main/java/com/google/devtools/skylark/Skylark test.bzl 93.09s user 1.67s system 316% cpu 29.930 total
```
to
```
$ time bazel-bin/src/main/java/com/google/devtools/skylark/Skylark test.bzl
bazel-bin/src/main/java/com/google/devtools/skylark/Skylark test.bzl 31.45s user 0.86s system 179% cpu 17.974 total
```
which reflects the reduced system time (fewer allocations) and performance.
Closes #5240.
PiperOrigin-RevId: 204918577
|
|
|
|
|
| |
RELNOTES: None.
PiperOrigin-RevId: 204320776
|
|
|
|
|
| |
RELNOTES: None
PiperOrigin-RevId: 204181375
|
|
|
|
|
| |
RELNOTES: None.
PiperOrigin-RevId: 204173447
|
|
|
|
|
|
|
| |
Example workspace: https://github.com/bazelbuild/examples/pull/66/files
RELNOTES: None.
PiperOrigin-RevId: 204162234
|
|
|
|
| |
PiperOrigin-RevId: 204160729
|
|
|
|
|
|
|
|
|
|
|
| |
This adds support for Unix sockets to Bazel for the
remote http cache. See corresponding issue #5098
for discussion.
RELNOTES: Introduce the --remote_cache_proxy flag,
which allows for remote http caching to connect
via a unix domain socket.
PiperOrigin-RevId: 204111667
|
|
|
|
|
|
|
|
| |
The page https://docs.bazel.build/versions/master/experimental.html is not useful.
The only link is also available via the `Bazel and Apple` section.
RELNOTES: None.
PiperOrigin-RevId: 204110632
|
|
|
|
|
|
|
|
|
|
| |
Sources:
https://github.com/bazelbuild/bazel-blog/commit/846478d6943162f4c4d7d50001069e0ca7b2ec28
https://github.com/bazelbuild/bazel-blog/commit/aacaa25314678c08772372b3d46697f7963bb201
RELNOTES: None.
PiperOrigin-RevId: 203763253
|
|
|
|
|
| |
RELNOTES: None.
PiperOrigin-RevId: 203723885
|
|
|
|
|
| |
RELNOTES: None
PiperOrigin-RevId: 203466429
|
|
|
|
| |
PiperOrigin-RevId: 203167019
|
|
|
|
|
|
|
| |
Fixes #5335
RELNOTES: None
PiperOrigin-RevId: 203148338
|
| |
|
|
|
|
|
| |
RELNOTES: None.
PiperOrigin-RevId: 202988920
|
|
|
|
|
|
|
|
| |
/cc @vbatts
Closes #5482.
PiperOrigin-RevId: 202489367
|
|
|
|
|
|
|
|
| |
Without this parameter, I was getting the same error that others reported at https://github.com/bazelbuild/migration-tooling/issues/86
Closes #5460.
PiperOrigin-RevId: 202484116
|
|
|
|
| |
PiperOrigin-RevId: 202386041
|