aboutsummaryrefslogtreecommitdiffhomepage
path: root/site/docs/bazel-user-manual.html
Commit message (Collapse)AuthorAge
* Remove the --cwarn command line option.Gravatar Lukacs Berki2016-05-25
| | | | | | | RELNOTES[INC]: The --cwarn command line option is not supported anymore. Use --copt instead. -- MOS_MIGRATED_REVID=123101536
* Deprecate top-level Java toolchain flags in favour of java_toolchainGravatar Liam Miller-Cushon2016-04-19
| | | | | | | | | | | | | This change disables --java_langtools, --javabuilder_top, --singlejar_top, --genclass_top, and --ijar_top, and finishes replacing them with java_toolchain.{javac,javabuilder,singlejar,genclass,ijar}. RELNOTES: Replace --java_langtools, --javabuilder_top, --singlejar_top, --genclass_top, and --ijar_top with java_toolchain.{javac,javabuilder,singlejar,genclass,ijar} -- MOS_MIGRATED_REVID=120154954
* Fix bug introduced by commit dc0fbb42ab22ab8f3205b0884069e1ffe03677c9 where ↵Gravatar Nathan Harmata2016-04-07
| | | | | | | | | | | | | a less specific option specification in a rc file could override a more specific option specification when there's a non-trivial Command hierarchy. A concrete example would be a "build --foo=1" line overriding a "test --foo=2" line for a "test" invocation. See the added test for more details. Also fix some typos in BlazeCommandDispatcherRcoptionsTest.java. Note that commit dc0fbb42ab22ab8f3205b0884069e1ffe03677c9 was rolled back in commit 417dad0f1e0d0ed4ccd5f8e52b49eb79937da49d which also incidentally rolled back commit 4f0fbe1b09333806cce76b75214e98c7684766e0. So this change is effectively a roll-forward of both of those, plus the bug fix, plus the typo fixes, and plus a documentation update. -- MOS_MIGRATED_REVID=119276218
* docs: update the output for the --subcommands optionGravatar Thiago Farina2016-03-24
| | | | | | | | | | Specially because base_workspace is not involved anymore since the 0.2.0 release. -- Change-Id: I70143a57202f6d487f7ab828da61f0ea127694e8 Reviewed-on: https://bazel-review.googlesource.com/c/3130/ MOS_MIGRATED_REVID=118036928
* Fix user manual formattingGravatar Kristina Chodorow2016-03-03
| | | | | | | Fixes #995. -- MOS_MIGRATED_REVID=116247058
* blaze user manual: remove a clause about --blazerc that is not true.Gravatar Googler2016-02-23
| | | | | -- MOS_MIGRATED_REVID=115320148
* Rollback of commit 14cf67863d56bab1eef11687a881adf323ba55ad.Gravatar Kristina Chodorow2016-01-28
| | | | | | | | | | | | | | | | | | | | | | | | | | | *** Reason for rollback *** Issue that caused the rollback (#819) is resolved *** Original change description *** Automated [] rollback of []. *** Reason for rollback *** Prerequisite for rolling back j2objc base workspace change *** Original change description *** Remove base_workspace from bazel setup I also removed a couple places the documentation referred to it incorrectly. There are still a couple of blog posts that mention it, but that seemed okay. RELNOTES: A bazelrc with --package_path set is no longer required for Bazel to find its tools. This also means that building //...... -- MOS_MIGRATED_REVID=113259357
* Rollback of commit e87849b8d391af8f5d98e3a91e680e88a1264b64.Gravatar Kristina Chodorow2016-01-28
| | | | | | | | | | | | | | | | | | | | *** Reason for rollback *** Prerequisite for rolling back j2objc base workspace change *** Original change description *** Remove base_workspace from bazel setup I also removed a couple places the documentation referred to it incorrectly. There are still a couple of blog posts that mention it, but that seemed okay. RELNOTES: A bazelrc with --package_path set is no longer required for Bazel to find its tools. This also means that building //... should work to build everything in the workspace without including Bazel's own targets. -- MOS_MIGRATED_REVID=113164089
* Remove base_workspace from bazel setupGravatar Kristina Chodorow2016-01-21
| | | | | | | | | | | | I also removed a couple places the documentation referred to it incorrectly. There are still a couple of blog posts that mention it, but that seemed okay. RELNOTES: A bazelrc with --package_path set is no longer required for Bazel to find its tools. This also means that building //... should work to build everything in the workspace without including Bazel's own targets. -- MOS_MIGRATED_REVID=112604261
* Bazel docs: remove grammatical trace of a flag that was removed.Gravatar Laszlo Csomor2016-01-21
| | | | | -- MOS_MIGRATED_REVID=112573386
* Add titles to Bazel documentation pages.Gravatar David Chen2016-01-20
| | | | | | | Fixes #790 -- MOS_MIGRATED_REVID=112563137
* Remove obsolete reference to all-rulesGravatar Laurent Le Brun2016-01-15
| | | | | -- MOS_MIGRATED_REVID=112231484
* Fix error in documentation -- SIGQUIT not SIGINT will make Bazel dump its ↵Gravatar Janak Ramakrishnan2016-01-07
| | | | | | | | | threads! Fixes #748 -- MOS_MIGRATED_REVID=111468883
* Document that ctrl-\ causes Bazel to dump its threads to its jvm.out file, ↵Gravatar Janak Ramakrishnan2016-01-07
| | | | | | | to aid in diagnosing issue #748. -- MOS_MIGRATED_REVID=111360258
* Further improve sandbox documentation.Gravatar Philipp Wollermann2015-12-10
| | | | | -- MOS_MIGRATED_REVID=109881691
* Improve sandboxing documentationGravatar Damien Martin-Guillerez2015-12-10
| | | | | | | | | | - Add mitigation of the common problem to the documentation - Add indication on how to activate sandboxing on some machine (GKE nodes for example) Fixes #433 -- MOS_MIGRATED_REVID=109879921
* Refactor external repository support significantly to solve a number of issues.Gravatar Lukacs Berki2015-12-09
| | | | | | | | | | | | | | | In particular: - Separate the implementation of maven_server into a RepositoryFunction and one that creates the MavenServerValue (ideally, maven_server wouldn't exist but we'll have to make to for the time being) - Refactor the logic of determining whether an external repository needs to be re-fetched to RepositoryDelegatorFunction - Make RepositoryFunctions not be SkyFunctions anymore (they are called from RepositoryDelegatorFunction, though, who *is* a SkyFunction) - Add a Skyframe dirtiness checker that makes --nofetch RepositoryValues not be cached - Add a bunch of test cases and javadoc There is only one wart that I know of that remains: changes to BUILD files of new_* repository rules that weren't refetched when their RepositoryValue was initiall created on server restart won't take effect. This is because we don't add those BUILD files to the created RepositoryValue. This will fix itself once the ExternalFilesHelper refactoring is submitted. -- MOS_MIGRATED_REVID=109768345
* Explicitly mention that 'manual' test targets are not matched by wildcard ↵Gravatar Nathan Harmata2015-12-03
| | | | | | | target patterns and are thus neither built nor tested by invocations like "blaze test //my/project/..." -- MOS_MIGRATED_REVID=109251573
* Do not recurse into the convenience symlinks when evaluating the "//..." ↵Gravatar Lukacs Berki2015-11-20
| | | | | | | | | target pattern. Apart from the tests, I also tested this manually running "bazel query //..." in a tree with convenience symlinks. -- MOS_MIGRATED_REVID=108325454
* Mention --host_crosstool_top in the docs where it's relevantGravatar Brian Silverman2015-11-20
| | | | | | | | | | I filed #546 because I didn't notice --host_crosstool_top does what I want. -- Change-Id: Ib219753ad69c3026f1aa6d1889a0e7fac4449b2b Reviewed-on: https://bazel-review.googlesource.com/#/c/2261/ MOS_MIGRATED_REVID=108267036
* Run bazel documentation tests on mac/linux.Gravatar Dmitry Lomov2015-11-19
| | | | | | | Also, fix said documentation. -- MOS_MIGRATED_REVID=108247791
* Open source BazelDocumentationTest (and fix documentation).Gravatar Dmitry Lomov2015-11-19
| | | | | -- MOS_MIGRATED_REVID=108145081
* Optionally allow Bazel to pass JVM options containing spaces directly ↵Gravatar Janak Ramakrishnan2015-11-16
| | | | | | | | | through to the JVM instead of (almost certainly incorrectly) splitting the options along spaces. This allows us to pass non-quote-delimited strings to the JVM, which is necessary for things like -XX:OnOutOfMemoryError="kill -3 %p" (normally bash strips those quotes, but they're not stripped when passed via --host_jvm_args). -- MOS_MIGRATED_REVID=107820087
* RELNOTES: Symlink dirents of directories containing a file named ↵Gravatar Nathan Harmata2015-11-13
| | | | | | | | | | | | | | "DONT_FOLLOW_SYMLINKS_WHEN_TRAVERSING_THIS_DIRECTORY_VIA_A_RECURSIVE_TARGET_PATTERN" will *not* be traversed for transitive target patterns. The motivation here is to allow directories that intentionally contain wonky symlinks (e.g. foo/bar -> foo) to opt out of being consumed by Blaze. For example, given <workspace>/foo bar bad -> . DONT_FOLLOW_SYMLINKS_WHEN_TRAVERSING_THIS_DIRECTORY_VIA_A_RECURSIVE_TARGET_PATTERN the 'bad' symlink will *not* be traversed by the pattern '//foo/...'. -- MOS_MIGRATED_REVID=107738930
* Update links in Bazel docs to point to new BE pages.Gravatar David Chen2015-11-02
| | | | | | | Fixes #529 -- MOS_MIGRATED_REVID=106883457
* Changes from [] that were left out of theGravatar Brian Silverman2015-11-02
| | | | | | | | | | | | | | previous commit Document and test how rules can run without the sandbox. The only documentation about usable tags values was in a weird place, along with duplicated information about flaky tests. -- Change-Id: Ib98a0a5c582890512161ecf9f5d89c8e78d9ad68 Reviewed-on: https://bazel-review.googlesource.com/#/c/2220 MOS_MIGRATED_REVID=106858070
* Split Build Encyclopedia into multiple pages.Gravatar David Chen2015-10-23
| | | | | -- MOS_MIGRATED_REVID=106092764
* Fix profiling doc missing in Bazel manualGravatar Klaas Boesche2015-10-21
| | | | | -- MOS_MIGRATED_REVID=105952522
* Document the --spawn_strategy and --genrule_strategy flag in the user manual.Gravatar Philipp Wollermann2015-10-09
| | | | | -- MOS_MIGRATED_REVID=104958733
* Bazel user manual: simplify the documentation of Sandboxing.Gravatar Laszlo Csomor2015-10-05
| | | | | -- MOS_MIGRATED_REVID=104644891
* Mention chroot in --batch description.Gravatar Han-Wen Nienhuys2015-09-25
| | | | | | | Fixes #134. -- MOS_MIGRATED_REVID=103935102
* Add an example of using a regex with negative lookup in --output_filter.Gravatar Nathan Harmata2015-09-02
| | | | | | | I promised to add this example after responding to a user question in the bazel irc. -- MOS_MIGRATED_REVID=102120516
* Collect Skylark profile info and create HTML statistics when --html_details ↵Gravatar Googler2015-09-02
| | | | | | | given -- MOS_MIGRATED_REVID=102046602
* Normalize usage of "workspace", "workspace directory" and "build root" inGravatar Googler2015-08-31
| | | | | | | | | | | | | | | documentation. Replaces instances of "build root" with "workspace directory" as appropriate. Makes the following changes: - /docs/build-ref.html: Adds definition of workspace - /docs/external.md: Replaces "build root" terminology with "workspace" - /docs/getting-started.md: Adds link to workspace definition - /docs/bazel-user-manual.html: Adds link to workspace definition -- MOS_MIGRATED_REVID=101885966
* Also add "bazel version" to the table of contents of the User's Guide. Not ↵Gravatar Lukacs Berki2015-08-26
| | | | | | | my best day today. -- MOS_MIGRATED_REVID=101557371
* Add the "version" and "mobile-install" commands to the User's Guide.Gravatar Lukacs Berki2015-08-26
| | | | | -- MOS_MIGRATED_REVID=101555906
* Make sandboxed execution the default in Bazel. This should be safe, as the ↵Gravatar Philipp Wollermann2015-08-26
| | | | | | | strategy is only used if your Linux kernel is new enough and your running system supports it. If this breaks you, please file a bug and you can always go back to non-sandboxed execution by using --spawn_strategy=standalone. -- MOS_MIGRATED_REVID=101464269
* Clarify behavior of --announce_rc.Gravatar Janak Ramakrishnan2015-08-11
| | | | | -- MOS_MIGRATED_REVID=100315352
* Clarify units of argument to --iff_heap_size_greater_than.Gravatar Googler2015-08-11
| | | | | -- MOS_MIGRATED_REVID=100303875
* Fix --batch link in blaze user manual to match other flags.Gravatar Googler2015-08-05
| | | | | | | RELNOTES: nope -- MOS_MIGRATED_REVID=99931043
* Rollforward of []: Blaze changes to support LLVM profile feedbackGravatar Googler2015-07-23
| | | | | | | Rollback of commit b961bb931400044ed91e6b0b596f94fe983f9f17. -- MOS_MIGRATED_REVID=98833728
* Add --output_filter optionGravatar Kristina Chodorow2015-07-21
| | | | | | | Fixes #309. -- MOS_MIGRATED_REVID=98639996
* Document that the "run" command closes stdin.Gravatar Philipp Wollermann2015-07-17
| | | | | -- MOS_MIGRATED_REVID=98393704
* Rollback of commit 69d20b26b50360221849a4860265150f9c66ef25.Gravatar Lukacs Berki2015-07-17
| | | | | | | | | | | | | *** Reason for rollback *** Breaks LIPO, [] *** Original change description *** Blaze changes to support LLVM profile feedback. -- MOS_MIGRATED_REVID=98382087
* Blaze changes to support LLVM profile feedback.Gravatar Googler2015-07-07
| | | | | -- MOS_MIGRATED_REVID=97610963
* Fix what I assume to be a typo.Gravatar Googler2015-07-02
| | | | | | | The alternative is too horrifying to consider. -- MOS_MIGRATED_REVID=97398060
* Fix Blaze/Bazel mixup in docsGravatar Googler2015-06-26
| | | | | -- MOS_MIGRATED_REVID=96911530
* Externalize documentation for -extra_checksGravatar Liam Miller-Cushon2015-06-25
| | | | | -- MOS_MIGRATED_REVID=96814231
* Fix documentation about master configuration filesGravatar Damien Martin-Guillerez2015-06-25
| | | | | -- MOS_MIGRATED_REVID=96802902
* Delete documentation for 'server_log' info item. This doesn't currently ↵Gravatar Nathan Harmata2015-06-24
| | | | | | | exist and hasn't existed for a while. -- MOS_MIGRATED_REVID=96711367