aboutsummaryrefslogtreecommitdiffhomepage
Commit message (Collapse)AuthorAge
* Route Xcode version information through an implicit dependency instead of ↵Gravatar lberki2017-07-25
| | | | | | | | | | | | | | the configuration. This is part of the crusade to kill package loading in configuration creation. AppleConfiguration still retains the version information for the following reasons: - Some Skylark rules access it that way. The plan is to create an xcode_config_alias() rule that can be an implicit dependency of Skylark rules and to export the version information to Skylark from XcodeVersionsProvider. - The minimum OS version is part of the name of the output directory. The plan for that is simply to remove it. Hopefully we can get away with it. - They allow us to add assertions to make sure the new mechanism works like the old one. RELNOTES: None. PiperOrigin-RevId: 163038724
* Bazel client: add blaze_util::IsDevNullGravatar Laszlo Csomor2017-07-25
| | | | | | | | | | | | | | | | | | | | | | Add a method to test if a path is /dev/null (or case-insensitive "NUL" on Windows), and use it in blaze::MakeAbsolute. In this commit: - implement blaze_util::IsDevNull with POSIX and Windows semantics + add tests - blaze::MakeAbsolute calls blaze::ConvertPath on its input to convert MSYS paths on Windows - blaze_util::GetCwdW (thus GetCwd) always returns a lowercase path so that it is deterministic - blaze_util::GetCurrentDrive returns lowercase letter to be consisent with blaze::ConvertPath, which also returns a lowercase path Fixes https://github.com/bazelbuild/bazel/issues/3440 Change-Id: I3af5ba0a033d542fe64a676d67f27472298d1089 PiperOrigin-RevId: 163038503
* Add a command line option to make the minimum_os_version attribute mandatory ↵Gravatar lberki2017-07-25
| | | | | | | on Apple rules. RELNOTES: None. PiperOrigin-RevId: 163035922
* Automated rollback of commit 7d0200703cfa207d6577d84bee45ca185d240dfa.Gravatar carmi2017-07-25
| | | | | | | | | | | | SKIP_KOKORO: Kokoro is out of quota. *** Reason for rollback *** Causes memory regression, somehow: b/63934093 *** Original change description *** PiperOrigin-RevId: 163023580
* Add --internal_do_not_export_builtins, for testingGravatar brandjon2017-07-25
| | | | | | | | | This is a temporary flag that causes Extension objects to elide some built-in symbols, for the benefit of tests. Currently it only applies to the "native" builtin for Extensions created by SkylarkImportLookupFunction. A future Skylark language change will have the effect of excluding all builtin symbols from all Extension objects anyway, so this flag will eventually be subsumed by that incompatible change. RELNOTES: None PiperOrigin-RevId: 163016504
* Return exit code SUCCESS when there are only skipped and passing tests.Gravatar Googler2017-07-25
| | | | | RELNOTES: none PiperOrigin-RevId: 162997060
* Add hook to process SkyframeExecutor in tests. Also add sentinel exception ↵Gravatar janakr2017-07-25
| | | | | | to indicate unserializability, improve error message in Path when serialization fails, and add some test-only methods to SkyframeExecutor and PackageFactory. PiperOrigin-RevId: 162993806
* Remove superfluous resetEvaluator() call in setupPackageCache(). If ↵Gravatar felly2017-07-25
| | | | | | necessary, the reset occurs before the command starts. PiperOrigin-RevId: 162973194
* Remove generate_workspace from BazelGravatar kchodorow2017-07-25
| | | | | | | It now exists as a separate project at https://github.com/bazelbuild/migration-tooling. PiperOrigin-RevId: 162970509
* The first step to allow non-lifecycle build stream to specify notification ↵Gravatar Kai Xu2017-07-24
| | | | | | | keywords. Change-Id: I8421e9d2d8a5e6720d7b8d6de4417bee71c0fa68 PiperOrigin-RevId: 162966141
* In UseBridge.class, check whether the owner of the method call instruction andGravatar cnsun2017-07-24
| | | | | | | | | | the owner of the method reference have assignable relation. If yes, use the bridge method. This CL addresses the integration problem between Desugar and the lambda factory of JDK 9. The change in JDK 9 is here,http://hg.openjdk.java.net/jdk9/dev/jdk/rev/a3b3c7b6464d. RELNOTES: None PiperOrigin-RevId: 162965244
* Make $jarjar_bin point to //tools/android:jarjar_bin.Gravatar ajmichael2017-07-24
| | | | | | | Fixes TODO in AndroidRuleClasses.java. RELNOTES: None PiperOrigin-RevId: 162955052
* Automated rollback of commit 820a46af10808396873c36d0f331e533118cf0c6.Gravatar dmarting2017-07-24
| | | | | | | | | | | | | | | | | | | | | | | | | | *** Reason for rollback *** Now the new jenkins pipeline has been rolled forward we actually needs that change To cherry-pick for #3375 *** Original change description *** Automated rollback of commit 6d6e87297fe8818e4c374fdfabfbcf538bca898a. *** Reason for rollback *** Does not work so well, see https://storage.googleapis.com/bazel/0.5.3/rc1/index.html *** Original change description *** Release script: generate the index.html from the commit message Do not rely on the README.md anymore, because it relies on log still existing forever on Jenkins. Incoming change will just provides the log as a file that will be archived on GCS. PiperOrigin-RevId: 162950464
* Fix python_stub_template.txt to be compatible with Python 2.4.Gravatar philwo2017-07-24
| | | | PiperOrigin-RevId: 162949753
* Distinguish mnemonics between different usages of aapt.Gravatar ajmichael2017-07-24
| | | | | RELNOTES: None PiperOrigin-RevId: 162945309
* Let nocopts also filter coptsGravatar hlopko2017-07-24
| | | | | RELNOTES: nocopts now also filter copts PiperOrigin-RevId: 162944771
* Cross-reference '--aspects' flag documentation.Gravatar Dmitry Lomov2017-07-24
| | | | | Change-Id: I8fac99583087ddddb2c9e27cc3637a054a460c6e PiperOrigin-RevId: 162927601
* Fixed relative link in documentation to ProviderGravatar Oleg Tsarev2017-07-24
| | | | | | | | | | | | | | | | | | | Please look to page: Note "Target" link. Actual: https://docs.bazel.build/versions/master/skylark/lib/lib/Target.html `404 - Page not found $ bazel build :what-you-were-looking-for ............... ERROR: no such page ':what-you-were-looking-for': BUILD file not found on package path. INFO: Elapsed time: 0.567s` Expected: https://docs.bazel.build/versions/master/skylark/lib/Target.html Closes #3439. PiperOrigin-RevId: 162923519
* Stops ARM from compiling 64-bit only C++ SingleJar ↵Gravatar Alois Klink2017-07-24
| | | | | | | | | | (https://github.com/bazelbuild/bazel/blob/master/tools/cpp/lib_cc_configure.bzl#L106-L107)), forcing bazel to use the `SingleJar_deploy.jar` java implementation of SingleJar fixes this issue. I suspect 32-bit Unix has the same issue, which could be fixed by adding the same configuration for `piii`, but I don't have a 32-bit x86 system to test it on. But if anyone is here by Googling the above error code, try replacing all the `arm` references in this pull request with `piii`! Closes #3382. PiperOrigin-RevId: 162923371
* Update install-os-x.mdGravatar Oleg Tsarev2017-07-24
| | | | | | | | Incorrect instruction for OSX (apt-get instead of brew) Closes #3437. PiperOrigin-RevId: 162923095
* bes: Update RPC PublishBuildToolEventStream.Gravatar Kai Xu2017-07-24
| | | | | | Change the return type for RPC PublishBuildToolEventStream from OrderedBuildEvent to PublishBuildToolEventStreamRequest. Change-Id: I8421e9d2d8a5e6720d7b8d6de4417bee71c0fa68
* 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