2
0
Fork 0
mirror of https://github.com/bazelbuild/rules_cc synced 2024-11-27 20:43:26 +00:00
Commit graph

470 commits

Author SHA1 Message Date
Fabian Meumertzheim 06112c7d9e The targets in the old package were either not publicly visible or testonly dependencies and had diverged heavily from @bazel_tools.
Instead, add an alias to the Bazel-provided runfiles library under //cc/runfiles, following https://bazel.build/rules/deploying.

Closes #162

PiperOrigin-RevId: 500929486
Change-Id: I3290c2b836af2313fbf45459c81af24fbde877d0
2023-01-10 02:00:52 -08:00
Googler 15ed46df43 Change copybara file in preparation for unknown commit
PiperOrigin-RevId: 500922407
Change-Id: I109541cd7fa033e2925fdac1e020a72b1ea99736
2023-01-10 01:18:47 -08:00
Googler 7673ce6438 Delete objc_archive action type
PiperOrigin-RevId: 499061707
Change-Id: Ia2a79f33c991a9c517c2fa940ff25c959ca35d65
2023-01-02 12:08:25 -08:00
Copybara-Service 8e2588f2e4 Merge pull request #158 from renovate-bot:renovate/io_bazel_rules_go-0.x
PiperOrigin-RevId: 493609607
Change-Id: I733434458cc6685e2334193ecc08881c5d9a269a
2022-12-07 08:21:33 -08:00
Renovate Bot dd371fd0d0
Update dependency io_bazel_rules_go to v0.37.0 2022-12-06 18:42:20 +00:00
Copybara-Service bb1aaeb77d Merge pull request #156 from renovate-bot:renovate/io_bazel_rules_go-0.x
PiperOrigin-RevId: 491901868
Change-Id: Iff24b64bd995220139c093a315ad69060bc465fe
2022-11-30 06:45:05 -08:00
Renovate Bot a928878133
Update dependency io_bazel_rules_go to v0.36.0 2022-11-23 19:03:57 +00:00
Copybara-Service 99d8c5a387 Merge pull request #155 from renovate-bot:renovate/rules_proto-digest
PiperOrigin-RevId: 490241603
Change-Id: I7b5decf29e05954e5a5423d50d632ccf20d7dd86
2022-11-22 07:52:39 -08:00
Renovate Bot 10aadf7fa2
Update rules_proto digest to b5e5fc8 2022-11-15 20:09:50 +00:00
Copybara-Service 35fb29866e Merge pull request #127 from keith:ks/apply-upstream-libtool_check_unique-fix
PiperOrigin-RevId: 485829598
Change-Id: Ifb0baed68f4a496c50989697f9d1a1cbc851b93e
2022-11-03 03:45:03 -07:00
Keith Smiley 99df95ba02
Apply upstream libtool_check_unique fix
This ports 48dd159808
2022-11-01 10:05:26 -07:00
Copybara-Service dc039dc2d8 Merge pull request #152 from renovate-bot:renovate/rules_proto-digest
PiperOrigin-RevId: 482224948
Change-Id: I372363bf0c513770d83d20fffcdd3bbcc81ad633
2022-10-19 09:28:44 -07:00
Renovate Bot 38aedf1b3e
Update rules_proto digest to 70b4248 2022-10-18 16:19:27 +00:00
Copybara-Service 57cee5e2d7 Merge pull request #151 from renovate-bot:renovate/rules_proto-digest
PiperOrigin-RevId: 481869743
Change-Id: I499904d54c6337abd77a95f8166452ba10ffb40d
2022-10-18 03:02:56 -07:00
Renovate Bot 9ecd4beccd
Update rules_proto digest to ba40143 2022-10-17 16:06:02 +00:00
Copybara-Service b6d40334fc Merge pull request #132 from renovate-bot:renovate/rules_proto-digest
PiperOrigin-RevId: 480103125
Change-Id: Idbb3af5a9028d93a00f20c3400e72907c8be277b
2022-10-10 09:29:32 -07:00
Renovate Bot 257abc87ee
Update rules_proto digest to fcfc67b 2022-10-10 10:45:55 +00:00
Copybara-Service 18fc41cd0a Merge pull request #148 from comius:bump-version
PiperOrigin-RevId: 476367525
Change-Id: I3b3ea5e4c060bf0649a2642dd73d2e6db3f4001c
2022-09-23 07:49:58 -07:00
Ivo List 9394c23723
Merge branch 'main' into bump-version 2022-09-23 14:43:49 +00:00
Ivo List 0f93f26016 Bump version 2022-09-23 14:42:18 +00:00
Copybara-Service 3bbf1f354e Merge pull request #147 from comius:fix-a-typo,
PiperOrigin-RevId: 476363762
Change-Id: Iba9388f377289f61ec2b4603ebb8a85ae38d0481
2022-09-23 07:29:04 -07:00
Ivo List 8ae2a8ba58 Fix a typo in metadata.template.json 2022-09-23 14:24:10 +00:00
Copybara-Service 16a4dfe043 Merge pull request #144 from aranguyen:main
PiperOrigin-RevId: 475495525
Change-Id: Ieef564f6ceaf7df20a495e32ef88dbbb13c14eb9
2022-09-20 01:52:32 -07:00
Ara Nguyen df0cb840d8 update googletest 2022-09-19 21:13:38 -04:00
Ivo List 13d212d39b Merge pull request #146 from bazelbuild:meteorcloudy-patch-1
PiperOrigin-RevId: 475272913
Change-Id: Id75eee2933ee396ae5fc5cbe4941369b813b2c8e
2022-09-19 13:51:00 +00:00
Yun Peng 4ae6132a12 Make buildifier happy 2022-09-19 14:03:31 +02:00
Yun Peng 74f87ea2ba
Fix MODULE.bazel file
The next release for rules_cc would be 0.0.3, and migrate to new toolchain registration API.
2022-09-19 14:00:24 +02:00
Ara Nguyen 23a97aa05e update to latest version of rules_go 2022-09-13 16:59:32 -04:00
aiuto 807a87190a
Merge pull request #142 from aiuto/upd
Update WORKSPACE to account for bazel_tool//platforms going away.
2022-09-06 20:14:09 -04:00
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