| Commit message (Collapse) | Author | Age |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Also include the test target in the test log for easier debugging of tests.
Fixes #4960.
Change-Id: Ic79bf21e8eeba765b607755c1d290ee4e910d01f
Closes #4972.
Sample output:
```
exec ${PAGER:-/usr/bin/less} "$0" || exit 1
Executing tests from //src/test/shell/bazel:bazel_example_test
-----------------------------------------------------------------------------
```
Change-Id: I433cd9251a564b269da5566bb8401151ae4c99b7
PiperOrigin-RevId: 191891278
|
|
|
|
| |
PiperOrigin-RevId: 191717115
|
|
|
|
|
|
|
| |
limiting/misleading. Added supported host OSes to "multi-platform" paragraph.
RELNOTES: Removed the statement of "What does Bazel support?" as it's limiting/misleading. Added supported host OSes to "multi-platform" paragraph.
PiperOrigin-RevId: 190793121
|
|
|
|
|
|
| |
minus some minor specific features.
PiperOrigin-RevId: 190784717
|
|
|
|
| |
PiperOrigin-RevId: 190673642
|
|
|
|
|
|
|
| |
Also add tests for leading "+" in int(<string>) form.
RELNOTES: None
PiperOrigin-RevId: 190507678
|
|
|
|
|
| |
RELNOTES: None
PiperOrigin-RevId: 190470599
|
|
|
|
|
|
|
|
|
| |
'rbuildfiles': this query function takes a comma-separated list of strings, which it interprets as paths.
Also fix an issue with the documented semantics of 'rbuildfiles': it only returns BUILD file targets, not bzl file targets.
RELNOTES: None
PiperOrigin-RevId: 190257359
|
|
|
|
| |
PiperOrigin-RevId: 190256860
|
|
|
|
|
|
|
|
| |
RELNOTES[INC]: The --incompatible_disallow_uncalled_set_constructor flag is no
longer available, the `set` constructor` is completely removed from Skylark.
Use `depset` instead.
PiperOrigin-RevId: 190053331
|
|
|
|
|
|
|
|
| |
RELNOTES[INC]: The flag --incompatible_show_all_print_messages is removed.
Messages generated by `print` statements from any package will be displayed as
DEBUG messages.
PiperOrigin-RevId: 190043451
|
|
|
|
|
|
|
|
|
|
| |
Now we are using the native launcher to run binary for Java and Python,
so the outputs of these targets have changed.
Closes #4898.
Change-Id: Id2ea33d7c02b5608215b5cd4173ed917df0cb217
PiperOrigin-RevId: 190037369
|
|
|
|
|
|
|
|
|
| |
This makes legacy providers a subsection so it can be referenced from linter error messages.
It also adds some prose explaining the exact correspondence between legacy provider field keys and modern providers.
RELNOTES: None
PiperOrigin-RevId: 189980562
|
|
|
|
|
|
|
|
|
|
| |
```
ERROR: Query expressions involving 'buildfiles' or 'loadfiles' cannot be used with --output=location
```
Closes #4835.
PiperOrigin-RevId: 189888124
|
|
|
|
|
|
|
|
|
|
| |
- Changes in the int() function.
- Changes in the string interpolation operator.
Fixes #4862
RELNOTES: None.
PiperOrigin-RevId: 189626007
|
|
|
|
|
| |
RELNOTES: None
PiperOrigin-RevId: 189617545
|
|
|
|
|
|
|
|
|
| |
Prefer "Extension" over "Skylark" when referring specifically to Bazel's use of Skylark.
Follow-up to https://github.com/bazelbuild/bazel/commit/3ef60b7cdcf8826102ec42a77183645ab0cafcf7.
RELNOTES: None
PiperOrigin-RevId: 189602396
|
|
|
|
|
|
|
|
|
| |
Rewrite/add to the contents of this section.
Also updated the page titles / navbar entries of Skylark documentation to make them more uniform (title case, avoid redundancy).
RELNOTES: None
PiperOrigin-RevId: 189503729
|
|
|
|
| |
PiperOrigin-RevId: 189201051
|
|
|
|
| |
PiperOrigin-RevId: 189196060
|
|
|
|
|
|
|
| |
the link, expecting to be redirected to a new page, but it's just an anchor link on the same page. The page is short enough to not need a ToC.
RELNOTES: None.
PiperOrigin-RevId: 189042068
|
|
|
|
|
|
|
| |
It is no longer meaningful since the vfs doesn't have an internal path tree to dump.
RELNOTES: Remove support for blaze dump --vfs. It is no longer meaningful.
PiperOrigin-RevId: 188739379
|
|
|
|
|
| |
RELNOTES: None
PiperOrigin-RevId: 188730878
|
|
|
|
|
| |
RELNOTES: None.
PiperOrigin-RevId: 188711261
|
|
|
|
|
| |
RELNOTES: None
PiperOrigin-RevId: 188625855
|
|
|
|
|
|
|
| |
See changes in https://github.com/bazelbuild/examples/pull/56
RELNOTES: None
PiperOrigin-RevId: 188601311
|
|
|
|
|
|
| |
Closes #4693.
PiperOrigin-RevId: 188488139
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
I wasn't able to build a simple 'hello-world' example with an identical structure. I encountered several problems:
1) bazel forces to declare a license for code within the 'third_party' sub-directory. This not at all obvious to noobs.
2) bazel complains about a missing input file 'some_lib.h' without the leading 'include' in hdrs and the build fails.
3) compilation throws "No such file or directory" when trying to include 'some_lib.h' with the trailing 'include' in copts.
I think this is particularly important for converting legacy projects (not necessarily third party) that use cmake, autoconf, etc...
Closes #4697.
PiperOrigin-RevId: 188471650
|
|
|
|
| |
PiperOrigin-RevId: 188362796
|
|
|
|
|
|
| |
Closes #4689.
PiperOrigin-RevId: 188169719
|
|
|
|
|
|
| |
Closes #4640.
PiperOrigin-RevId: 188022228
|
|
|
|
|
| |
RELNOTES: None
PiperOrigin-RevId: 188019651
|
|
|
|
|
|
|
|
| |
The user manual filename has been renamed from `bazel-user-manual.html` to `user-manual.html`.
Closes #4662.
PiperOrigin-RevId: 187877241
|
|
|
|
|
|
| |
Closes #4743.
PiperOrigin-RevId: 187869648
|
|
|
|
|
|
|
|
| |
Fixes #4740
Closes #4768.
PiperOrigin-RevId: 187868625
|
|
|
|
|
|
|
|
| |
The example for Depending on non-Bazel projects describes depending on a .so file. java_library builds .jar files, so is inconsistent.This PR switches the example to use cc_library, which actually builds a .so file so matches the description.
Closes #4745.
PiperOrigin-RevId: 187839898
|
|
|
|
|
| |
RELNOTES: None
PiperOrigin-RevId: 187834884
|
|
|
|
|
|
|
|
|
|
| |
Update the documentation about:
- compiling Bazel from source (without an existing Bazel binary) on Windows
- OS and software requirements on Windows
Closes #4741.
PiperOrigin-RevId: 187829532
|
|
|
|
|
|
|
| |
Explain the deprecation of ctx.outputs.executable.
RELNOTES: None
PiperOrigin-RevId: 187640408
|
|
|
|
|
|
|
| |
Rewrite that part of rules.md and update rule() docs. Also clarify the Action object's docs to put it in context.
RELNOTES: None
PiperOrigin-RevId: 187636896
|
|
|
|
|
| |
RELNOTES: None.
PiperOrigin-RevId: 187489449
|
|
|
|
|
|
|
| |
The links were to different sections in the page, but were not prefixed with hashtags.
RELNOTES: Fix broken links in query docs.
PiperOrigin-RevId: 187486286
|
|
|
|
|
|
| |
Closes #4712.
PiperOrigin-RevId: 187486082
|
|
|
|
|
|
| |
RELNOTES:
Removed flag `--incompatible_load_argument_is_label`.
PiperOrigin-RevId: 187479614
|
|
|
|
|
|
|
|
|
|
|
| |
- collapsed these into one section
- removed the term "implicit outputs"
- add explanation for what these are first, then how to control them
- update docs for DefaultInfo
- also update docs for test/executable args of rule()
RELNOTES: None
PiperOrigin-RevId: 187026641
|
|
|
|
|
|
|
| |
Unified "Files" and "Output files" sections. Renamed "declared files" to "predeclared files" to avoid confusion with "declare_file()"/"declare_directory()".
RELNOTES: None
PiperOrigin-RevId: 187017607
|
|
|
|
|
|
|
|
| |
Addresses issue [4637](https://github.com/bazelbuild/bazel/issues/4637) by replacing "else if" with "elif".
Closes #4692.
PiperOrigin-RevId: 186800016
|
|
|
|
|
|
|
| |
In particular, use folding menus for Installing and Tutorials.
RELNOTES: None.
PiperOrigin-RevId: 186778997
|
|
|
|
|
| |
RELNOTES: None.
PiperOrigin-RevId: 186501019
|
|
|
|
|
| |
RELNOTES: None.
PiperOrigin-RevId: 186470386
|