| Commit message (Collapse) | Author | Age |
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
| |
Some ZIP files does not define external attributes leading
to wrong uncompression by the zipper of ijar.
--
MOS_MIGRATED_REVID=97117828
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This is introducing a few changes to use the Java compiler
from errorprone:
- add the --java_langtools flag to the shell tests so
we do the tests with the same java compiler tooling than
Bazel, and
- added the langtools the bootclasspath of the JavaBuilder
tests.
- tagged some tests and deactivated them on travis OSX
because they either requires Java 8 or a lot of disk
space.
To do the same change on a local install, one must:
- change the source and target versions to 7 in the
tools/jdk:toolchain target,
- use the .travis/jdk7.WORKSPACE file instead of the
default Bazel workspace (it contains a maven_jar
refering to the errorprone's java compiler tools), and
- set the JAVA_VERSION environent variable to "1.7".
The .travis/build.sh script does just that when under OS X.
--
Change-Id: Idb466cf47cf7df35a34fb0dd8d186628aae0cba7
Reviewed-on: https://bazel-review.googlesource.com/#/c/1520/
MOS_MIGRATED_REVID=96011123
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Now the blessed Bazel binary is self-hosted and correctly labeled.
All tools are also built using Bazel and labeled with the release.
At the end of the compilation, the output folder only host the
Bazel binary now. We use temporary folders to store the intermediate
artifacts.
Also integrated ./bootstrap_test.sh in compile.sh so there is only
one script for everything regarding bootstraping Bazel.
--
Change-Id: Idadbd075e7b8ecb6e306b919b7a73c647c5cfbae
Reviewed-on: https://bazel-review.googlesource.com/#/c/1460/
MOS_MIGRATED_REVID=95625880
|
|
|
|
|
|
|
|
|
|
|
| |
This ZIP implementation is lightweight and rely on zlib for
compression. libarchive was a bit tricky to set-up so it's
better to use that one.
--
Change-Id: I607b492998572e834e095a4606eeb77c0b574542
Reviewed-on: https://bazel-review.googlesource.com/#/c/1410/
MOS_MIGRATED_REVID=94910072
|
|
|
|
|
|
|
|
|
| |
Also remove the leading slash when flattening files
Fixes #219.
--
MOS_MIGRATED_REVID=94751441
|
|
|
|
|
|
|
|
|
| |
For some reason PATH_MAX is not found on TravisCI.
Towards fixing #212.
--
MOS_MIGRATED_REVID=94696153
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
It extracts Zip/Unzip methods of ijar in a separate
library. A zipper binary is provided to test that
implementation outside. Note that this implementation
does not compute CRC-32 and unzip will complain on
file zipped with it (but Java won't complain).
The error handling has been replaced to use proper error
reporting instead of launching abort()'s allover the place
so ijar's zip library can be used outside of ijar.
Finally, support for ZIP preamble has been added to
handle self-extractable ZIP files.
--
Change-Id: I833034b4c0054925bada75102fe040db875da789
Reviewed-on: https://bazel-review.googlesource.com/#/c/1371/
MOS_MIGRATED_REVID=94656262
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The ijar tests were a bit bloated so using our shell test framework
to separate those tests into individual function and enable sharding.
The ijar tests are still ~70s on a macbook with a SSD drive (compared
to ~140s before).
Those 70s are spent in tests that write big files and test ijar
behavior with those big files. In those tests, disk IOs dominate
time. Timing the various operation gave that jaring the 2.2Gb large
file takes ~17s each time (operation we do twice). Simply creating
that file takes approximatively 10s. Reducing the number of
operations in that test would reduce significantly its duration.
Unfortunately, that would reduce the coverage of the test.
--
Change-Id: Idc817ab32b78b69bde8dd95ddedbcf6b9f12ee3f
MOS_MIGRATED_REVID=92723971
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=91883301
|
|
|
|
|
|
|
|
|
|
|
| |
__STDC_LIMIT_MACROS
Import of https://github.com/igkm/bazel/commit/8e9e227c574bd995564b014b3e1fe9808fecd128
Fixes #42
--
MOS_MIGRATED_REVID=89582079
|
|
|
|
|
|
|
|
|
| |
It is a first batch of integration tests for Bazel. They tests some
basic behaviors and nominal cases of Bazel rules (especially they tests
the behavior of the examples provided in //examples).
--
MOS_MIGRATED_REVID=89440074
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=88210083
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=88113124
|
|
--
MOE_MIGRATED_REVID=85702957
|