| Commit message (Collapse) | Author | Age |
|
|
|
|
| |
RELNOTES: None
PiperOrigin-RevId: 157403137
|
|
|
|
|
| |
RELNOTES: None.
PiperOrigin-RevId: 157401168
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Tests basically always finish with non-existent files, and this is not an
error on the server side. Instead, the client (Bazel) checks whether all the
files it expects are present.
The test didn't catch this because it was silently falling back to local
execution.
Non-existent files were leading to an IOException, which caused the remote
worker to log nothing, and silently return an error with no output. Log
errors in the remote worker to make future debugging easier.
Fixes #2887.
PiperOrigin-RevId: 157400131
|
|
|
|
|
|
|
|
|
|
| |
1. We are not high experimental any more
2. Point known issues to the right place
3. Make it clear that we also support python 3
4. MSVC is the default on Windows toolchain since 0.5.0
Change-Id: I804215b7b14263e43b30cdf76a9aaf0eb4598cee
PiperOrigin-RevId: 157398506
|
|
|
|
|
|
|
| |
Strangely enough, some clients have sed that doesn't support -E
RELNOTES: None.
PiperOrigin-RevId: 157397892
|
|
|
|
|
|
|
|
|
| |
- Bazel with JDK 7 will not be supported past 0.5.0
- a new installer is available with embedded JDK
This change should only be submitted when version 0.5.0 is released.
PiperOrigin-RevId: 157396320
|
|
|
|
|
|
|
|
|
|
| |
As the state tracker keeps track of which transports we still have to
wait for, make the event handler just ask the state tracker. In this way,
we also handle gracefully if the closing of a transport is reported more
than once.
Change-Id: I0e1959d827268319ec00541994314c9325ef2307
PiperOrigin-RevId: 157395608
|
|
|
|
|
| |
RELNOTES: None
PiperOrigin-RevId: 157393208
|
|
|
|
|
|
|
|
|
|
|
|
| |
This attempts to fix #3006.
This change will presumably have to be reversed once msysless binary name changes to become the default.
It would be simpler to name the default binary for being default, to avoid special casing (see https://github.com/bazelbuild/bazel/issues/3006#issuecomment-301440068).
Closes #3066.
PiperOrigin-RevId: 157390473
|
|
|
|
|
|
|
|
| |
1. Added config_settings for Windows
2. Don't use gcc warning options in copts, this made it possible
to build without python wrapper scripts.
Change-Id: I37521d717b9d2d488a3bb0ec658dad40c6ddbb27
|
|
|
|
|
|
|
|
|
| |
This should fix Bazel CI / bazel-tests.
See https://github.com/bazelbuild/bazel/issues/3072
Change-Id: I6fe2247d99d11e4e544c4066c132a251652bd2ce
PiperOrigin-RevId: 157386938
|
|
|
|
|
|
|
|
| |
We initially didn't consider that multiple BuildEventStreamer instances might
exist during a build.
RELNOTES: None.
PiperOrigin-RevId: 157385069
|
|
|
|
|
|
|
|
|
| |
An important part of a configuration are the "make variables", containing
values such as TARGET_CPU. Report them as part of the description of the
configuration.
Change-Id: Id918cc340acac87cf95cc66581345f8060cb4877
PiperOrigin-RevId: 157378950
|
|
|
|
|
|
|
|
| |
In previous annoucenment, we did not copy the full list of changes in the blog post: https://bazel.build/blog/2016/11/02/0.4.0-release.html
Here they were copies because they were temporary added to the blog post draft, but should have ultimately be removed.
RELNOTES: None
PiperOrigin-RevId: 157378942
|
|
|
|
|
|
| |
RELNOTES: None.
PiperOrigin-RevId: 157378037
|
|
|
|
|
|
| |
RELNOTES: None.
PiperOrigin-RevId: 157374805
|
|
|
|
|
| |
Change-Id: I21c738873b2bc6b4d2e8b607e0a206589d905f86
PiperOrigin-RevId: 157271290
|
|
|
|
|
|
|
|
|
| |
overview topic rather than instructions for installing Bazel.
Test: staged locally
RELNOTES: None.
PiperOrigin-RevId: 157263957
|
|
|
|
|
|
|
|
|
|
| |
Each can has slightly different semantics for the IDE, and it is better to use
the information on which files belong to which group from BUILD file rather than use heuristics like file extension to determine it.
The contents of "textual_hdrs" are added by the prefetcher.
RELNOTES: None.
PiperOrigin-RevId: 157256048
|
|
|
|
|
| |
RELNOTES: ios_framework native rule has been removed. This rule had been essentially broken for several months now; users should be using the skylark ios framework rule. https://github.com/bazelbuild/rules_apple has details.
PiperOrigin-RevId: 157246539
|
|
|
|
|
| |
RELNOTES: None.
PiperOrigin-RevId: 157235505
|
|
|
|
|
|
| |
Fixes #2999.
PiperOrigin-RevId: 157222957
|
|
|
|
|
| |
RELNOTES: None.
PiperOrigin-RevId: 157219345
|
|
|
|
| |
PiperOrigin-RevId: 157218175
|
|
|
|
|
|
| |
Closes #3052.
PiperOrigin-RevId: 157210157
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Baseline: f3ae88ee043846e7acdffd645137075a4e72c573
Cherry picks:
+ c58ba098526b748f9c73e6229cafd74748205aa1:
Release to GCS: put the final release in its own directory
+ 0acead4ea3631240659836ce6ecd6d7f67fd352b:
Update protobuf to latest master at a64497c and apply
@laszlocsomor's latest changes from
https://github.com/google/protobuf/pull/2969 on top of it.
+ d0242ce4a87929f2528f4602d0fb09d1ccfcea94:
Make symlinks consistent
+ d953ca8b87a46decbce385cebb446ae0dd390881:
Clean VanillaJavaBuilder output directories
+ 755669fb5de1f4e762f27c19776cac9f410fcb94:
Pass all the environment variable to Bazel during bootstrapping
+ 6f041661ca159903691fcb443d86dc7b6454253d:
Do not mark the JDK7 installer -without-jdk-installer
+ 720561113bfa702acfc2ca24ce3cc3fd7ee9c115:
Fix #2958: Installer should not overwrite bazelrc
+ 511c35b46cead500d4e76706e0a709e50995ceba:
Bootstrap: move the fail function to the top
+ 8470be1122825aae8ad0903dd1e1e2a90cce47d2:
Clean up javac and Error Prone targets
+ 4a404de2c6c38735167e17ab41be45ef6fc4713a:
Update javac version to 9-dev-r4023-2
+ 36ce4b433e19498a78c34540d5a166d4e0006b22:
Update javac version to 9-dev-r4023-2
+ 38949b8526bdb3e6db22f3846aac87162c28c33f:
Migrate off versioned javac and Error Prone targets
+ 1a57d298f8aa6ea8136d93223902104f2479cd2a:
Re-enabling passing -sourcepath via javacopts.
+ eb565f408e03125e92d42b00756e519795be6593:
Make make sure that msys build actually builds msys version
+ 39f328cf392056618d1a3ead4835a138b189a06d:
Fix typo. Also do not override host_cpu for msvc.
+ 624802893f4fe72118f00a78452605d41a2e1c6f:
Select correct JDK for windows_msys
+ c4f271d1a68366b6fa5ff38ea7d951b6a22af044:
Automated g4 rollback of commit
3e5edafa2a04a71cd3596e929e83222da725f3f9.
+ 926180997a0f296a5a009326aead887279ce0a90:
Remove process-tools.cc which I forgot to delete during the last
rollback.
+ baca6e4cb023649920871b74810927d304729e59:
Fix #2982: Bazel installer should not check for installed JDK if
using a bundled JDK.
+ 866ecc8c3d5e0b899e3f0c9c6b2265f16daae842:
Disable msys path conversion on Windows.
+ cc21998c299b4d1f97df37b961552ff8168da17f:
Rollforward #2 of: Basic open-source crosstool to support
targeting apple platform types.
+ 0f0ccc4fc8229c1860a9c9b58089d6cfb2ee971f:
Escape % in strings that will appear in Crosstool
+ 3b08f774e7938928e3a240a47a0a7554cdc8d50b:
Adding feature for linking C Run-Time library on Windows
Incompatible changes:
- Bazel's Linux sandbox no longer mounts an empty tmpfs on /tmp,
instead the existing /tmp is mounted read-write. If you prefer
to have a tmpfs on /tmp for sandboxed actions for increased
hermeticity, please use the flag --sandbox_tmpfs_path=/tmp.
- Converting artifacts to strings and printing them now return
"File" instead of "Artifact" to be consistent with the type name.
- The return type of depset.to_list() is now a list rather than a
frozen list. (Modifying the list has no effect on the depset.)
- Bazel now prints logs in single lines to java.log
- --use_dash, --dash_url and --dash_secret are removed.
- Remote repositories must define any remote repositories they
themselves use (e.g., if @x//:foo depends on @y//:bar, @y must be
defined
in @x's WORKSPACE file).
- Remote repositories must define any remote repositories they
themselves use (e.g., if @x//:foo depends on @y//:bar, @y must be
defined
in @x's WORKSPACE file).
- objc_xcodeproj has been removed, use tulsi.bazel.build instead.
New features:
- If grte_top is a label, it can now follow non-configurable
redirects.
- Optional coverage_files attribute to cc_toolchain
- "query --output=build" now includes select()s
- Raw LLVM profiles are now supported.
Important changes:
- Automatically generate Proguard mapping when resource shrinking
and Proguard are enabled.
- New rules in Bazel: proto_library, java_lite_proto_library,
java_proto_library and cc_proto_library
- Activate the "dead_strip" feature if objc binary stripping is
enabled.
- More stable naming scheme for lambda classes in desugared android
code
- Convert --use_action_cache to a regular option
- Per-architecture dSYM binaries are now propagated by
apple_binary's AppleDebugOutputsProvider.
- Avoid factory methods when desugaring stateless lambdas for
Android
- desugar calls to Objects.requireNonNull(Object o) with
o.getClass() for android
- Add an --copy_bridges_from_classpath argument to android
desugaring tool
- Change how desugar finds desugared classes to have it working on
Windows
- Evaluation of commands on TargetsBelowDirectory patterns
(e.g. //foo/...) matching packages that fail to load now report
more
detailed error messages in keep_going mode.
- Allow to have several inputs and outputs
- Repository context's execute() function can print stdout/stderr
while running. To enable, pass quiet=False.
- Bazel can now be built with a bundled version of the OpenJDK.
This makes it possible to use Bazel on systems without a JDK, or
where
the installed JDK is too old.
- The --jobs flag now defaults to "auto", which causes Bazel to
use a reasonable degree of parallelism based on the local
machine's
capacity.
- Bazel benchmark (perf.bazel.build) supports Java and Cpp targets.
- no factory methods generated for lambda expressions on android
- The Linux sandbox no longer changes the user to 'nobody' by
default, instead the current user is used as is. The old behavior
can be
restored via the --sandbox_fake_username flag.
- /tmp and /dev/shm are now writable by default inside the
Linux sandbox.
- Bazel can now use the process-wrapper + symlink tree based
sandbox implementation in FreeBSD.
- turn on --experimental_incremental_dexing_error_on_missed_jars by
default.
- All android_binarys are now signed with both Apk Signature V1 and
V2. See https://source.android.com/security/apksigning/v2.html
for more details.
- Windows MSVC wrappers: Not filtering warning messages anymore,
use --copt=-w and --host_copt=-w to suppress them.
- A downloader bug was fixed that prevented RFC 7233 Range
connection resumes from working with certain HTTP servers
- Introduces experimental android_device rule for configuring and
launching Android emulators.
- For boolean flags, setting them to false using --no_<flag_name>
is deprecated. Use --no<flag_name> without the underscore, or
--<flag_name>=false instead.
- Add --experimental_android_compress_java_resources flag to store
java
resources as compressed inside the APK.
- Removed --experimental_use_jack_for_dexing and libname.jack
output of
android_library.
- blaze canonicalize-flags now takes a --show_warnings flag
- Changing --invocation_policy will no longer force a server
restart.
- Bazel now supports Android NDK14.
- android_binary multidex should now work without additional flags.
- Use action_config in crosstool for static library archiving,
remove ar_flag.
- new option for bazel canonicalize-flags, --canonicalize_policy
- Use action_config in crosstool for static library archiving,
remove ar_flag.
- android_library exports_manifest now defaults to True.
- Fix select condition intersections.
- Adds a --override_repository option that takes a repository
name and path. This forces Bazel to use the directory at that path
for the repository. Example usage:
`--override_repository=foo=/home/user/gitroot/foo`.
- fix idempotency issue with desugaring lambdas in interface
initializers for android
- --experimental_android_use_singlejar_for_multidex is now a no-op
and will eventually be removed.
- Every local_repository now requires a WORKSPACE file.
- Remove jack and jill attributes of the android_sdk rule.
- Add Skylark stubs needed to remove sysroot from CppConfiguration.
- Desugar try-with-resources so that this language feature is
available
to deveces with API level under 19.
- The flag --worker_max_retries was removed. The
WorkerSpawnStrategy no longer retries execution of failed Spawns,
the reason being that this just masks compiler bugs and isn't
done for any other execution strategy either.
- Bazel will no longer gracefully restart workers that crashed /
quit, instead this triggers a build failure.
- All java resources are now compressed in android_binary APKs by
default.
- All java resources are now compressed in android_binary APKs by
default.
- android_ndk_repository now creates a cc_library
(@androidndk//:cpufeatures) for the cpufeatures library that is
bundled in the Android NDK. See
https://developer.android.com/ndk/guides/cpu-features.html for
more details.
- 'output_groups' and 'instrumented_files' cannot be specified in
DefaultInfo.
- You can increase the CPU reservation for tests by adding a
"cpu:<n>" (e.g. "cpu:4" for four cores) tag to their rule in a
BUILD file. This can be used if tests would otherwise overwhelm
your system if there's too much parallelism.
- Deprecate use_singlejar_for_proguard_libraryjars and force
behavior to always on.
|
|
|
|
|
|
|
|
|
|
|
| |
In a test result, report more standard files, if present.
Also, add a class with the constants used to name those files.
Note that we have to identify files generated by a test with
strings rather than an enum, as we want to support extensions
of bazel to add their own files reported by tests.
RELNOTES: None.
PiperOrigin-RevId: 157204042
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This cl introduces new action_config type for Crosstool named 'generic'. This
can be used to set the value of CC_FLAGS make variable using much more
expressive mechanism (action_configs + features) than previous make_variable
Crosstool messages. This has been requested by the C++ LPT.
However, as FeatureConfiguration needs RuleContext, CC_FLAGS cannot be
computed using configuration only anymore. Also, FeatureConfiguration is C++
rules specific class, and Bazel build-base cannot depend on it. Therefore we
cannot use FeatureConfiguration for ExtraActions, for example. Because it cannot
be made perfect, this cl is not updating all the possible places that expand
make variables but limits the scope to:
* genrule (the only widely used rule that often expands make variables)
* *_test (CC_FLAGS is used by Tensorflow in the 'args' attribute)
* cc_rules (people sometimes set 'copts' to something like:
"-DCC_STRING=\\\"$(CC)\\\" -DCC_FLAGS_STRING=\"$(CC_FLAGS)\""
The long term plan is to use Skylark C++ API to get C++ command lines, so
CC_FLAGS together with this inconsistent solution will be removed.
RELNOTES: CC_FLAGS can be defined using 'generic' action_config in CROSSTOOL
PiperOrigin-RevId: 157202883
|
|
|
|
|
|
|
| |
The previous copt was in error, and was not caught due to only causing warnings to be omitted. Tests are now updated to throw an error in such cases of warning.
RELNOTES: None.
PiperOrigin-RevId: 157150798
|
|
|
|
|
|
|
| |
This will allow custom rules to interact more fully with the platform system.
Change-Id: I22dd2efab55b1c6e6129b1ba99fb5f0aa9c2d6b2
PiperOrigin-RevId: 157145828
|
|
|
|
|
|
| |
Actual fix for #2819.
PiperOrigin-RevId: 157142420
|
|
|
|
|
|
|
| |
from global .blazerc in unknown commit
RELNOTES: n/a
PiperOrigin-RevId: 157133716
|
|
|
|
|
| |
RELNOTES: Skylark support (apple_common.dotted_version(string)) for building DottedVersion objects to interface with native apple rules
PiperOrigin-RevId: 157131109
|
|
|
|
|
| |
RELNOTES: None
PiperOrigin-RevId: 157124371
|
|
|
|
|
| |
Change-Id: I0604355801bd7e4f77a93bfc38e970713a1392c5
PiperOrigin-RevId: 157116222
|
|
|
|
|
|
| |
This implicit output is similar to objc_library's fully linked static library. For j2objc_library targets, we can use this output to trigger transpilation and generate a fully linked static library.
PiperOrigin-RevId: 157062831
|
|
|
|
|
|
| |
Unfortunately, we aren't ready to turn logging on by default, so cannot convert die/pdie to FATAL log messages.
PiperOrigin-RevId: 157041142
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
*** Reason for rollback ***
Rollforward with fix.
*** Original change description ***
Automated g4 rollback of commit c78c947e6a8cbb323304f872a3dcabb989a3d76b.
*** Reason for rollback ***
Breaks android targets in the nightly - see []
*** Original change description ***
Do not retain transitive data in AndroidLocalTestBase...
***
ROLLBACK_OF=156745610
RELNOTES: None
PiperOrigin-RevId: 157028029
|
|
|
|
|
|
|
|
| |
append a suffix to the method name, so as to avoid name clash in the companion
class.
RELNOTES: n/a
PiperOrigin-RevId: 157021961
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
linux-sandbox expects InstallSignalHandler to fail silently when called
for a signal that doesn't allow one to install a signal handler. This
behavior was accidentally lost and changed into a DIE() on sigaction
failure when unifying the signal handling code with process-wrapper in
https://github.com/bazelbuild/bazel/commit/f5900474b8bce417c3ef4c3e06af6da5ed57b929. This CL restores the previous behavior.
The issue results in this failure:
$ linux-sandbox -- /bin/true
third_party/bazel/src/main/tools/process-tools.cc:112: "sigaction": Invalid argument
We do have tests for linux-sandbox and Bazel's usage of the linux-sandbox
strategy. None of these actually started failing when the linux-sandbox
stopped working, due to our automatic fallback logic that we added in
order to not annoy users / CI on platforms that don't support the Linux
sandbox :( Bazel silently falls back to the processwrapper-sandbox
strategy and disables the entire linux-sandbox test suite, but signals
to CI that it passed (because we don't support a "Skipped" test status).
Well, congrats. What an epic fail. I will have to rework this next week.
PiperOrigin-RevId: 157021455
|
|
|
|
|
|
|
| |
configuration
RELNOTES: None.
PiperOrigin-RevId: 157017608
|
|
|
|
|
| |
RELNOTES: add one-version enforcement to android_local_test
PiperOrigin-RevId: 157014802
|
|
|
|
|
|
|
| |
Part of #2219.
Change-Id: I39ced1f3e2605154771df9424d6ed2f971820baf
PiperOrigin-RevId: 157002268
|
|
|
|
|
|
| |
already done, we should leave the thread in an interrupted state and proceed. This fixes a blaze crash when a 'genquery' execution is interrupted at the right time.
PiperOrigin-RevId: 157000269
|
|
|
|
|
|
|
| |
they were over-writable in all cases instead of differentiating by attribute type.
RELNOTES: None.
PiperOrigin-RevId: 156999284
|
|
|
|
|
|
| |
For #2409.
PiperOrigin-RevId: 156986600
|
|
|
|
|
| |
RELNOTES: None.
PiperOrigin-RevId: 156983366
|
|
|
|
|
| |
RELNOTES: None.
PiperOrigin-RevId: 156979845
|
|
|
|
|
| |
RELNOTES: None.
PiperOrigin-RevId: 156979705
|
|
|
|
|
| |
RELNOTES: None.
PiperOrigin-RevId: 156979038
|