Skip to content

Add Clang -ftime-trace support to rules_cc#772

Open
PikachuHyA wants to merge 1 commit into
bazelbuild:mainfrom
PikachuHyA:upstream_bazel_trace_support
Open

Add Clang -ftime-trace support to rules_cc#772
PikachuHyA wants to merge 1 commit into
bazelbuild:mainfrom
PikachuHyA:upstream_bazel_trace_support

Conversation

@PikachuHyA

Copy link
Copy Markdown
Contributor

Declare trace JSON files as compile action outputs and expose them via the trace_files output group, enabled with features = ["trace"] on Clang toolchains.

Fix bazelbuild/bazel#9047

@PikachuHyA

Copy link
Copy Markdown
Contributor Author

i think the failed case is not related with this PR.

https://buildkite.com/bazel/rules-cc/builds/5543/canvas?sid=019f030e-cfd4-495f-888e-9f123c072e07&tab=output

@fmeum could you take a look?

@fmeum

fmeum commented Jun 26, 2026

Copy link
Copy Markdown
Collaborator

I don't know why this happens. @trybka

Declare trace JSON files as compile action outputs and expose them via the trace_files output group, enabled with features = ["trace"] on Clang toolchains.
@PikachuHyA PikachuHyA force-pushed the upstream_bazel_trace_support branch from 4d3c124 to 9b9465d Compare June 29, 2026 12:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Support Clang 9's "ftime-trace"

2 participants