| Commit message (Collapse) | Author | Age |
|
|
|
|
|
|
| |
Another part of rolling forward #1262.
--
MOS_MIGRATED_REVID=125481356
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=125160288
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
repositories
One interesting side effect of how this is implemented is that for external
repositories, bin/ and genfiles/ are combined. External repo output is under
bazel-out/local-fastbuild/repo_name for each repo.
Fixes #1262.
RELNOTES[INC]: Previously, an external repository would be symlinked into the
execution root at execroot/local_repo/external/remote_repo. This changes it to
be at execroot/remote_repo. This may break genrules/Skylark actions that
hardcode execution root paths. If this causes breakages for you, ensure that
genrules are using $(location :target) to access files and Skylark rules are
using http://bazel.io/docs/skylark/lib/File.html's path, dirname, etc.
functions.
--
MOS_MIGRATED_REVID=125095799
|
|
|
|
|
|
|
|
|
|
| |
1. Add ability to specify relative output directory through -d option.
2. Add ability to specify a list of archive entries to extract from the zip file.
Fixes #630.
--
MOS_MIGRATED_REVID=122159723
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=121475668
|
|
|
|
|
|
|
|
| |
This was reported in
--
Reviewed-on: https://github.com/bazelbuild/bazel/pull/1197
MOS_MIGRATED_REVID=121257152
|
|
|
|
|
|
|
|
|
|
| |
RELNOTES: Bazel's workspace name is now io_bazel. If you are using Bazel's
source as an external repository, then you may want to update the name you're
referring to it as or you'll begin seeing warnings about name mismatches in your
code.
--
MOS_MIGRATED_REVID=120926179
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
commit 790d2f6009d47fe92cf0cd92a1473bbf0141f32e.
*** Reason for rollback ***
Broke non-Bazel projects on ci.bazel.io
Fixes #1168
*** Original change description ***
Move the runfiles for external repositories to under the x.runfiles/ directory
This also sets the Bazel workspace name to io_bazel_source.
Fixes #848.
Relevant to #1116, #1124,
RELNOTES[INC]: All repositories are now directly under the x.runfiles directory in the runfiles tree (previously, external repositories were at x.runfiles/main-repo/external/other-repo. This simplifies handling remote repository runfiles considerably, but will break existing references to external repository runfiles....
***
--
MOS_MIGRATED_REVID=120535721
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This also sets the Bazel workspace name to io_bazel_source.
Fixes #848.
Relevant to #1116, #1124,
RELNOTES[INC]: All repositories are now directly under the x.runfiles directory in the runfiles tree (previously, external repositories were at x.runfiles/main-repo/external/other-repo. This simplifies handling remote repository runfiles considerably, but will break existing references to external repository runfiles.
---
Furthermore, if a Bazel project does not provide a workspace name in the WORKSPACE file, Bazel will now default to using __main__ as the workspace name (instead of "", as previously). The repository's runfiles will appear under x.runfiles/__main__/.
--
MOS_MIGRATED_REVID=120224534
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=119581073
|
|
|
|
|
|
|
| |
--
Change-Id: Ia176408e9b59caa85da7eb63fd3d9251a1d3fb40
Reviewed-on: https://bazel-review.googlesource.com/#/c/3328/
MOS_MIGRATED_REVID=119522458
|
|
|
|
|
|
|
| |
This was the last dependency of Bazel that is pulled in from the host system, so now (at least as dependencies go) the source tree of Bazel is now self-contained.
--
MOS_MIGRATED_REVID=119243670
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=119053259
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Check the return value of getcwd() and if it fails print
a message to the user and return -1.
This should fix the following warning:
third_party/ijar/zip_main.cc:175:32: warning: ignoring return value of
'char* getcwd(char*, size_t)', declared with attribute
warn_unused_result [-Wunused-result]
getcwd(output_root, PATH_MAX);
--
Change-Id: I8857e484f5baf60289d7c19a128f5a4616ae50e4
Reviewed-on: https://bazel-review.googlesource.com/#/c/3230/
MOS_MIGRATED_REVID=119029402
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=118761993
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This patch fixes the following warnings:
third_party/ijar/mapped_file_unix.cc:31:1: warning:
'MappedInputFileImpl' defined as a struct here but previously declared
as a class [-Wmismatched-tags]
struct MappedInputFileImpl {
^
./third_party/ijar/mapped_file.h:22:1: note: did you mean struct here?
class MappedInputFileImpl;
third_party/ijar/mapped_file_unix.cc:88:1: warning:
'MappedOutputFileImpl' defined as a struct here but previously declared
as a class [-Wmismatched-tags]
struct MappedOutputFileImpl {
^
./third_party/ijar/mapped_file.h:23:1: note: did you mean struct here?
class MappedOutputFileImpl;
--
Change-Id: Ie8269c0cfec41b4a1ddcdc9a9cd155ecac4b01d8
Reviewed-on: https://bazel-review.googlesource.com/#/c/3101
MOS_MIGRATED_REVID=118761176
|
|
|
|
|
|
|
| |
It's too much annoyance to see that error message in Bazel bootstrap.
--
MOS_MIGRATED_REVID=118572214
|
|
|
|
|
|
|
| |
One cannot call realloc() on the result of operator new.
--
MOS_MIGRATED_REVID=117906367
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=115896463
|
|
|
|
|
|
|
|
| |
This target include all non tests targets of Bazel to do integration tests of
bootstrapping.
--
MOS_MIGRATED_REVID=115830741
|
|
|
|
|
|
|
| |
Needed for #276.
--
MOS_MIGRATED_REVID=114867808
|
|
|
|
|
|
|
|
|
|
| |
Instead bundle ijar's zipper binary so the skylark rules that depends on it
can use it from @bazel_tools.
A commit introducing windows config settings broke our appengine tutorial.
--
MOS_MIGRATED_REVID=114857080
|
|
|
|
|
|
|
| |
Progress towards #276.
--
MOS_MIGRATED_REVID=114829911
|
|
|
|
|
|
|
| |
Progress on #276.
--
MOS_MIGRATED_REVID=114740700
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The JAVAC "Make" variable is the javac packaged with the host JDK, which is not
necessarily the same version used to compile java_library rules.
Users should typically use java_library directly. If a manual javac invocation
is required, BazelJavac uses the same javac version and flags as java_library.
In the rare cases where the host JDK's compiler is actually desired, prefer
`$(JAVABASE)/bin/javac` to `$(JAVAC)` for clarity.
--
MOS_MIGRATED_REVID=113386241
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
When creating an archive with //third_party/ijar:zipper, all
files to add should be specified as an argument. When adding a
lot of files, this leads to reaching the maximum size of the
command line.
This change add a @filename argument that permit to specify a
file containing the list of files to zip.
--
Change-Id: I02843588896969ef2d6add26c1c67ff44a27f7de
Reviewed-on: https://bazel-review.googlesource.com/#/c/2695/
MOS_MIGRATED_REVID=112678600
|
|
|
|
|
|
|
|
|
| |
This make those test target compatible with --nolegacy_bazel_java_test.
--
Change-Id: I2316c9aa53327b417ecce5fd5dab95ec726da11d
Reviewed-on: https://bazel-review.googlesource.com/#/c/2690
MOS_MIGRATED_REVID=112446514
|
|
|
|
|
|
|
|
| |
$(...) is incorrect when doing a test to test the return value, (...)
should be used instead.
--
MOS_MIGRATED_REVID=110248027
|
|
|
|
|
|
|
| |
will get rid of all the "ghost flakes" where tests crashed with no apparant reason printed into our logs. Now a stack trace is printed and an easy to understand failure reason, too.
--
MOS_MIGRATED_REVID=110142957
|
|
|
|
|
|
|
| |
This allows ijar to process jars with >65535 entries.
--
MOS_MIGRATED_REVID=109321374
|
|
|
|
|
|
|
|
| |
As per discussion with Alan, just use the same copyright than
for the rest of Bazel and adds Alan as an author.
--
MOS_MIGRATED_REVID=108250408
|
|
|
|
|
|
|
|
|
|
| |
Some users have reported that the Bazel server was growing to more than
128 MB.
Fixes #609
--
MOS_MIGRATED_REVID=107920664
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=105862956
|
|
|
|
|
|
|
|
| |
This doesn't change behaviour (they continue to get dropped from the interface
jar), but it avoids some spurious "skipping unknown attribute" warnings.
--
MOS_MIGRATED_REVID=105767979
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=105439722
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=105417011
|
|
|
|
|
|
|
|
|
|
|
| |
The headers were modified with
`find . -type f -exec 'sed' '-Ei' 's|Copyright 201([45]) Google|Copyright 201\1 The Bazel Authors|' '{}' ';'`
And manual edit for not Google owned copyright. Because of the nature of ijar, I did not modified the header of file owned by Alan Donovan.
The list of authors were extracted from the git log. It is missing older Google contributors that can be added on-demand.
--
MOS_MIGRATED_REVID=103938715
|
|
|
|
|
|
|
| |
It is timingout on our Darwin CI machine, see http://ci.bazel.io/job/Bazel/PLATFORM_NAME=darwin-x86_64/110/console
--
MOS_MIGRATED_REVID=103130707
|
|
|
|
|
|
|
|
|
| |
Two things were broken:
- Paths to zip/unzip when in the PATH by latest change
- md5sum was broken by FreeBSD change
--
MOS_MIGRATED_REVID=103077733
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=103076612
|
|
|
|
|
|
|
| |
hacks.
--
MOS_MIGRATED_REVID=103068956
|
|
|
|
|
|
|
|
|
|
| |
Ijar was compressing with the zlib wrapper, which is incompatible with
the ZIP format. Unfortunately, the zlib wrapper is totally undocumented.
Fixes #436.
--
MOS_MIGRATED_REVID=102846162
|
|
|
|
|
|
|
|
|
| |
This can be a problem for some usage of the produced ZIP file
to not compute the CRC-32 correctly. We still skip it for ijar
for speed.
--
MOS_MIGRATED_REVID=102844157
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
With those filegroup the tutorial is able to compile iOS and
App Engine stuff. Here how to test:
git clone https://github.com/bazelbuild/bazel
git clone https://github.com/bazelbuild/examples
export BAZEL_WORKSPACE=$PWD/bazel
export EXAMPLES_WORKSPACE=$PWD/examples
cd $BAZEL_WORKSPACE
./compile.sh
./output/bazel --bazelrc=/dev/null --nomaster_bazelrc \
build //scripts/packages:install.sh
export BAZEL_INSTALLER=$(readlink bazel-bin)/scripts/packages/install.sh
cd $EXAMPLES_WORKSPACE
./tutorial/ci/build.sh
--
Change-Id: I553ab8821f5a5cdcc7a8b4614e23ca4c79581e4f
Reviewed-on: https://bazel-review.googlesource.com/1878
MOS_MIGRATED_REVID=102239866
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This is more than just a cosmetic issue. Since groovy and appengine
rules depend directly on this target, the zipper gets built in the
user's workspace whenever a groovy/appengine target is built. If the
workspace is set to upgrade warnings to errors, this can cause builds
to fail.
--
Change-Id: I6c8b347df14098945c788411fc3e38f9c128596f
Reviewed-on: https://bazel-review.googlesource.com/1951
MOS_MIGRATED_REVID=102223767
|
|
|
|
|
|
|
|
|
|
|
| |
Add the 'C' flag to //third_party/ijar:zipper to try to compress
files using the DEFLATE algorithm. To avoid regression, creation
of uncompressed ZIP files is still the default.
--
Change-Id: I8ad7182d8f6f152abd56ae472a406cbb8d39fb64
Reviewed-on: https://bazel-review.googlesource.com/#/c/1821/
MOS_MIGRATED_REVID=101925953
|
|
|
|
|
|
|
| |
--
Change-Id: I4e65cc583e758d2f7e45209ffcb37f6a871e2ed7
Reviewed-on: https://bazel-review.git.corp.google.com/#/c/1840
MOS_MIGRATED_REVID=101462155
|
|
|
|
|
|
|
| |
(and 2.12).
--
MOS_MIGRATED_REVID=101358929
|
|
|
|
|
|
|
|
|
| |
Some progress towards #311.
--
Change-Id: I9276519d4a97d358b7c4f4e34a861522d75dd495
Reviewed-on: https://bazel-review.googlesource.com/#/c/1710
MOS_MIGRATED_REVID=99019961
|
|
|
|
|
|
|
| |
It was erroring out because it could not mmap an empty file.
--
MOS_MIGRATED_REVID=97338974
|