| Commit message (Collapse) | Author | Age |
|
|
|
|
| |
--
MOS_MIGRATED_REVID=106605250
|
|
|
|
|
|
|
|
|
| |
back to getpwuid())
Also a minor compatibility fix in a sed invocation.
--
MOS_MIGRATED_REVID=106291639
|
|
|
|
|
|
|
| |
server death" implementation. Boost grace period on SIGKILL to 10s.
--
MOS_MIGRATED_REVID=106080991
|
|
|
|
|
|
|
|
|
|
|
| |
running server (because startup flags changed, different Blaze version, etc.). Currently, we do a SIGTERM then fallback to a SIGKILL. Our logic to check if the server was still up after the fallback was backwards, so in some cases we would connect to the old server even though we just sent it a SIGKILL. Not really ideal.
Note that this only occurred if the SIGTERM failed to kill the Blaze process within 10s, so this failure mode happened rarely.
Also: Check for the expected errno from the kill(), and exit with an "internal error" exit code instead of "1" if we are unable to kill the old server.
--
MOS_MIGRATED_REVID=105999230
|
|
|
|
|
|
|
| |
A previous commit caused install_base_key to be a large .zip file instead of 32 alphanumeric characters. Thus, when Bazel tried to extract itself, it tried to create a directory of the name "$INSTALL_BASE/<40M path segment>/<long path>", and it allocated said 40M each time it walked up a path segment trying to create parent directories.
--
MOS_MIGRATED_REVID=105600489
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=105504785
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
*** Reason for rollback ***
This is causing segfaults.
*** Original change description ***
Remove copy ctor and operator= from BlazeStartupOptions
--
MOS_MIGRATED_REVID=104726824
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=104688018
|
|
|
|
|
|
|
| |
--invocation_policy startup flag and allows an application invoking Bazel to set or override flag values (whether from the command line or a bazelrc).
--
MOS_MIGRATED_REVID=104160290
|
|
|
|
|
|
|
|
|
|
|
| |
With the toolchain under Wheezy (GCC 4.7.2 and binutils 2.22), using
both -fPIE and -fPIC does not create pic object files, which the build
of Bazel seems to expect as of ee8fcd312eef51d2558c940f00d6381af0d52dff.
--
Change-Id: I0a33d1bc6dc0e3cdcffb473d4e78dac1a6b8ab41
Reviewed-on: https://bazel-review.googlesource.com/#/c/1690/
MOS_MIGRATED_REVID=104093416
|
|
|
|
|
|
|
| |
It seems unused, and the Bazel dashboard is more useful, as can persist results.
--
MOS_MIGRATED_REVID=104085798
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=103087492
|
|
|
|
|
|
|
|
|
| |
Previously the logger output was sent out to the console,
leading to garbage information in batch mode. Now, the log
are sent to a log file in the output base.
--
MOS_MIGRATED_REVID=102989990
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This was printing:
src/main/cpp/blaze_util.cc: In function 'bool blaze::WriteFile(const string&, const string&)':
src/main/cpp/blaze_util.cc:211:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
return r == content.size();
^
src/main/cpp/blaze_util.cc: In function 'bool blaze::CheckJavaVersionIsAtLeast(const string&, const string&)':
src/main/cpp/blaze_util.cc:334:41: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (i = 0; i < jvm_version_vect.size() && i < version_spec_vect.size();
^
src/main/cpp/blaze_util.cc:334:73: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (i = 0; i < jvm_version_vect.size() && i < version_spec_vect.size();
^
src/main/cpp/blaze_util.cc:344:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (i < version_spec_vect.size()) {
^
src/main/cpp/blaze_util.cc:345:39: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (; i < version_spec_vect.size(); i++) {
This also fixes that we weren't checking write()'s return code.
--
MOS_MIGRATED_REVID=102656105
|
|
|
|
|
|
|
|
| |
I had to comment out a couple of tests, I don't know why they're not passing
right now.
--
MOS_MIGRATED_REVID=102535967
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This is not really nice, there are several hacks there. This
repository will get removed in the future and linked to a
remote one instead. I tested it against the tutorial and
it works like a charm. mobile-install seems like to work,
maybe that's also fixing the last issue reported in #392.
Known issue: Java compilation output errors about files being
modified in the future.
--
MOS_MIGRATED_REVID=102282979
|
|
|
|
|
|
|
| |
--
Change-Id: I4e65cc583e758d2f7e45209ffcb37f6a871e2ed7
Reviewed-on: https://bazel-review.git.corp.google.com/#/c/1840
MOS_MIGRATED_REVID=101462155
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=101218746
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=100609863
|
|
|
|
|
|
|
| |
--
Change-Id: I36b096cfdf7b150121809ff5b07c74eac1cbf7ad
Reviewed-on: https://bazel-review.git.corp.google.com/#/c/1771
MOS_MIGRATED_REVID=100573875
|
|
|
|
|
|
|
| |
embedded binaries.
--
MOS_MIGRATED_REVID=100476182
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
exec(3) under mingw converts every command line argument that looks like Unix path
into Windows path when executing non-mingw images (criteria for non-mingw image is
that the image does not depend on msys-<version>.dll). This affects bazel labels
(`//foo:bar` becomes `/foo:bar` for example).
This CL:
1) Replaces usage of execv(3) with Windows-native CreateProcess.
2) Converts all command line arguments that are indeed paths into Windows paths.
--
MOS_MIGRATED_REVID=100386350
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=100109450
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=99411524
|
|
|
|
|
|
|
|
|
| |
Some progress towards #311.
--
Change-Id: I9276519d4a97d358b7c4f4e34a861522d75dd495
Reviewed-on: https://bazel-review.googlesource.com/#/c/1710
MOS_MIGRATED_REVID=99019961
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=98924654
|
|
|
|
|
|
|
| |
std::to_string is not avcaliable on mingw.
--
MOS_MIGRATED_REVID=98923935
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=98918607
|
|
|
|
|
|
|
| |
fprintf and friends live in cstdio per standard, and compilation fails under msys gcc if it is not included.
--
MOS_MIGRATED_REVID=98817931
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=96965558
|
|
|
|
|
|
|
| |
And get rid of usage of "blazerc" flags in our scripts.
--
MOS_MIGRATED_REVID=96776423
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This seems to be a win as it avoids re-initialing the fields that have
a default constructor (non-POD), besides being the best and idiomatic
practice.
More details in http://stackoverflow.com/a/9903927
--
Change-Id: I6c184e8a53b385756938084ec60aebc8184243a0
Reviewed-on: https://bazel-review.googlesource.com/#/c/1513/3
MOS_MIGRATED_REVID=95815524
|
|
|
|
|
|
|
|
|
|
| |
We still support the --blazerc syntax and don't use the product name for
legacy reasons. Bazel should only refer to --bazelrc now.
Fixes #229
--
MOS_MIGRATED_REVID=95282659
|
|
|
|
|
|
|
|
|
|
| |
This should fix the following cpplint.py warning:
Single-parameter constructors should be marked explicit. [runtime/explicit] [5]
--
Change-Id: I2bf74ced08f86bd5a4e6d57720188327bbd9efe6
Reviewed-on: https://bazel-review.googlesource.com/#/c/1452/
MOS_MIGRATED_REVID=95109413
|
|
|
|
|
|
|
| |
customized based on user's flags.
--
MOS_MIGRATED_REVID=95015135
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=94905648
|
|
|
|
|
|
|
|
|
|
| |
This function has only a declaration, no implementation and thus no
uses. Confirmed that it has no uses internally as well.
--
Change-Id: Ifd9214b546f304077e4d729bf22abf6b49cc6af1
Reviewed-on: https://bazel-review.googlesource.com/1411
MOS_MIGRATED_REVID=94763256
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=94577279
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Since RcFile hands out pointers to its string members, modifying
vector<RcFile> may cause reallocation, which invalidates handed out
pointers.
Fixes #205.
--
Change-Id: Id4eb0a4e8a52373130140f1de5697f4e4f4a6f95
Reviewed-on: https://bazel-review.googlesource.com/#/c/1360/
MOS_MIGRATED_REVID=94276823
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=93882453
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
unnecessary copies) and label them const, per the
Google style guide.
Tested:
$ ./bootstrap_test.sh all
--
Change-Id: I17636703cf43283f71b9b913c130a51065bd896b
Reviewed-on: https://bazel-review.googlesource.com/1350
MOS_MIGRATED_REVID=93876332
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
port.cc implements sys_ioprio_set() function, but was not including the
header that declares it.
Also included port.h in blaze_util_linux.cc for iwyu, since that file is
using sys_ioprio_set().
--
Change-Id: Ie6130df9ed72e8125d07f72455fc53a03afedbc1
Reviewed-on: https://bazel-review.googlesource.com/#/c/1321/
MOS_MIGRATED_REVID=93868707
|
|
|
|
|
|
|
| |
Fixes #102
--
MOS_MIGRATED_REVID=93705078
|
|
|
|
|
|
|
|
|
| |
If someone ran two Bazel commands at the same time, the second mkdir call
could fail because the first had already created the directory MakeDirectories
was being called on.
--
MOS_MIGRATED_REVID=93531813
|
|
|
|
|
|
|
|
|
|
|
|
| |
This way we don't get the following warning when building with -Wall:
warning: comparison between signed and unsigned integer expressions
[-Wsign-compare]
--
Change-Id: I259c2398c2d8df5b3444d2d2ed6d45d8c5cfceef
Reviewed-on: https://bazel-review.googlesource.com/1291
MOS_MIGRATED_REVID=93514679
|
|
|
|
|
|
|
|
|
| |
This was found by building 'client' target with -Wall.
--
Change-Id: If14355813b83b9e29b36411eaf597de8d57bda6e
Reviewed-on: https://bazel-review.googlesource.com/#/c/1290
MOS_MIGRATED_REVID=93415497
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=93413161
|