| Commit message (Collapse) | Author | Age |
|
|
|
|
|
|
| |
--
Change-Id: I55b2c567a3fc6be15f29d03c5c6e9891ef540072
Reviewed-on: https://bazel-review.googlesource.com/#/c/4012
MOS_MIGRATED_REVID=127184463
|
|
|
|
|
|
|
| |
--
Change-Id: I53ec66581c59d4bba8460fb3e5d20258ea36d0f1
Reviewed-on: https://bazel-review.googlesource.com/#/c/3940
MOS_MIGRATED_REVID=126306276
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Add .dll as a shared library type like .so
If we have target:
cc_binary(
name = "bar.dll",
srcs = ["bar.cc"],
linkshared = 1,
)
Now we can build a dll using bazel build //foo:bar.dll
If the target name is still bar.so, the wrapper script also
build the dll by copying the output file to bar.dll.
--
Change-Id: Ie3d1fb83965ddf691d0cc4734a61a0b0ce89d948
Reviewed-on: https://bazel-review.googlesource.com/#/c/3931
MOS_MIGRATED_REVID=126301390
|
|
|
|
|
|
|
|
|
|
|
|
| |
This stops Bazel from passing some of the gcc options to wrapper script.
Options we get rid of:
-c -o -MD -MF -frandom-seed -isystem -iquote -I
--
Change-Id: I416b393c6875a2033d5382a644471c416cd5e8d1
Reviewed-on: https://bazel-review.googlesource.com/#/c/3930
MOS_MIGRATED_REVID=126299789
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
*** Reason for rollback ***
Cannot be built with currently released Bazel.
*** Original change description ***
Remove redirect chasing from AndroidConfiguration.Loader.
With aliases, it's not necessary anymore.
--
MOS_MIGRATED_REVID=124123904
|
|
|
|
|
|
|
| |
for the C++ toolchain.
--
MOS_MIGRATED_REVID=124111346
|
|
|
|
|
|
|
| |
Fixes #1316.
--
MOS_MIGRATED_REVID=123655074
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This might causes problem in a future remote execution services but
in that kind of service it would make more sense to not use the
auto-configured C++ toolchain.
Tested with bazel test //tools/cpp/test:*
Fixes #1204.
--
MOS_MIGRATED_REVID=123643630
|
|
|
|
|
|
|
| |
Fixes #1269
--
MOS_MIGRATED_REVID=122502116
|
|
|
|
|
|
|
|
|
| |
It is now consistent with CPU.java
Fixes #1251.
--
MOS_MIGRATED_REVID=122036487
|
|
|
|
|
|
|
| |
--
Change-Id: If41817e3889f118a849a29cfb03ac0f7e07d5557
Reviewed-on: https://bazel-review.googlesource.com/#/c/3582
MOS_MIGRATED_REVID=121924420
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
only if in homebrew
This will fix the sandboxing issues for rules_rust and rules_go while still allowing to build inside homebrew.
Should unblock #1238
Fixes bazelbuild/rules_go#20.
Fixes bazelbuild/rules_rust#4.
Tested under homebrew + classic tests.
--
MOS_MIGRATED_REVID=121834186
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
*** Reason for rollback ***
Roll-forward with fix:
- Previous test did let the all_files group with the wrapper script, and it got removed when creating the actual change. Added it back
Tested with `./compile.sh determinism`
*** Original change description ***
Automated [] rollback of commit 87a58589d6770a6e9a0f998274bfe69f1feb6014.
*** Reason for rollback ***
The sandbox fix did not fix. More work is needed.
Fixes #1239
*** Original change description ***
Automated [] rollback of commit b4549fe8dfb29f87fd37b38bf21a5b4bef818b12.
*** Reason for rollback ***
Rollforward with fixes:
- Quote single-quote in the environment exports
- Exclude the following environment variables: _ and dotted names
- Add the wrapper to the dependency of the crosstool chain so it gets shipped to the sandbox.
Hopefu...
--
MOS_MIGRATED_REVID=121667505
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
*** Reason for rollback ***
The sandbox fix did not fix. More work is needed.
Fixes #1239
*** Original change description ***
Automated [] rollback of commit b4549fe8dfb29f87fd37b38bf21a5b4bef818b12.
*** Reason for rollback ***
Rollforward with fixes:
- Quote single-quote in the environment exports
- Exclude the following environment variables: _ and dotted names
- Add the wrapper to the dependency of the crosstool chain so it gets shipped to the sandbox.
Hopefully after that we can cut a new release and have a homebrew package again #1177.
*** Original change description ***
Automated [] rollback of commit f1f24fc4b5aa83b7a4b872ec8f1c3a369799c081.
*** Reason...
***
--
MOS_MIGRATED_REVID=121665313
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
*** Reason for rollback ***
Rollforward with fixes:
- Quote single-quote in the environment exports
- Exclude the following environment variables: _ and dotted names
- Add the wrapper to the dependency of the crosstool chain so it gets shipped to the sandbox.
Hopefully after that we can cut a new release and have a homebrew package again #1177.
*** Original change description ***
Automated [] rollback of commit f1f24fc4b5aa83b7a4b872ec8f1c3a369799c081.
*** Reason for rollback ***
Broke ci.bazel.io
See #1231.
*** Original change description ***
Ship the environment fixed at configure time to the C++ compiler
Use a wrapper script on all platform to ship the environment to
the C++ compiler. This should enable building with Homebrew special
setup and will likely reduce the number of hard corner cases to
solve.
Should...
***
--
MOS_MIGRATED_REVID=121497195
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
*** Reason for rollback ***
Broke ci.bazel.io
See #1231.
*** Original change description ***
Ship the environment fixed at configure time to the C++ compiler
Use a wrapper script on all platform to ship the environment to
the C++ compiler. This should enable building with Homebrew special
setup and will likely reduce the number of hard corner cases to
solve.
Should unblock #1177.
--
MOS_MIGRATED_REVID=121468271
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Use a wrapper script on all platform to ship the environment to
the C++ compiler. This should enable building with Homebrew special
setup and will likely reduce the number of hard corner cases to
solve.
Should unblock #1177.
--
Change-Id: I36f09edaf131f65c730bdd626ce521478ff587c7
Reviewed-on: https://bazel-review.googlesource.com/3560
MOS_MIGRATED_REVID=121462120
|
|
|
|
|
|
|
|
|
|
|
| |
cc_toolchain_suite. This will allow selecting the correct toolchain based on
--compiler / --android_compiler.
RELNOTES: The key for the map to cc_toolchain_suite.toolchains is now a string
of the form "cpu|compiler" (previously, it was just "cpu").
--
MOS_MIGRATED_REVID=121418076
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Some C++ toolchain requires -lm when passing -lstdc++.
Always add it.
We should probably make that depend on what kind of
binary we actually want to build but that's beyond the
scope of cc_configure.
Fixes #1190.
--
MOS_MIGRATED_REVID=121015578
|
|
|
|
|
|
|
| |
Fixes #1204.
--
MOS_MIGRATED_REVID=120997826
|
|
|
|
|
|
|
| |
Also support CC to be empty and fallback to gcc.
--
MOS_MIGRATED_REVID=120907744
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=120791766
|
|
|
|
|
|
|
|
|
| |
Also fixed a small bug
--
Change-Id: I22fa16272587471b9652f3b7f7d9cb1341fc6524
Reviewed-on: https://bazel-review.googlesource.com/#/c/3464
MOS_MIGRATED_REVID=120703703
|
|
|
|
|
|
|
|
|
| |
On some target platform gcc invokes external tools during compilation, see #1152. Also support absolute path when looking for gcc.
This needs to be cherry-picked to fix #1177.
--
MOS_MIGRATED_REVID=120581887
|
|
|
|
|
|
|
|
| |
Otherwise, we have to clean it every time and it will affect the linking in
cc_configure.bzl
--
MOS_MIGRATED_REVID=120329223
|
|
|
|
|
|
|
| |
As noticed in #1122.
--
MOS_MIGRATED_REVID=120315240
|
|
|
|
|
|
|
|
|
| |
Now we only need to specify --cpu=x64_windows_msvc when using msvc toolchain
--
Change-Id: Id501dd9ef2fd6553285677605ec75e80499b9ef7
Reviewed-on: https://bazel-review.googlesource.com/#/c/3441
MOS_MIGRATED_REVID=120260588
|
|
|
|
|
|
|
|
|
| |
It's wrong to assume it points to an absolute path.
Discovered in issue #1152.
--
MOS_MIGRATED_REVID=120242469
|
|
|
|
|
|
|
| |
Fixes #1122.
--
MOS_MIGRATED_REVID=120223970
|
|
|
|
|
|
|
| |
Fixes #760.
--
MOS_MIGRATED_REVID=120217217
|
|
|
|
|
|
|
|
|
|
|
|
| |
cc_configure assumed the paths returned by $(CC) -E -xc++ -v
where not containing any extra information but clang on OS X
adds " (framework directory)" for path from Frameworks. This
change strip this out.
--
Change-Id: I90617e825100f86a1f0991e128755802da2c7afd
Reviewed-on: https://bazel-review.googlesource.com/3389
MOS_MIGRATED_REVID=120210800
|
|
|
|
|
|
|
|
|
| |
Also fixed a small bug.
--
Change-Id: I05dab2f4a5d6216f2972b0cd2cb62506f5b1cb06
Reviewed-on: https://bazel-review.googlesource.com/#/c/3326/
MOS_MIGRATED_REVID=119529809
|
|
|
|
|
|
|
| |
Windows currently means msys2, and the tools there do support params files, and BoringSSL cannot be compiled without them because command lines are too long.
--
MOS_MIGRATED_REVID=119360154
|
|
|
|
|
|
|
|
|
|
|
|
| |
This patch add the msvc crosstool definiton to CROSSTOOL file and BUILD file.
Two paths are expected to exist:
for msvc: C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/
for windows sdk: C:/Program Files (x86)/Windows Kits/10/
--
Change-Id: I2b21e566a588459f9fef767c5dc9dab1565d1ae8
Reviewed-on: https://bazel-review.googlesource.com/#/c/3266
MOS_MIGRATED_REVID=119276027
|
|
|
|
|
|
|
|
|
|
| |
Using batch script to invoke real wrapper script written in python
The default python path is expected to be C:/python_27_amd64/files/python.exe
--
Change-Id: If47bf668ce4af2b6d28a1852189c061480816833
Reviewed-on: https://bazel-review.googlesource.com/#/c/3265
MOS_MIGRATED_REVID=119275909
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Fixing a few issues with cc_configure that I encountered.
* The argument for rpath should be -Wl,-rpath.
* cc_configure should consider CPLUS_INCLUDE_PATH. I ran into this problem when using
a crosstool gcc which needs -I/usr/include.
* Check if -Wunused-but-set-parameter is available.
--
Change-Id: I73198b5b17674ecbf1b511e23fcc9331ca96c8e0
Reviewed-on: https://bazel-review.googlesource.com/#/c/3210/
MOS_MIGRATED_REVID=118763218
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Static crosstool where copied in the wrong path, leading
to not found package and breaking the Windows build.
Also the BUILD.bazel file contains now a reference
to @cc_configure// package, so we need another copy.
Tested: manually patched the change on the Windows slave and
ran ./compile.sh
Fixes #1101.
--
MOS_MIGRATED_REVID=118674922
|
|
|
|
|
|
|
| |
This is done by adding a default workspace suffix.
--
MOS_MIGRATED_REVID=118656979
|
|
|
|
|
|
|
| |
Fixes #1043
--
MOS_MIGRATED_REVID=118039426
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=117478721
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=117258091
|
|
|
|
|
|
|
|
| |
This will avoid confusion with the normal Skylark rule context.
Also fixed indentation of cc_configure.bzl
--
MOS_MIGRATED_REVID=117011107
|
|
|
|
|
|
|
| |
This setup was provided on issue #760.
--
MOS_MIGRATED_REVID=116656431
|
|
|
|
|
|
|
|
| |
These tests require exclusive access to the docker daemon
or they sometime fails due to concurrency.
--
MOS_MIGRATED_REVID=116653582
|
|
|
|
|
|
|
|
|
|
|
| |
- Skylark does not allow implicit concatenation that was added by the linter
- osx_cc_wrapper renaming was not applied everywhere
- arm toolchain was missing in the toolchain_suite
Also fix the test to use the correct cc_configure.bzl file.
--
MOS_MIGRATED_REVID=116362768
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
They test ./compile.sh under various configuration using Docker.
Because we miss several stuff from our docker support (docker_pull and
docker_test), those test are highly unhermetic.
This only includes tests for a few OS. We will add tests for specific
use case on-demand.
--
MOS_MIGRATED_REVID=116197057
|
|
|
|
|
|
|
|
|
|
| |
This is the last step of http://goo.gl/fD4ZsY (issue #893).
Tests are in a separate change because they requires pretty
complex setup.
--
MOS_MIGRATED_REVID=116141979
|
|
|
|
|
|
|
|
| |
This is a temporary workaround to enable the use
of a cc_configure() rules to auto-configure C++ toolchain.
--
MOS_MIGRATED_REVID=116140726
|
|
|
|
|
|
|
|
|
| |
Chocolatey installs msys2.
This is only a temporary hack to get our continuous build up and running, because we can't assume that everyone will install their C++ compiler there. But then again, msys2 is not a very useful target for Windows, so maybe we should fix that first.
--
MOS_MIGRATED_REVID=115449817
|
|
|
|
|
|
|
|
|
| |
Rather than a new protobuf field, this enabling flag is presence of a section with DYNAMIC linking mode in the CROSSTOOL file, whether or not it needs to specify any linker flags.
RELNOTES[NEW]: Better support for toolchains that don't have a dynamic linker.
--
MOS_MIGRATED_REVID=114110200
|