aboutsummaryrefslogtreecommitdiffhomepage
path: root/site
Commit message (Collapse)AuthorAge
* Fixed two broken linksGravatar Googler2018-08-02
| | | | | RELNOTES: None PiperOrigin-RevId: 207134083
* Modify --subcommands to allow pretty printing the arguments of a subcommandGravatar ahumesky2018-07-26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Update build-ref.htmlGravatar Alex Beggs2018-07-26
| | | | | | | | Add a missing indefinite article Closes #5673. PiperOrigin-RevId: 206203662
* docs: update Windows installation and setup docsGravatar Laszlo Csomor2018-07-26
| | | | | | | | | | | | | | 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
* Automatic code cleanup.Gravatar Googler2018-07-26
| | | | PiperOrigin-RevId: 206124597
* Remove cookbookGravatar laurentlb2018-07-25
| | | | | | | The cookbook was not maintained and was replaced by https://github.com/bazelbuild/examples RELNOTES: None. PiperOrigin-RevId: 206046316
* Add a --server_javabase startup option as an alias for the LHS --host_javabaseGravatar cushon2018-07-25
| | | | | | | | | | 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
* Delete --show_package_location, which has been deprecated / no-op for years.Gravatar felly2018-07-24
| | | | | | | Fixes #5592. RELNOTES: Deleting deprecated no-op flag --show_package_location PiperOrigin-RevId: 205834069
* Make the docs for --javabase less misleadingGravatar cushon2018-07-23
| | | | PiperOrigin-RevId: 205718853
* Fix bazel vision layoutGravatar dslomov2018-07-23
| | | | | RELNOTES: None PiperOrigin-RevId: 205668909
* fix typo: "how to creates" -> "how to create"Gravatar Vladimir Rutsky2018-07-23
| | | | | | Closes #5649. PiperOrigin-RevId: 205662376
* Add Bazel + Android codelab to Android Resources pageGravatar Jingwen Chen2018-07-23
| | | | | | Closes #5598. PiperOrigin-RevId: 205662280
* Add Bazel Vision document.Gravatar Dmitry Lomov2018-07-23
| | | | | | | | Add Bazel Vision document. Closes #5612. PiperOrigin-RevId: 205652638
* Remove gender specific prononuns from Bazel codebaseGravatar hlopko2018-07-23
| | | | | RELNOTES: None. PiperOrigin-RevId: 205635805
* Rules are no longer experimental.Gravatar laurentlb2018-07-20
| | | | | | | | | 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
* Remove documentation about Bazel without embedded JDKGravatar pcloudy2018-07-19
| | | | | | | Since we no longer release the Bazel version without an embedded JDK. RELNOTES: None PiperOrigin-RevId: 205356986
* Fix multi line code blocksGravatar dannark2018-07-19
| | | | | RELNOTES: None PiperOrigin-RevId: 205281433
* Remove stray backticks to fix end of code block in testing documentation.Gravatar Googler2018-07-18
| | | | | | Also replaced ```` with ``` in other document where it didn't cause a visible change. PiperOrigin-RevId: 205112255
* Add anchor tags to external.md page for actual linkability!Gravatar dannark2018-07-17
| | | | | RELNOTES: None PiperOrigin-RevId: 204969740
* Add doc about repo_mappingGravatar dannark2018-07-17
| | | | | RELNOTES: None PiperOrigin-RevId: 204948309
* Adds documentation for community supported platformsGravatar Rishabh Chakrabarti2018-07-17
| | | | | | | | | | | | Add instructions for community maintained packages. Ref : Github issue #5332 @jin Is this how you want it? Closes #5582. PiperOrigin-RevId: 204919383
* [Skylark] Make range function lazy.Gravatar Taras Tsugrii2018-07-17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Update Bazel and Android sidebar links to provide direct links to core resourcesGravatar jingwen2018-07-12
| | | | | RELNOTES: None. PiperOrigin-RevId: 204320776
* site: udpate remote caching docs. Fixes #5488Gravatar buchgr2018-07-11
| | | | | RELNOTES: None PiperOrigin-RevId: 204181375
* Fixed some typos in the Android NDK documentationGravatar jingwen2018-07-11
| | | | | RELNOTES: None. PiperOrigin-RevId: 204173447
* Documentation for Android NDK support with BazelGravatar jingwen2018-07-11
| | | | | | | Example workspace: https://github.com/bazelbuild/examples/pull/66/files RELNOTES: None. PiperOrigin-RevId: 204162234
* Fix closing bracket for URLGravatar Googler2018-07-11
| | | | PiperOrigin-RevId: 204160729
* remote: unix socket support for remote http cachingGravatar buchgr2018-07-11
| | | | | | | | | | | 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
* Remove the experimental section on the website.Gravatar laurentlb2018-07-11
| | | | | | | | 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
* Sync jmmv@'s table styles for the docs.bazel.build site.Gravatar jingwen2018-07-09
| | | | | | | | | | Sources: https://github.com/bazelbuild/bazel-blog/commit/846478d6943162f4c4d7d50001069e0ca7b2ec28 https://github.com/bazelbuild/bazel-blog/commit/aacaa25314678c08772372b3d46697f7963bb201 RELNOTES: None. PiperOrigin-RevId: 203763253
* Update Blaze user manual to mention the new blaze run behavior.Gravatar diamondm2018-07-09
| | | | | RELNOTES: None. PiperOrigin-RevId: 203723885
* Clarify documentation for implicit deps and default attr valuesGravatar brandjon2018-07-06
| | | | | RELNOTES: None PiperOrigin-RevId: 203466429
* Skylark spec: -x is not an Operand, but a UnaryExprGravatar laurentlb2018-07-03
| | | | PiperOrigin-RevId: 203167019
* Clarify attr documentationGravatar brandjon2018-07-03
| | | | | | | Fixes #5335 RELNOTES: None PiperOrigin-RevId: 203148338
* PiperOrigin-RevId: 203116395Gravatar brandjon2018-07-03
|
* Docs: Query Language: Minor cleanupGravatar Googler2018-07-02
| | | | | RELNOTES: None. PiperOrigin-RevId: 202988920
* site/docs: update list of supported fedora versionsGravatar Nikhita Raghunath2018-06-28
| | | | | | | | /cc @vbatts Closes #5482. PiperOrigin-RevId: 202489367
* Adding --repositories to generate_workspace docsGravatar flamecoals2018-06-28
| | | | | | | | 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
* Remove outdated cfg=data"Gravatar gregce2018-06-27
| | | | PiperOrigin-RevId: 202386041
* Fix minor errors in[]Gravatar Googler2018-06-26
| | | | PiperOrigin-RevId: 202161910
* Clarify that depset order is deterministicGravatar brandjon2018-06-25
| | | | | | | In response to https://github.com/bazelbuild/rules_scala/issues/531 RELNOTES: PiperOrigin-RevId: 201966809
* If a dictionary is used as a general set, the keys should be mapped to ↵Gravatar Googler2018-06-21
| | | | | | | | | | `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
* Add Missing RobotoDraft-700 font to docsGravatar Branton Horsley2018-06-15
| | | | | | | | Fixed bug where \<strong\> tags were being improperly rendered Closes #5414. PiperOrigin-RevId: 200789831
* repository_rules.md: update documentation on return valuesGravatar Klaus Aehlig2018-06-15
| | | | | | | | | 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
* Remove fixed point config expansion.Gravatar ccalvarin2018-06-14
| | | | | | | 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
* Add missing space.Gravatar spomorski2018-06-14
| | | | PiperOrigin-RevId: 200555806
* Fix link to windows platform bugsGravatar justhecuke2018-06-14
| | | | | | | | | | 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
* Document troubleshooting Bazel remote execution using the Docker sandbox ↵Gravatar spomorski2018-06-13
| | | | | | feature. PiperOrigin-RevId: 200451804
* Add documentation on platform flags to the user manual.Gravatar jcater2018-06-13
| | | | PiperOrigin-RevId: 200410790
* Fix xdot command example in cpp tutorialGravatar Naresh2018-06-12
| | | | | | | | | | | | [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