Tony Aiuto
eafcfc3c88
linty
2022-09-01 12:27:58 -04:00
Tony Aiuto
8438f9e2ac
dbg
2022-09-01 12:23:41 -04:00
Tony Aiuto
3b4549ed94
Update WORKSPACE:
...
- point to bazelbuild/platforms for @platforms
- Use a newer version of rules_go for our internal rules.
- Make a bzl file used in a test visible to the tests.
I believe this fixes a build breakage in bazel at head and 5.3.0
2022-08-26 15:46:53 -04:00
Googler
2f8c04c044
Automatic code cleanup.
...
PiperOrigin-RevId: 456494185
Change-Id: I9aaefff0976cca2b68646970c8d4675c8e122d19
2022-06-22 06:02:29 -07:00
Googler
8bb0eb5c5c
Add a use_cc_toolchain helper to rules_cc.
...
Part of github.com/bazelbuild/bazel/issues/14727.
PiperOrigin-RevId: 449499388
Change-Id: I9fb5fecd1059b0d48a26e89d1c25d54fd2348b55
2022-05-18 09:20:17 -07:00
Googler
ab0be67e22
Update `cfg` values to make buildifier happy.
...
PiperOrigin-RevId: 449498641
Change-Id: I145fc5dfec522753deaa64ace04ca56546351ff5
2022-05-18 09:16:43 -07:00
Copybara-Service
cb6d32e4d1
Merge pull request #120 from renovate-bot:renovate/rules_proto-digest
...
PiperOrigin-RevId: 446709147
Change-Id: Idb72bff6803a52fad3f0863d6926f9fdafee0d62
2022-05-05 07:15:11 -07:00
Copybara-Service
d71222366c
Merge pull request #129 from cpsauer:main
...
PiperOrigin-RevId: 446648352
Change-Id: I6ca1868608e5d71ebd1d56c5a0934f532b9d9f1d
2022-05-05 00:45:22 -07:00
Christopher Peterson Sauer
e0dad88a07
Move examples from deprecated @rules_cc//cc:find_cpp_toolchain -> @bazel_tools//tools/cpp:toolchain_utils.bzl
2022-04-11 16:38:30 -07:00
Christopher Peterson Sauer
ab8b67a0ab
Move examples from deprecated find_cpp_toolchain -> find_cc_toolchain
2022-04-05 23:58:12 -07:00
Renovate Bot
e01793e13f
Update rules_proto digest to 3212323
2022-04-05 11:55:54 +00:00
Googler
58f8e026c0
Add xcode_configure in cc_configure module extension
...
This is needed by cc toolchain on macOS.
PiperOrigin-RevId: 435328319
Change-Id: I505b18d6058daf2cbb479f454f299b7b4a92bd84
2022-03-17 06:25:24 -07:00
Googler
3eaa3c7f88
Remove unnecessary tests from rules_cc
...
They are now part of the bazelbuild/bazel repository.
Copies buildifier changes contributed by Keith in https://github.com/bazelbuild/rules_cc/pull/128
RELNOTES:none
PiperOrigin-RevId: 435312636
Change-Id: I4d5d2f58d90026c0cdfb5c0a90709de7c28c6ccd
2022-03-17 04:50:16 -07:00
Googler
c460f83acb
Include more information about configurations in cquery proto formatted outout
...
1. Add a repeated Configuration field to CqueryResult, and fill in the
checksum, platform, and mnemonic fields.
2. Add a configuration_id field to ConfiguredTarget, and deprecate the existing
configuration field in ConfiguredTarget. The configuration_id field is an index
that points to the Configuration message stored in CqueryResult, following the
same pattern as ActionGraphContainer. This avoids duplicating the same
Configuration message for each ConfiguredTarget.
RELNOTES: Include more information about configurations in cquery proto
formatted output. This deprecates the configuration field of
AnalysisProtosV2.ConfiguredTarget, and adds a new field, configuration_id, to
be used instead.
PiperOrigin-RevId: 429129916
Change-Id: Id048229a6872e6462b67cfe3041cdc907967d7bf
2022-03-17 04:50:09 -07:00
Googler
081771d4a0
Adds providers back temporarily until TF can use head
...
Adds back providers to cc_shared_library bzl file in rules_cc until TF is using
bazel from head and can use the builtin cc_shared_library version.
RELNOTES:none
PiperOrigin-RevId: 409136047
Change-Id: I53388c18bcbc555e8a3c7edbc5e54634375f051f
2021-11-11 06:50:45 -08:00
Googler
22532c5379
Fix presubmits errors introduced by wrong flags
...
The flags for the cc_shared_library tests were not correct.
RELNOTES:none
PiperOrigin-RevId: 407824952
Change-Id: Ibd66ca918b0ea75587f5807742f63bb23267602b
2021-11-05 08:10:49 -07:00
Copybara-Service
2dd5f22e0d
Merge pull request #119 from meteorcloudy:fix_buildifier_error
...
PiperOrigin-RevId: 407810363
Change-Id: Ibf5abfdc00cada20a26cd46d7d5498f24f7daa72
2021-11-05 06:41:52 -07:00
Yun Peng
8e7357c5cc
Move extensions.bzl to //cc to make buildifier happy
2021-11-05 12:21:01 +01:00
Googler
426f721323
Automatic code cleanup.
...
PiperOrigin-RevId: 407085810
Change-Id: I6cac435d8e0e89f97405c7b3923d1891da78740b
2021-11-02 08:13:14 -07:00
Googler
f846566869
Update rules_cc doc references for inclusive-language-fixit-2
...
PiperOrigin-RevId: 405732925
Change-Id: If700320f2e8f3e45f2fbdf08e945ea94dfe32887
2021-10-26 14:16:20 -07:00
Copybara-Service
8f861e884c
Merge pull request #117 from meteorcloudy:bzlmod
...
PiperOrigin-RevId: 401534549
Change-Id: I977d26e05d3a04fbb2ee22ba021b3f1c00fa84b5
2021-10-07 09:39:32 -07:00
Yun Peng
890aeb2860
Modularize rules_cc
2021-10-07 16:04:58 +02:00
Googler
aa7ff810cf
Make cc_shared_library use the builtin Starlark version
...
Eventually, when we are ready to pull out all the other rules to an external
repository cc_shared_library will be moved with the others: cc_library,
cc_binary,...
RELNOTES:none
PiperOrigin-RevId: 401307125
Change-Id: I14f48a7753598eaa4269554e87351a70f75111c2
2021-10-06 12:12:31 -07:00
Copybara-Service
8ab61cfb55
Merge pull request #115 from lizan:splitdwarf
...
PiperOrigin-RevId: 401245570
Change-Id: Icb32d24f7b7e01b943ef5d619ab3ff2a7c0c7165
2021-10-06 08:02:25 -07:00
Lizan Zhou
aa123b84bb
Merge branch 'main' into splitdwarf
2021-10-05 16:14:27 -07:00
Googler
ddc0791fa6
Remove dependency on rules_pkg from rules_cc
...
This helps with getting rules_cc back to green. The distro package doesn't seem critical and it can be added back in a later CL once we figure out what is wrong with the rules_pkg dependency.
RELNOTES:none
PiperOrigin-RevId: 401001290
Change-Id: I94304c7df3597c84633952fb6013bd074c350122
2021-10-05 09:13:17 -07:00
Lizan Zhou
4b46a7a447
Add -g in `per_object_debug_info` for Clang 12 and GCC 11
2021-09-27 12:20:58 -07:00
Copybara-Service
dd2758b96d
Merge pull request #114 from renovate-bot:renovate/rules_proto-digest
...
PiperOrigin-RevId: 397277150
Change-Id: I1b77388a0aa168b143a433e868f8bf057d8a9975
2021-09-17 02:46:42 -07:00
Renovate Bot
6c5c8e9b41
Update rules_proto commit hash to b22f786
2021-09-16 11:35:35 +00:00
Copybara-Service
d66a13e2a0
Merge pull request #110 from UebelAndre:stardoc
...
PiperOrigin-RevId: 390563581
Change-Id: I3b2ad2e944b9ece65447c81775ff321507dc5369
2021-08-13 01:53:39 -07:00
UebelAndre
0913abc3be
Added `bzl_srcs` targets which only contain `.bzl` files for use in stardoc
2021-08-12 07:14:28 -07:00
Copybara-Service
43360b6741
Merge pull request #93 from renovate-bot:renovate/rules_proto-digest
...
PiperOrigin-RevId: 388655011
Change-Id: If4a9b74ecfb6e76ce85d9668749c2afdeb573146
2021-08-04 03:01:36 -07:00
Renovate Bot
f81d265786
Update rules_proto commit hash to fcad468
2021-08-04 07:14:29 +00:00
Copybara-Service
af6fb4f778
Merge pull request #77 from renovate-bot:renovate/rules_pkg-0.x
...
PiperOrigin-RevId: 384463776
Change-Id: Ie2896f572cab9bb8dd65131c5a335edbed810fb2
2021-07-13 07:59:17 -07:00
Renovate Bot
7d6b0f3177
Update dependency rules_pkg to v0.5.0
2021-07-12 21:57:23 +00:00
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