| Commit message (Collapse) | Author | Age |
|
|
|
|
| |
--
MOS_MIGRATED_REVID=132940326
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
*** Reason for rollback ***
commit 4a45d92130a6b1306a3840d006df165b8040a6cf and everything after in [] breaks the Blaze nightlies
*** Original change description ***
Inject the product name via the per-product main.cc files.
Instead of using a compile-time PRODUCT_NAME constant and complex Build
rules to set the correct product name for Blaze and Bazel, use the new
main.cc files to inject the appropriate value.
--
MOS_MIGRATED_REVID=132934596
|
|
|
|
|
|
|
| |
RELNOTES: Exposes the is_device field on Apple platform objects and adds the apple_common.platform_type(name) method to retrieve a platform_type value that can be passed to methods like the Apple fragment's multi_arch_platform.
--
MOS_MIGRATED_REVID=132918883
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=132912013
|
|
|
|
|
|
|
|
| |
Sets --platform argument on actool invocation correctly for watchOS
targets. Previously the platform was hardcoded to iOS.
--
MOS_MIGRATED_REVID=132899993
|
|
|
|
| |
Change-Id: I59fd0ff2059abb16ccb23403736efe2d955038f4
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This is using printf-style formatting, which Python happily accepts and
ignores.
Part of #1750: now, instead of printing
```
xcode_configure.bzl:57:5: Invoking xcodebuild failed, return code %s,
stderr: %s 1
```
it prints:
```
xcode_configure.bzl:57:5: Invoking xcodebuild failed, return code 1,
stderr: xcrun: error: missing DEVELOPER_DIR path: E.g. no application
claims the file"
```
Closes #1751.
--
Reviewed-on: https://github.com/bazelbuild/bazel/pull/1751
MOS_MIGRATED_REVID=132884125
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
others in opt compiles.
A while back, we added a HIDDEN_TOP_LEVEL output group to CcBinary targets to
ensure that --process_headers_in_dependencies works as expected for them.
However, adding all HIDDEN_TOP_LEVEL files is actually too much and e.g. also
contains .pic.o files which are expensive to build but not actually needed for
the compile. The fundamental difference between CcLibrary and CcBinary targets
here is that a CcBinary already declares most of its inputs as it needs all of
them to link the binary. In contrast, CcLibraries wouldn't need any of they
dependent .o files and thus wouldn't even try to build them.
This changes splits out the header token files which are required to make
--process_headers_in_dependencies work correctly and only adds those to
HIDDEN_TOP_LEVEL outputs of binaries files.
Also removing some unused code that was producing warnings.
--
MOS_MIGRATED_REVID=132883722
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
In some cases, Bazel has already been doing this.
In other cases, Bazel tried to infer the default cpu from the CROSSTOOL, but it
did not do so consistently across different configuration fragments. I.e.,
Bazel ended up with an inconsistent set of toolchains for e.g., Python, C++,
and Java.
After this change, Bazel ignores any default_cpu setting in the CROSSTOOL.
Note that the Jvm is still inconsistent with all others, as it uses "default"
as the cpu value and ignores both command-line-specified and CROSSTOOL-specified
values.
--
MOS_MIGRATED_REVID=132879102
|
|
|
|
|
|
|
| |
crosstool.
--
MOS_MIGRATED_REVID=132877022
|
|
|
|
|
|
|
| |
necessary for objc compiles, for which include scanning can be incorrect.
--
MOS_MIGRATED_REVID=132876916
|
|
|
|
|
|
|
|
|
| |
Also increase timeout to reduce flakyness.
--
Change-Id: Ieb5bbd9b2f9e28cd3ec39f42deb0aba0f501171c
Reviewed-on: https://bazel-review.googlesource.com/c/6033/
MOS_MIGRATED_REVID=132873805
|
|
|
|
|
|
|
|
|
| |
This also entirely disallows select() in repository rules. All repository rules should now error out if the wrong type is given, instead of printing a stack trace.
Fixes #1307.
--
MOS_MIGRATED_REVID=132872804
|
|
|
|
|
|
|
| |
--
Change-Id: I1203f15e8e02373b062142c0631ff94f14bd437d
Reviewed-on: https://bazel-review.googlesource.com/c/6032/
MOS_MIGRATED_REVID=132870643
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=132870287
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=132864919
|
|
|
|
|
|
|
| |
Fixes #1755.
--
MOS_MIGRATED_REVID=132861187
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=132857927
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=132852747
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=132852559
|
|
|
|
|
|
|
| |
The the theory is that the closing the file handle when the process terminates races with the reader threads, and if the closing happens not while a system call is running but between two, nativeReadStream() would return an error.
--
MOS_MIGRATED_REVID=132851092
|
|
|
|
|
|
|
| |
Fixed https://github.com/bazelbuild/bazel/issues/1743
--
MOS_MIGRATED_REVID=132849841
|
|
|
|
|
|
|
|
|
|
| |
a85bf4b19c680a6db11f21758847dc88ec0aa658.
The bad merge undid part of the behavior around pruning header modules and also
passed in "shouldPruneModules" as "usePic".
--
MOS_MIGRATED_REVID=132846871
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=132703263
|
|
|
|
|
|
|
|
|
|
|
| |
particular, ActionKeys, which are a type of ContentDigest.
The digests are a SHA1 of the contents. For proto messages, for now we compute
the digest using the serialized form of the message, which is something we will
probably want to rethink in the future.
--
MOS_MIGRATED_REVID=132690105
|
|
|
|
|
|
|
|
| |
TODO: need to stich them all the way through various ActionInputFileCache
implementations!
--
MOS_MIGRATED_REVID=132685408
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=132683208
|
|
|
|
|
|
|
| |
once. This is helpful when there are multiple skylark reverse 'load' paths from the same popular .bzl file to a single BUILD file. As an implementation detail, introduce a few ThreadSafeUniquifier things (these will also be used in followup CLs).
--
MOS_MIGRATED_REVID=132680777
|
|
|
|
|
|
|
| |
mentioned in the dynamic_runtime_libs attribute.
--
MOS_MIGRATED_REVID=132676097
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=132675557
|
|
|
|
|
|
|
|
|
| |
Instead of using a compile-time PRODUCT_NAME constant and complex Build
rules to set the correct product name for Blaze and Bazel, use the new
main.cc files to inject the appropriate value.
--
MOS_MIGRATED_REVID=132675327
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=132673390
|
|
|
|
| |
Change-Id: I2119ce7cdce68c2732653fa0152abf0150d17ac0
|
|
|
|
|
|
|
|
|
|
|
| |
Chipping away at making the big CL for #1262 smaller. Only runfiles paths
are different right now, so this makes getPathUnderExecRoot and getSourceRoot
return the same thing. Also corrected a couple places where
Label.EXTERNAL_PATH_PREFIX and Label.EXTERNAL_PACKAGE_NAME were being used
incorrectly.
--
MOS_MIGRATED_REVID=132671081
|
|
|
|
|
|
|
| |
Needed for #1262. Doesn't do anything, yet, other than make the CL smaller.
--
MOS_MIGRATED_REVID=132671036
|
|
|
|
|
|
|
|
|
|
|
| |
This is required for #1262, as execution roots for external repos will be
accessed via ../reponame under the exec root.
I'm trying to break up the change into several small CLs. This should have
no impact on the sandbox's behavior.
--
MOS_MIGRATED_REVID=132671034
|
|
|
|
|
|
|
| |
Fixes #1746
--
MOS_MIGRATED_REVID=132660728
|
|
|
|
|
|
|
|
|
|
| |
This way, we can still use links like:
http://bazel.io/docs/bazel-user-manual.html#sandboxing
--
Change-Id: Id76a9795eaaaa0cd420df83440faada584c8621b
Reviewed-on: https://bazel-review.googlesource.com/c/5950/
MOS_MIGRATED_REVID=132654093
|
|
|
|
|
|
|
|
|
| |
- Don't call setrlimit() (it was needed to make 32-bit JVMs work with >3GB heaps)
- Remove a non-functional way to tweak the Linux scheduler
- Cosmetic fixes
--
MOS_MIGRATED_REVID=132653426
|
|
|
|
|
|
|
|
|
| |
Fixed #1729
--
Change-Id: I4c4e8bf351eb8d18aeb8345542f92c5c47596a86
Reviewed-on: https://bazel-review.googlesource.com/#/c/5930
MOS_MIGRATED_REVID=132652736
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Currently, we do multiple put calls into the
ImmutableMap.builder(), which asserts.
See bug for examples from projects.
Tweak the aapt comparison test method to actually
merge before writing out the R.class (to match
the aapt side, which also merges first).
--
MOS_MIGRATED_REVID=132607034
|
|
|
|
|
|
|
| |
The github repo is just a code drop, and currently not updated. The website contains more up-to-date instructions, in line with the plugin version published to IntelliJ's plugin repo.
--
MOS_MIGRATED_REVID=132590585
|
|
|
|
|
|
|
|
|
| |
* Rename `hash` rule in Computed dependencies section since the name of the
rule conflicts with the Skylark function of the same name.
* Fix styling in some examples.
--
MOS_MIGRATED_REVID=132588578
|
|
|
|
|
|
|
|
|
|
| |
https://docs.google.com/document/d/1hh63AzKlwcOJN6jBZzY3GNPffzww-JKx1015DfFKM6g/edit#
The current version is kept intact for now, will remove it in the CL that does
the appropriate refactoring.
--
MOS_MIGRATED_REVID=132572182
|
|
|
|
|
|
|
| |
as an alternative to removing the debug logging.
--
MOS_MIGRATED_REVID=132570566
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=132570504
|
|
|
|
|
|
|
| |
nodes.
--
MOS_MIGRATED_REVID=132558031
|
|
|
|
|
|
|
|
|
|
|
| |
SingleJar.
Otherwise the WorkerSpawnStrategy (which requires the action to use a parameter file) will fail to execute JavaDeployJar Spawn actions when its CommandLine decides not to use a parameter file, because the arguments are short enough.
Also adds a convenience method SpawnAction#getArgumentsFromParamFile() for use in tests, because I needed it here to fix up the deploy jar tests.
--
MOS_MIGRATED_REVID=132557693
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Also add tests for WindowsFileSystem and some for
WindowsFileOperations, so we test both the
JNI-based and Java-native isJunction function, as
well as handling of dangling symlinks/junctions.
Having a Java-native version of this method means
we don't need to use windows_jni.dll for any tests
or for bootstrapping.
This change could help with
https://github.com/bazelbuild/bazel/issues/1735
--
MOS_MIGRATED_REVID=132556440
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Rename BlazeStartupOptions to StartupOptions and turn the latter into a
class that can be subclassed to implement site-specific options
behavior. This lends itself to easier customization for the
site-specific versions, especially if there is more than one, and gets
rid of the strange build-time parameterization of the old
blaze_startup_options*.cc files.
Note that this change introduces various TODOs. This is intentional.
This change is quite complex as it is and I want to focus it on
reshuffling the class structure without actually touching the
internals. The latter can be done in subsequent, more targetted
changes that are easier to review and understand.
--
MOS_MIGRATED_REVID=132555032
|