facebook / facebook/buck2

How to build cpp with distributed thinlto?

Open
#323 5 comments 0 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
4.4k
Forks
394
PR merge metrics
No merged PRs in 30d

Description

How does one build cpp with distributed thinlto?
I tried adding `enable_distributed_thinlto = True,` to the attributes for `cxx_binary` in examples/with_prelude/cpp/hello_world, but this doesn't seem to do anything: `buck2 log what-ran` and inspecting buck-out don't show any `.bc` files.

I'm not blocked and am asking out of curiosity so I can play with distributed thinlto. Thanks for your help

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.