| Commit message (Collapse) | Author | Age |
|
|
|
|
|
|
|
|
| |
the locations of build files relative to the workspace root with protobuf and XML outputs
Protobuf and XML outputs of query are non-deterministic. This flag is a first step to make genquery deterministic accross machine.
--
MOS_MIGRATED_REVID=88428100
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=88428013
|
|
|
|
|
|
|
|
| |
This should remove the needs for the --cpu=darwin flag under darwin. Bazel build are now using the host cpu too.
This commit also fix the host cpu detection. The host cpu detection was too late and and some corner case was not really working with configurable attributes. It is now done as the default value for the --host_cpu flag.
--
MOS_MIGRATED_REVID=88427551
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=88426689
|
|
|
|
|
|
|
|
|
|
| |
BazelTestSuiteRule.
- "suites" is deprecated
- it has the exact same functionality as "tests"
--
MOS_MIGRATED_REVID=88426066
|
|
|
|
|
|
|
|
|
|
|
| |
We currently use .inc as file extension for textual includes, as per
the style guide. This is not feasible for third_party libraries, including
libc and lib(std)c++.
RELNOTES: Add textual_hdrs attribute to cc_library rules.
--
MOS_MIGRATED_REVID=88422306
|
|
|
|
|
|
|
|
|
| |
strings if the result will be used.
This is about 120-130ms.
--
MOS_MIGRATED_REVID=88397372
|
|
|
|
|
|
|
|
|
| |
This allows the pending action counter to be decremented correctly when in --keep_going mode.
As part of this, there's a small refactor in ParallelEvaluator that also fixes a potential bug, that nodes in error were signaling their parents with the graph version as opposed to their actual version. Because errors never compare equal (ErrorInfo doesn't override equality), this isn't an issue in practice. But it could be in the future.
--
MOS_MIGRATED_REVID=88395500
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=88380387
|
|
|
|
|
|
|
|
|
| |
comes last in the iteration order for a particular path.
Before, if there were three entries for the same path with the middle one being different, the first one would be overridden by the middle one, and the last one would be omitted because it is .equals() to the first.
--
MOS_MIGRATED_REVID=88377253
|
|
|
|
|
|
|
|
| |
The classpath construction used a prefix substitution that was not
including the name of the workspace for java binaries.
--
MOS_MIGRATED_REVID=88375741
|
|
|
|
|
|
|
|
|
| |
case of nested bundles.
RELNOTES: objc: Fixes a case where nested bundle would pick up parent bundle_id value
--
MOS_MIGRATED_REVID=88372062
|
|
|
|
|
|
|
|
|
| |
probably want to store these and may declare dependencies in advance so all metadata is present in the graph.
Long-term, we may be able to use the returned set to make input-discovering actions immutable, which would be nice.
--
MOS_MIGRATED_REVID=88348068
|
|
|
|
|
|
|
| |
RELNOTES: objc_* rules can use structured_resources
--
MOS_MIGRATED_REVID=88337360
|
|
|
|
|
|
|
|
|
|
|
|
| |
Before, new_local_repository would create a symlink with the basename of the
directory being linked to. For example, on my machine the JDK is in a directory
named "jdk8", so the BUILD file had to prefix all of the files with "jdk8/".
By symlinking the _contents_ of "path" instead of the basename of "path", the
same BUILD file can be used no matter what the directory containing the JDK is
called.
--
MOS_MIGRATED_REVID=88333728
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=88325408
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=88322388
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=88277570
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=88257621
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=88236380
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=88226575
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=88224368
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=88218457
|
|
|
|
|
|
|
|
|
| |
Remove unused section (Generating rules) and simplify the code that
reads basic rule definitions (name, type, family) in for example:
<!-- #BLAZE_RULE (NAME = cc_binary, TYPE = BINARY, FAMILY = C / C++) -->
--
MOS_MIGRATED_REVID=88200584
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=88198589
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=88160544
|
|
|
|
|
|
|
|
|
|
|
|
| |
The package resolver calls getValueOrThrow in its getPackage method.
This call can throw an exception, and a year ago, the exception could
be multiple different subtypes of NoSuchThingException. Subsequently,
we made it so that only NoSuchPackageException could be thrown, but
the exception type specified in this call site remained the more
general supertype.
--
MOS_MIGRATED_REVID=88154358
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=88149329
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=88137421
|
|
|
|
|
|
|
| |
RELNOTES:
--
MOS_MIGRATED_REVID=88129488
|
|
|
|
|
|
|
| |
serializable; alternative graph implementations no longer need these.
--
MOS_MIGRATED_REVID=88003503
|
|
|
|
|
|
|
| |
mutexes, and RefCountedMultisetKeyedLocker, an efficient implementation of this abstraction.
--
MOS_MIGRATED_REVID=88000985
|
|
|
|
|
|
|
| |
Ahh, much better.
--
MOS_MIGRATED_REVID=87983553
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=87976189
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=87972774
|
|
|
|
|
|
|
| |
legacy package loading. It now happens in skyframe package loading.
--
MOS_MIGRATED_REVID=87972524
|
|
|
|
|
|
|
| |
the ordered list of grouped deps.
--
MOS_MIGRATED_REVID=87969259
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=87967267
|
|
|
|
|
|
|
|
|
|
|
| |
1) Exclude host dependencies from constraint checking.
2) Check output files with the environment specs of their generating rules.
3) Provide a more generalized way to opt certain rule classes out of
constraint checking (this fixes accidental checking on config_setting
rules, which didn't really make sense).
--
MOS_MIGRATED_REVID=87963638
|
|
|
|
|
|
|
|
|
| |
This makes the empty package name legal (//:foo). If the empty package is used,
this symlinks everything under the build root to the exec root. This includes
directories.
--
MOS_MIGRATED_REVID=87960882
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=87956686
|
|
|
|
|
|
|
| |
merged" functionality from Runfiles.Builder.
--
MOS_MIGRATED_REVID=87954443
|
|
|
|
|
|
|
|
| |
e.g.
$ bazel info bazel-bin
--
MOS_MIGRATED_REVID=87943280
|
|
|
|
|
|
|
|
|
|
| |
Classes of the same EvalUtils.getSkylarkType are once again the same for the
type inferencer.
Also, for debugging purposes, only print SkylarkClassObject as struct, not all classes that implement ClassObject yet are considered disjoint by the type engine.
--
MOS_MIGRATED_REVID=87933890
|
|
|
|
|
|
|
|
|
| |
expanding $(location //some/deps)
*_binary and *_test rules were supporting make variables substitution but not location expansion like genrule() does. Now the $(location //some/label) where //some/label is the label of a dependency of the rule will be replaced at runtime by the actual location of that dependency. In the same manner $(locations //some/label) will be replaced by the space separated list of files of the //some/label dependency. A longer usage explanation is provided in the build encyclopedia.
--
MOS_MIGRATED_REVID=87927345
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
environments)
the build is being done for.
In other words:
blaze build //foo:all --target_environment=//buildenv/target:gce
declares that this build targets GCE, so all top-level targets must also support GCE.
This essentially allows constraint enforcement to apply to top-level targets, too.
So users can protect against accidentally building targets in configurations they're
not meant to work with.
--
MOS_MIGRATED_REVID=87862252
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=87858855
|
|
|
|
|
|
|
| |
application for memory leaks.
--
MOS_MIGRATED_REVID=87839695
|
|
|
|
|
|
|
| |
Constants.
--
MOS_MIGRATED_REVID=87823207
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=87821306
|