Copybara-Service
c003593092
Merge pull request #108 from renovate-bot:renovate/bazel_federation-digest
...
PiperOrigin-RevId: 384218471
Change-Id: Id1fcdc5c1f97318b178ea15a4a61ee2f90a27658
2021-07-12 06:15:08 -07:00
Renovate Bot
9a718a5da6
Update bazel_federation commit hash to 6ad33bc
2021-07-12 08:56:17 +00:00
Copybara-Service
daf6ace7cf
Merge pull request #105 from keith:ks/add-armeabi_cc_toolchain_config.bzl-to-macos-config
...
PiperOrigin-RevId: 377937583
Change-Id: Id64f0fad71fa795cf065327f4cde3e8e956b281d
2021-06-07 09:41:49 -07:00
oquenchil
fb624ff008
Merge branch 'master' into ks/add-armeabi_cc_toolchain_config.bzl-to-macos-config
2021-06-07 16:25:36 +02:00
Copybara-Service
8d3ab5f22b
Merge pull request #106 from keith:ks/add-instructions-on-toolchain-use-to-readme
...
PiperOrigin-RevId: 376791361
Change-Id: I94fd4024fb097a3ba8c68f7d0ad199e3c5ef2fab
2021-06-01 02:54:05 -07:00
Keith Smiley
b8174837cb
Add instructions on toolchain use to README
2021-05-27 13:39:22 -07:00
Keith Smiley
03b5d84aa7
Add armeabi_cc_toolchain_config.bzl to macOS config
...
This is required since https://github.com/bazelbuild/bazel/pull/13449
2021-05-27 13:36:41 -07:00
Googler
68cb652a71
mv BUILD --> BUILD.bazel
...
PiperOrigin-RevId: 373787065
Change-Id: Ic50705bb2d63b969e939e77150e877f82c2f0c69
2021-05-14 07:51:14 -07:00
Googler
8973704d88
Fix buildifier error in rules_cc
...
PiperOrigin-RevId: 373438035
Change-Id: I6ff9b0cca80cb5dc7aa597a0ce7fb63d345b1cd9
2021-05-12 13:24:12 -07:00
Googler
ab5395627c
BUILD --> BUILD.bazel
...
PiperOrigin-RevId: 372934181
Change-Id: Ic9b5910c13343fe1458d2d0e7a605a2992265bb0
2021-05-10 08:35:04 -07:00
Copybara-Service
3401ea54a1
Merge pull request #95 from renovate-bot:renovate/bazel_federation-digest
...
PiperOrigin-RevId: 372905293
Change-Id: I72ca2e4b0d0a5b0fdd0dcc00db3f2d07e50e985d
2021-05-10 05:12:19 -07:00
Copybara-Service
656e045167
Merge pull request #103 from limdor:buildifier_fix
...
PiperOrigin-RevId: 372517636
Change-Id: I65cae735170b4c017f63ae6fbfd1ec6500e258b0
2021-05-07 02:44:41 -07:00
Googler
56897752c0
Remove restriction on generate_pdb_file to be only used in dbg and fastbuild mode
...
Users may want to build in opt mode and still want the pdb file to be a linking action output.
See https://github.com/bazelbuild/rules_cc/issues/94#issuecomment-828254895
RELNOTES: None
PiperOrigin-RevId: 372351216
Change-Id: I1b8a8709014deb4abdb13db387e185cd08f408d7
2021-05-06 08:44:55 -07:00
Xavier Bonaventura
299fce788b
Fix buildifier format issue
2021-05-03 20:12:34 +02:00
Copybara-Service
c612c9581b
Merge pull request #98 from gregestren:master
...
PiperOrigin-RevId: 366213902
Change-Id: I25281d0487aa1b66b3c81db0fbd723ce3640a49b
2021-04-01 02:45:57 -07:00
Copybara-Service
0a198b994a
Merge pull request #102 from olekw:patch-1
...
PiperOrigin-RevId: 366213730
Change-Id: Ia213fd35287a87125d528998cefb836b74a751c6
2021-04-01 02:45:12 -07:00
Olek Wojnar
ed24e50a81
Create AUTHORS
...
Fixes #96
2021-03-25 11:49:43 -04:00
Googler
608c7b605f
C++: Make permissions check optional in cc_shared_library
...
The cc_shared_library_permissions mechanism was introduced to add control over
which cc_shared_libraries can export a given cc_library. If the repo is big
enough, the owner of a cc_library might want to prevent someone else in a
different package making their library part of the ABI of a public shared
library because that makes it harder to change the cc_library. This does not
apply accross repositories because a dependant repository can overwrite
anything from a repository dependency anyway.
However, it is becoming more apparent than even though this mechanism should
exist, it should not be enabled by default since most people don't need it. To
enable it pass the flag --//examples:enable_permissions_check=True.
RELNOTES:none
PiperOrigin-RevId: 363171677
Change-Id: I8afb3294806bb3053ee1279c6e9c5355089bccbb
2021-03-16 06:45:21 -07:00
Googler
9544a3eeac
Automatic code cleanup.
...
PiperOrigin-RevId: 362075479
Change-Id: Ib556b478b2e28fa6c35fe493b533035de4916bd0
2021-03-10 09:58:09 -08:00
Googler
88ef31b429
Update rules_cc to use the correct toolchain type (@bazel_tools//tools/cpp:toolchain_type).
...
PiperOrigin-RevId: 361158816
Change-Id: Ief011b23ddb9bdf3b49237f90fa631b6f916e8de
2021-03-05 09:10:23 -08:00
Googler
25193de8f5
Tests for unknown commit
...
Adds test for fix to cc_binary in a previous CL which required a Bazel change.
RELNOTES:none
PiperOrigin-RevId: 361152661
Change-Id: Ic7b9cda6636eff6bc231f00f8cdd542e0c88113c
2021-03-05 08:35:07 -08:00
Googler
d5d830baaf
CcToolchainProvider does not subclass ToolchainInfo.
...
Bownstream bazel tests: https://buildkite.com/bazel/bazel-at-head-plus-downstream/builds/1931 (all failures are also in https://buildkite.com/bazel/bazel-at-head-plus-downstream/builds/1930 , the nightly).
PiperOrigin-RevId: 359497882
Change-Id: Ib8a3725251c1187233f9324522c4ef8602448b50
2021-02-25 05:13:20 -08:00
Copybara-Service
a3d7068939
Merge pull request #97 from jlaxson:shared-library-double-inheritance-test
...
PiperOrigin-RevId: 359022952
Change-Id: Iad8c35e8c9b1a187548cf45b3c2c1f231f275bad
2021-02-23 05:03:02 -08:00
John Laxson
4253c69f85
use green instead of downstream green
2021-02-18 09:50:36 -07:00
John Laxson
69252c73da
works better?
2021-02-17 08:04:47 -07:00
John Laxson
92bec8dbf5
Add explicit test to presubmit
2021-02-12 11:42:34 -07:00
Greg Estren
f28c5e2e1b
Buildifier feedback
2021-02-11 16:15:29 -05:00
Greg Estren
4e7e7f8cbb
Typo fixes
2021-02-11 16:07:27 -05:00
Greg Estren
541927eaa0
Add custom C++ toolchain example.
...
Inspired by https://github.com/bazelbuild/bazel/issues/12942 .
2021-02-11 15:53:44 -05:00
John Laxson
8caeb338c9
Test allowing diamond inheritance of shared lib
2021-02-11 10:33:25 -07:00
Googler
40548a2974
Automatic code cleanup.
...
PiperOrigin-RevId: 355825197
Change-Id: I8acfc20228816c04fcf48bfcc435cbde2b1fb608
2021-02-05 04:30:09 -08:00
Googler
ab2abd3ddc
Automatic code cleanup.
...
PiperOrigin-RevId: 354218909
Change-Id: I223212c3b453e67f0563766e9533fda284aaeef6
2021-01-27 18:31:53 -08:00
Renovate Bot
0d6e7d1ccb
Update bazel_federation commit hash to 8ce885a
2020-12-10 10:06:46 +00:00
Copybara-Service
b1c40e1de8
Merge pull request #88 from greenhouse-org:fix-llvm-version
...
PiperOrigin-RevId: 341810986
Change-Id: Ieb85da0b1c25d095cd48b6cadcf6a5c825d24a48
2020-11-11 05:29:11 -08:00
Copybara-Service
7bcfb53fe8
Merge pull request #89 from keith:ks/update-wrappers
...
PiperOrigin-RevId: 341770800
Change-Id: I8ea8ef07dc0745342ab93c75aeaf3df69a11a895
2020-11-10 23:24:58 -08:00
Copybara-Service
7bd0e49cfb
Merge pull request #85 from benjaminp:modern-linking
...
PiperOrigin-RevId: 341368143
Change-Id: I9b86beeb90f6df6d3564209f1e97ada4ea7bc319
2020-11-09 02:52:23 -08:00
Keith Smiley
271d293a8c
Update osx_cc_wrappers
...
These are dup'd from bazel core and are changing in https://github.com/bazelbuild/bazel/pull/12265
2020-11-04 12:35:10 -08:00
Sunjay Bhatia
1a27322a0a
Resolve the clang-cl version detection
...
- bazel presumed a trailing space in `clang-cl -v` output that is
no longer present in the 11.0.0 release, resulting in an injected newline
Co-authored-by: Sunjay Bhatia <sunjayb@vmware.com>
Co-authored-by: William A Rowe Jr <wrowe@vmware.com>
Signed-off-by: Sunjay Bhatia <sunjayb@vmware.com>
Signed-off-by: William A Rowe Jr <wrowe@vmware.com>
2020-11-03 16:39:36 -05:00
Googler
991eb349bf
Internal change
...
PiperOrigin-RevId: 340301767
Change-Id: Iccab5010d3fd6e77c08fcdc140cdc1e461185b0d
2020-11-02 13:19:59 -08:00
Googler
699ec52985
Internal change
...
PiperOrigin-RevId: 339925655
Change-Id: Icde35bf6acb72a382e0253fcf9fb5a10d80a5feb
2020-10-30 13:05:57 -07:00
Googler
16ad606329
Internal change
...
PiperOrigin-RevId: 339887089
Change-Id: Ic511ced72381f847f5d1b9159f299b6e474a47de
2020-10-30 09:41:38 -07:00
Googler
8cded3e3c3
Add constants for common groups of action names.
...
These are used throughout the Crosstool features definitions based on local definitions there. It seems useful to move these to a common location so they are available for other toolchains (and also so that they get updated if new actions are added to the action-name list).
The versions of these currently used by Crosstool are defined in //third_party/crosstool/v18/llvm_unstable/crosstool_helpers.bzl starting at line 124.
Tested:
by inspection
PiperOrigin-RevId: 339440647
Change-Id: I3a2b8d37aebd8a0e8450864e079cf5b42d075def
2020-10-28 05:27:07 -07:00
Benjamin Peterson
8994fb0fe1
Adjust c archive example for modern linker input API.
2020-10-26 20:31:47 -05:00
Copybara-Service
b2f6e22c34
Merge pull request #84 from benjaminp:fix-for-linkops
...
PiperOrigin-RevId: 339049823
Change-Id: Ia7550ae25cbe5bac936e86b458f7f322c6f258a0
2020-10-26 09:06:42 -07:00
Benjamin Peterson
01cf2299fb
Fix //examples/test_cc_shared_library:linking_action_test under --incompatible_linkopts_to_linklibs.
2020-10-22 09:59:37 -05:00
Copybara-Service
f055da4ff0
Merge pull request #82 from keith:ks/update
...
PiperOrigin-RevId: 335352930
Change-Id: I89c68c510dc6262a06ca76875fd2364abe361c47
2020-10-04 23:01:24 -07:00
Keith Smiley
c5a9b6d32f
Duplicate libtool_check_unique.cc
...
This is temporarily required to support old and new versions of bazel
2020-10-03 10:02:04 -07:00
Keith Smiley
5bf327ff82
Sync osx_cc_configure
...
Fixes https://github.com/bazelbuild/rules_cc/issues/80
2020-10-03 09:59:36 -07:00
Googler
f95239adde
Update rules_cc to use the toolchain transition.
...
This is phase 2 of of the switch to toolchain transitions. See https://github.com/bazelbuild/bazel/issues/11584 for details.
PiperOrigin-RevId: 334808134
Change-Id: Ie198b07359d4fd45368755c4cc223e397f0e8fb0
2020-10-01 07:19:37 -07:00
Googler
9ec8187d58
Add docstring to providers to make buildifier happy.
...
RELNOTES: None.
PiperOrigin-RevId: 334807705
Change-Id: If0c97e6a464126367005143313dc4ddc5b47bdea
2020-10-01 07:16:37 -07:00