| Commit message (Collapse) | Author | Age |
... | |
|
|
|
|
|
|
|
| |
This is a replay of the changes from https://bazel-review.googlesource.com/#/c/1520
and that didn't got imported on the import CL.
--
MOS_MIGRATED_REVID=96099800
|
|
|
|
|
|
|
|
|
|
| |
This will allow system-wide configuration for system-wide
installation of Bazel.
--
Change-Id: I71b7232e648f2690766c3b9184f863dc888524c0
Reviewed-on: https://bazel-review.googlesource.com/#/c/1540/
MOS_MIGRATED_REVID=95994630
|
|
|
|
|
|
|
|
|
| |
running system.
Tested on OS X 10.10, Debian 8.1 (x86_64) and Debian 8.1 (i686).
--
MOS_MIGRATED_REVID=95819163
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
| |
Added target to use java skylark rules to bootstrap
JavaBuilder and SingleJar. Uses thoses target to bootstrap
JavaBuilder and SingleJar and compiles all tools using
Bazel.
--
Change-Id: I5142917c8b31e04015fbab89382df36b4892d8c6
Reviewed-on: https://bazel-review.googlesource.com/#/c/1451/
MOS_MIGRATED_REVID=95281092
|
|
|
|
|
|
|
|
|
|
| |
Also updates the fetch documentation. Now that it's been in the wild for a bit,
keeping --fetch=true the default seems like the right choice: it's less
confusing to new users and anyone who cares can put `build --fetch=false` in
their .bazelrc file.
--
MOS_MIGRATED_REVID=94912125
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
--
Change-Id: Id9e80ebc9f05ee7dcdf5d77e84e29cfb89de72cb
Reviewed-on: https://bazel-review.googlesource.com/#/c/1400/
MOS_MIGRATED_REVID=94696229
|
|
|
|
|
|
|
| |
See comment in https://github.com/google/bazel/commit/f925f078be973b9c5e6882a99e35ab4ffff51cf4
--
MOS_MIGRATED_REVID=94456605
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=94088974
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=93915666
|
|
|
|
|
|
|
| |
Fixes #192.
--
MOS_MIGRATED_REVID=93890217
|
|
|
|
|
|
|
|
|
| |
This only makes sense on Darwin platform.
--
Change-Id: I337a92bfb9a121b925b5e12e44108abb8c6cbd46
Reviewed-on: https://bazel-review.googlesource.com/#/c/1330/
MOS_MIGRATED_REVID=93651773
|
|
|
|
|
|
|
|
|
|
| |
This is a bit annoying from a UX perspective, as the JDK is an "external
dependency" (and the C++ compiler really should be) so you have to run
"fetch" on new repositories with nothing in the WORKSPACE file before
doing your first build.
--
MOS_MIGRATED_REVID=93532829
|
|
|
|
|
|
|
| |
Without that change, the compile.sh script fails when $HOME is unset.
--
MOS_MIGRATED_REVID=93412872
|
|
|
|
|
|
|
|
|
|
|
| |
Poorly performing features of the API have been deprecated in favor of better alternatives:
- use addZip(File) over addZip(InputStream) or addZip(String, InputStream)
- use addFile(ZipFileEntry) over addFile(String, Date, InputStream, DirectoryEntryInfo)
New zip package for high performance ZIP file manipulation. Can directly work with compressed ZIP entry data and has support for Zip64 (forces Zip32 by default).
--
MOS_MIGRATED_REVID=93128639
|
|
|
|
|
|
|
| |
Kicks the can down the road for #167.
--
MOS_MIGRATED_REVID=92270128
|
|
|
|
|
|
|
|
| |
Traditionally, "$CPP" is the C preprocessor, not the C++ compiler, and
the $CFLAGS variable is only for C compilation, not C++.
--
MOS_MIGRATED_REVID=91898356
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Add a newline to compile.sh so that the archive_dir variable is
preserved when building with macports.
Without this, we see the following:
$ ./compile.sh
cp: /include/archive.h: No such file or directory
cp: /include/archive_entry.h: No such file or directory
--
Change-Id: c03f3ba7070339ad2e9a0373f98135f780484431
MOS_MIGRATED_REVID=91703218
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=91681168
|
|
|
|
|
|
|
|
| |
We should also move the output directory to bazel-something so
it get excluded from the package path.
--
MOS_MIGRATED_REVID=91567602
|
|
|
|
|
|
|
|
|
| |
Tested with removing the protoc binaries from a github copy.
Fixes #128.
--
MOS_MIGRATED_REVID=91297812
|
|
|
|
|
|
|
|
|
| |
Part the fix for bug #128
Tested by making JDK point to a folder with space.
--
MOS_MIGRATED_REVID=91295878
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Looks like in the transition it was forgotten to be moved to the new
location.
As an effect of this change it was discovered that file.cc had an
dependency back on blaze_util.cc (from client binary for die/pdie functions).
In order to fix that dependency we have had to move die/pdie functions into
util library (added errors.(cc|h)) for this.
Tested on Linux with the following command lines:
$ ./compile.sh
$ ./output/bazel build //src/main/cpp:all
$ ./output/bazel build //src:bazel
$ ./bootstrap_test.sh all
--
Change-Id: I70fb1b6189dc5af31f816332d76efe380ef26302
MOS_MIGRATED_REVID=90987514
|
|
|
|
|
|
|
|
|
| |
Suggested on https://github.com/google/bazel/issues/103#issuecomment-91290723,
this way the workspace on the package path doesn't include any (unwanted) build
artifacts.
--
MOS_MIGRATED_REVID=90733730
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=90725916
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=90418845
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
*** Reason for rollback ***
New ZipCombiner creates malformed output ZIP files when input ZIP files contain more than 65535 entries, the maximum amount for non-64-bit ZIP files.
*** Original change description ***
Rewrite of ZipCombiner to improve performance and maintainability. Added devtools/build/zip to allow reading and writing of ZIP files without requiring decompressing file data to manipulate them.
ZipCombiner API has some changes. ZipCombiner#addZip takes a File instead of InputStream. ZipCombiner#addFile takes a ZipFileEntry instead of DirectoryEntryInfo
--
MOS_MIGRATED_REVID=90279976
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=90162183
|
|
|
|
|
|
| |
--
Change-Id: I270ea8e2a0eebba4af252a7f29fb3347643903b4
MOS_MIGRATED_REVID=90055215
|
|
|
|
|
|
|
| |
https://github.com/google/bazel/pull/83
--
MOS_MIGRATED_REVID=89989164
|
|
|
|
|
|
|
|
|
|
|
|
| |
If this option is set, the java version check fails. Fixing the
java version check to support JAVA_TOOL_OPTIONS is more dangerous
than simply unsetting it. Keeping JAVA_TOOL_OPTIONS would allow
to override java compilation configuration of Bazel.
Fixes #41
--
MOS_MIGRATED_REVID=89500863
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=89495398
|
|
|
|
|
|
|
| |
A previous commit was incomplete.
--
MOS_MIGRATED_REVID=89490186
|
|
|
|
|
|
|
|
|
| |
This is a merge of
https://github.com/safarmer/bazel/commit/dcddddcd2a3f61d1b760825a8f77f0e069f77e66
--
MOS_MIGRATED_REVID=89487751
|
|
|
|
|
|
|
|
| |
Those examples will be used for Bazel integration tests and their
sources should be available directly to the Bazel workspace itself.
--
MOS_MIGRATED_REVID=89380736
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=89147775
|
|
|
|
|
|
|
|
| |
This makes it easier to comment out large blocks of compilation, when testing
only particular stages.
--
MOS_MIGRATED_REVID=89099305
|
|
|
|
|
|
|
| |
Change-Id: Ib5d40a02826919ea675a4c4ebc7c409dbbc4ce6f
--
MOS_MIGRATED_REVID=88932526
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=88742425
|
| |
|
|
|
|
|
|
|
|
| |
Otherwise it keeps appending libarchive library targets to the existing BUILD
file.
--
MOS_MIGRATED_REVID=87942865
|
|
|
|
|
|
|
| |
The introduction of the JavaCompiler paths into the JavaBuilder tool made the bootstrap compilation by compile.sh fails.
--
MOS_MIGRATED_REVID=87705554
|
|
|
|
|
|
|
| |
This is needed for taking the runfiles prefix from the WORKSPACE file instead of hardcoding it.
--
MOS_MIGRATED_REVID=87347883
|
|
|
|
|
|
|
|
|
|
|
|
| |
While attempting to clean up the Bazel examples, I noticed that the example
tests don't actually work because they expect a third_party directory. We could
link third_party/ from the top-level bazel directory, but then we'd have
crossing symlinks (base_workspace/tools->tools and
third_party->base_workspace/third_party). Linking everything in one direction
seemed like a better option, but alternative suggestions are welcome.
--
MOS_MIGRATED_REVID=86703332
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=86681843
|
|
--
MOE_MIGRATED_REVID=85702957
|