Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[bazel.build] Problem with /tutorials/ccp-toolchain-config #21198

Closed
NERanger opened this issue Feb 5, 2024 · 0 comments
Closed

[bazel.build] Problem with /tutorials/ccp-toolchain-config #21198

NERanger opened this issue Feb 5, 2024 · 0 comments
Assignees
Labels
P2 We'll consider working on this in future. (Assignee optional) team-Documentation Documentation improvements that cannot be directly linked to other team labels team-Rules-CPP Issues for C++ rules type: documentation (cleanup)

Comments

@NERanger
Copy link

NERanger commented Feb 5, 2024

Page link:

https://bazel.build/tutorials/ccp-toolchain-config

Problem description (include actual vs expected text, if applicable):

The page https://bazel.build/concepts/platforms says that currently --crosstool_top and --cpu are not encouraged, but the tutorial still uses them

Where do you see this issue? (include link to specific section of the page, if applicable)

https://bazel.build/tutorials/ccp-toolchain-config?hl=zh-cn#before_you_begin

Any other information you'd like to share?

This page https://bazel.build/concepts/platforms says we prefer

bazel build //:my_cpp_project --platforms=//:myplatform

over

bazel build //:my_cpp_project` --cpu=... --crosstool_top=...  --compiler=...
@NERanger NERanger added team-Documentation Documentation improvements that cannot be directly linked to other team labels type: documentation (cleanup) untriaged labels Feb 5, 2024
@sgowroji sgowroji added the team-Rules-CPP Issues for C++ rules label Feb 5, 2024
@comius comius added P2 We'll consider working on this in future. (Assignee optional) and removed untriaged labels Feb 5, 2024
@comius comius assigned comius and daivinhtran and unassigned comius Feb 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
P2 We'll consider working on this in future. (Assignee optional) team-Documentation Documentation improvements that cannot be directly linked to other team labels team-Rules-CPP Issues for C++ rules type: documentation (cleanup)
Projects
None yet
Development

No branches or pull requests

6 participants