aboutsummaryrefslogtreecommitdiffhomepage
Commit message (Collapse)AuthorAge
* Do not disable dynamic_mode for ThinLTO when invoked via LIPO options.Gravatar Googler2017-07-24
| | | | | | | | | | When using LLVM LIPO is automatically mapped to ThinLTO. While for LIPO, fully dynamic linking needs to be off for correctness issues, there is no such restriction for ThinLTO. RELNOTES[NEW]: Do not disable fully dynamic linking with ThinLTO when invoked via LIPO options. PiperOrigin-RevId: 162918429
* Move the DurationConverter to the common.options packageGravatar ulfjack2017-07-24
| | | | | | | Also change it to java.time.Duration, rather than Jodatime. Now that we're on Java 8, we no longer need Jodatime. PiperOrigin-RevId: 162917526
* Handle multiple crosstool features providing the same symbol cleanlyGravatar hlopko2017-07-24
| | | | | | | It's bad to crash with an exception, let's show proper rule error instead. RELNOTES: None. PiperOrigin-RevId: 162916138
* Simplify RemoteActionContextProviderGravatar ulfjack2017-07-24
| | | | PiperOrigin-RevId: 162915070
* Build MSVC Bazel when using compile.shGravatar pcloudy2017-07-24
| | | | | RELNOTES: PiperOrigin-RevId: 162914414
* Tiny refactoring, functional no-op.Gravatar olaola2017-07-24
| | | | | | | | After the ByteUploader changes, the Retrier no longer needs the onFailure(s) functions. Removing them will simplify both the code and the stack traces used for debugging problems. TESTED=unit tests RELNOTES: none PiperOrigin-RevId: 162913762
* Make the description of example match the example.Gravatar Dmitry Lomov2017-07-24
| | | | | | | Fixes #3183. Change-Id: Id208e0b723f0ffe8313cae4852dd77df43be477f PiperOrigin-RevId: 162911817
* BEP: Merge all failures into the Aborted eventGravatar Klaus Aehlig2017-07-24
| | | | | | | | | In this way, for each event there can only be two event payloads for every event identifier: the expected one, and the Aborted event. The type of failure will be reported in the AbortReason enum value. Change-Id: Icce225ec156d1fc20c8facd18df13343712f775c PiperOrigin-RevId: 162911732
* Extract a common AbstractSpawnStrategy parent classGravatar ulfjack2017-07-24
| | | | | | This removes a bunch of code duplication that I previously introduced. PiperOrigin-RevId: 162909430
* Expose to Skylark Strings instead of PathFragments from CppConfiguration.Gravatar dslomov2017-07-24
| | | | | | | Fixes #2931. RELNOTES: None. PiperOrigin-RevId: 162907348
* PiperOrigin-RevId: 162907213Gravatar ulfjack2017-07-24
|
* SpawnResult: allow signaling catastrophic errors, and compute detail messageGravatar ulfjack2017-07-24
| | | | PiperOrigin-RevId: 162906926
* Use ActionInputFileCache instead of MetadataHandler in more placesGravatar ulfjack2017-07-24
| | | | PiperOrigin-RevId: 162906919
* Make all our tests pass with --noexperimental_toolchain_id_in_output_directory.Gravatar lberki2017-07-24
| | | | | RELNOTES: None. PiperOrigin-RevId: 162906513
* Skip tests that aren't CPU-compatible with the current build.Gravatar gregce2017-07-24
| | | | | | | | | | We don't yet have a SKIPPED test status. So for now we report "NO STATUS". Also moved top-level constraint checking to its own file, since its logic is getting more complicated. PiperOrigin-RevId: 162790879
* Make InMemoryGraph public.Gravatar janakr2017-07-24
| | | | PiperOrigin-RevId: 162788157
* PiperOrigin-RevId: 162771369Gravatar carmi2017-07-24
|
* Write directly to stdout when debugging in test: otherwise test log can get ↵Gravatar janakr2017-07-24
| | | | | | overwritten, losing info (http://ci.bazel.io/job/bazel-tests/899/BAZEL_VERSION=latest,PLATFORM_NAME=ubuntu_16.04-x86_64/consoleFull). PiperOrigin-RevId: 162764897
* Stop reporting manifest merge errors as exceptions with stack traces as well ↵Gravatar apell2017-07-24
| | | | | | | as printing the merge error report. The stack traces duplicated the error report and gave the impression that the error may be an internal error instead of a build error. RELNOTES: None. PiperOrigin-RevId: 162755827
* Rephrase server failure warning in Blaze User ManualGravatar Googler2017-07-24
| | | | PiperOrigin-RevId: 162755817
* Add an Iterable<Event> Truth subject so that we can easily assert things on ↵Gravatar janakr2017-07-24
| | | | | | | | | | an iterable of events without calling into the heavyweight MoreAsserts. Use that in Skyframe instead of MoreAsserts. Also delete an unused method in MoreAsserts. PiperOrigin-RevId: 162754283
* Remove reference to missing figures.Gravatar Googler2017-07-24
| | | | | | Fixes #3423 PiperOrigin-RevId: 162754159
* Normalize paths when adding them to the tarball.Gravatar Googler2017-07-24
| | | | PiperOrigin-RevId: 162742684
* Add links to examples in the documentation.Gravatar laurentlb2017-07-24
| | | | | RELNOTES: None. PiperOrigin-RevId: 162738376
* Document name binding in load()Gravatar Dmitry Lomov2017-07-24
| | | | | | | Fixes #2987. Change-Id: I359a74b37a670e3953cc737a416c0e9573e547f0 PiperOrigin-RevId: 162738265
* Windows: Implement native binary launcherGravatar Yun Peng2017-07-24
| | | | | | | | The native launcher is implemented based on this design doc: https://docs.google.com/document/d/1z6Xv95CJYNYNYylcRklA6xBeesNLc54dqXfri0z0e14/edit?usp=sharing Change-Id: I83bae844f792a587ce0e342a3c0f238b760afeaa PiperOrigin-RevId: 162736269
* Tutorial about macro creationGravatar laurentlb2017-07-24
| | | | | RELNOTES: None. PiperOrigin-RevId: 162736242
* Tutorial for sharing a variableGravatar laurentlb2017-07-24
| | | | | | | Intended to be an introduction before talking about macros. RELNOTES: None. PiperOrigin-RevId: 162733299
* Don't build MSYS Bazel anymoreGravatar pcloudy2017-07-24
| | | | | | | This is the first CL to remove MSYS Bazel. RELNOTES: PiperOrigin-RevId: 162731750
* Automated rollback of commit c3e0660bf8d5c6e32ae817f8a3f52c7fc6bf039e.Gravatar dmarting2017-07-24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | *** Reason for rollback *** Rollforward with fix *** Original change description *** Automated rollback of commit e5f970906594d9097bb7c3736b2de1750cc8655f. *** Reason for rollback *** Break apple test on darwin. *** Original change description *** Refactor docker tests to be buildable without docker. This make this build a bit non-deterministic since the way it will be built depend on wether docker is installed or not. We now use the docker_pull from bazelbuild/continuous-integration to generate the base docker images and generate a fake docker binary that j... *** PiperOrigin-RevId: 162731090
* Add ActionInputPrefetcher to ActionExecutionContextGravatar ulfjack2017-07-24
| | | | | | | This is more consistent with other values, and removes the need to inject it into the constructor of the various strategy implementations. PiperOrigin-RevId: 162729187
* Windows: add blaze_util::AsAbsoluteWindowsPathGravatar laszlocsomor2017-07-24
| | | | | | | | | | | Replace blaze_util::AsWindowsPathWithUncPrefix with AsAbsoluteWindowsPath, which always returns an absolute path. Fixes https://github.com/bazelbuild/bazel/issues/2935 RELNOTES: none PiperOrigin-RevId: 162727218
* Make error message in case top-level aspect is missing clearer.Gravatar Dmitry Lomov2017-07-24
| | | | | | | Fixes #2874. Change-Id: I636e0f6b56a1e33adfc64e90f36f76d4254d0281 PiperOrigin-RevId: 162726099
* Remove an unused method.Gravatar lberki2017-07-24
| | | | | RELNOTES: None. PiperOrigin-RevId: 162725697
* Windows: blaze_util::ChangeDir. uses short pathsGravatar laszlocsomor2017-07-24
| | | | | | | | | | | | | | The current working directory may not be longer than MAX_PATH, otherwise SetCurrentDirectoryW fails. It may, but should not contain a "\\?\" prefix, otherwise the Java code won't be able to parse it. Therefore convert the path to a 8dot3 style path in blaze_util::ChangeDirectory and use SetCurrentDirectoryA. RELNOTES: none PiperOrigin-RevId: 162720636
* Windows: more robust path handling.Gravatar laszlocsomor2017-07-24
| | | | | | | | | | | | | | | In this change: - add support for absolute-on-current-drive paths (e.g. "\foo", meaning "c:\foo") - report error for relative-on-current-drive paths (e.g. "c:" and "c:foo") - report error for remote Windows paths (e.g. "\\servername\path\on\server") - update blaze_util::AsWindowsPath comments - update tests RELNOTES: none PiperOrigin-RevId: 162719763
* Make TestsInSuiteKey, TestSuiteExpansionKey implement SkyKeyGravatar ulfjack2017-07-24
| | | | PiperOrigin-RevId: 162715709
* Make all test cases pass with --noexperimental_separate_genfiles_directory.Gravatar lberki2017-07-24
| | | | | RELNOTES: None. PiperOrigin-RevId: 162715619
* Move all crosstool patches to CppActionConfigsGravatar hlopko2017-07-24
| | | | | | | | As the ordering in which features are defined matters, let's move all the crosstool patching logic to a single place in CppActionConfigs. RELNOTES: None. PiperOrigin-RevId: 162712170
* Clean up/improve docs across several Apple classes.Gravatar allevato2017-07-21
| | | | PiperOrigin-RevId: 162676133
* Update aspects documentation to the latest and greatest APIs.Gravatar Dmitry Lomov2017-07-21
| | | | | Change-Id: I76d785dbbcd2c5cf30ab5d130e82b2819931651a PiperOrigin-RevId: 162672358
* De-emphasize the note on internal providers.Gravatar Dmitry Lomov2017-07-21
| | | | | | | Fixes #3354. Change-Id: I1525b5fc6e44cce335744b1d5883be71812003ed PiperOrigin-RevId: 162672218
* ObjcProvider is propagated as a native declared provider.Gravatar cparsons2017-07-21
| | | | | | | This has the added benefit of improving ObjcProvider documentation generated in bazel docs. RELNOTES: None. PiperOrigin-RevId: 162658384
* Move ActionInputPrefetcher to the actions packageGravatar ulfjack2017-07-21
| | | | | | The plan is to add it to ActionExecutionContext, which is also there. PiperOrigin-RevId: 162656835
* Add all generated headers as mandatory inputs for compile actions.Gravatar rduan2017-07-21
| | | | | | | We previously only add those under genfiles root. But J2ObjC and objc proto headers are under the bin root, which we may also fix in the near future. RELNOTES: None. PiperOrigin-RevId: 162656166
* Updates XCTestAppProvider documentation to mention it's deprecated status.Gravatar kaipi2017-07-21
| | | | PiperOrigin-RevId: 162655959
* Fix #3416: catch the ALREADY_EXISTS status code on upload, and treat it as ↵Gravatar olaola2017-07-21
| | | | | | | | | success. This can happen per spec, if multiple builds try to upload the same blob concurrently. Also, added this to the RemoteWorker, per spec. PiperOrigin-RevId: 162647548
* Remove --experimental_android_use_singlejar_for_multidex.Gravatar ajmichael2017-07-21
| | | | | | | | This flag has been a no-op for a while with a deprecation warning that it will be removed. RELNOTES: Remove --experimental_android_use_singlejar_for_multidex. PiperOrigin-RevId: 162643922
* Automated rollback of commit 08e34e37663ec0fa2e957e44c7e1e0a2afc205ea.Gravatar Googler2017-07-21
| | | | | | | | | | | | | | | | *** Reason for rollback *** Rolling this back as it was the example BUILD file that was incorrect, not the tutorial itself. Submitted an updated BUILD file in commit 6abf4b9. *** Original change description *** the build file and bash example out of synch comparing to the latest code in the java tutorial repo Closes #3419. PiperOrigin-RevId: 162635241
* Use toolchain resolution in rule creation.Gravatar John Cater2017-07-21
| | | | | | | Part of #2219. Change-Id: Id4929d5ddcd57b4635af5e513eb9a09f16a78e71 PiperOrigin-RevId: 162634398