| Commit message (Collapse) | Author | Age |
|
|
|
|
| |
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
|
|
|
|
| |
PiperOrigin-RevId: 202161910
|
|
|
|
|
|
|
| |
In response to https://github.com/bazelbuild/rules_scala/issues/531
RELNOTES:
PiperOrigin-RevId: 201966809
|
|
|
|
|
|
|
|
|
|
| |
`True` instead of `None`.
dict has a get() method that defaults to `None`.
Checking for a key in the dictionary with get() will always return `None` in the given example. Using `True` is better.
RELNOTES: None.
PiperOrigin-RevId: 201551896
|
|
|
|
|
|
|
|
| |
Fixed bug where \<strong\> tags were being improperly rendered
Closes #5414.
PiperOrigin-RevId: 200789831
|
|
|
|
|
|
|
|
|
| |
Since commit 97132c0925031e1b1fb8e9e5dde2233daef9d97b, repository rule
implementations are allowed to return other values than `None`. Describe
the currently supported values and their intended meaning.
Change-Id: I63dbbff4b232b36861aa2a6cfdc69352fa971f4d
PiperOrigin-RevId: 200707564
|
|
|
|
|
|
|
| |
Deprecates the flag, though it continues to exist as a no-op so that users get a warning before errors.
RELNOTES: --noexpand_configs_in_place is deprecated.
PiperOrigin-RevId: 200572053
|
|
|
|
| |
PiperOrigin-RevId: 200555806
|
|
|
|
|
|
|
|
|
|
| |
Link currently finds no issues. This seems to be because the proper tag is "platform:windows" rather than the documented "multi-platform > windows".
The fix merely updates the text and link to "platform:windows".
Closes #5393.
PiperOrigin-RevId: 200533655
|
|
|
|
|
|
| |
feature.
PiperOrigin-RevId: 200451804
|
|
|
|
| |
PiperOrigin-RevId: 200410790
|
|
|
|
|
|
|
|
|
|
|
|
| |
[Documentation fix]
In recent versions of xdot, piping the output of `bazel query` no
longer displays the visualization due to an unrelated change in xdot.
So, use redirection instead of pipe.
Closes #5316.
PiperOrigin-RevId: 200220180
|