Skip to content

Commit 0692005

Browse files
PikachuHyAcopybara-github
authored andcommitted
Add cpp module artifact name pattern
Copybara Import from #429 BEGIN_PUBLIC Add cpp module artifact name pattern (#429) see bazelbuild/bazel#22553 (comment) Closes #429 END_PUBLIC COPYBARA_INTEGRATE_REVIEW=#429 from PikachuHyA:artifact_name_pattern edaaf4f PiperOrigin-RevId: 781091471 Change-Id: Ic119cf2c87ec55e8e063d358640512c48c3b4667
1 parent c93d01d commit 0692005

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

cc/private/toolchain/unix_cc_toolchain_config.bzl

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1779,7 +1779,13 @@ def _impl(ctx):
17791779
# TODO(#8303): Mac crosstool should also declare every feature.
17801780
if is_linux:
17811781
# Linux artifact name patterns are the default.
1782-
artifact_name_patterns = []
1782+
artifact_name_patterns = [
1783+
artifact_name_pattern(
1784+
category_name = "cpp_module",
1785+
prefix = "",
1786+
extension = ".pcm",
1787+
),
1788+
]
17831789
features = [
17841790
cpp_modules_feature,
17851791
cpp_module_modmap_file_feature,

0 commit comments

Comments
 (0)