-
Notifications
You must be signed in to change notification settings - Fork 4.3k
Closed as not planned
Labels
P4This is either out of scope or we don't have bandwidth to review a PR. (No assignee)This is either out of scope or we don't have bandwidth to review a PR. (No assignee)staleIssues or PRs that are stale (no activity for 30 days)Issues or PRs that are stale (no activity for 30 days)team-Rules-CPPIssues for C++ rulesIssues for C++ rulestype: feature request
Description
Current cc_configure is greatly suboptimal:
- It doesn't follow standard gnu env variables for customization (Autoconfigured unix crosstool should respect standard environment variables #5186).
- It doesn't support the same env variables between linux/mac/windows
- It's not even using the same logic between linux/mac/windows.
- It's not unit/integration tested (https://docs.google.com/document/d/1oilIxMGYuN1HgWouvGDYqjrZLtcRfyoWv3eIlXIgasY/edit?ts=5c06470d#)
- It's using legacy fields/crosstool in proto, we will need it to be in Starlark
- It prefers gcc over clang
- It doesn't support thinlto/modules
- It's not always used (e.g. freebsd has a separate static toolchain, //tools/cpp:CROSSTOOL is another static one we use).
- Ideally we'd have CUDA support (Native CUDA support #6578).
Metadata
Metadata
Assignees
Labels
P4This is either out of scope or we don't have bandwidth to review a PR. (No assignee)This is either out of scope or we don't have bandwidth to review a PR. (No assignee)staleIssues or PRs that are stale (no activity for 30 days)Issues or PRs that are stale (no activity for 30 days)team-Rules-CPPIssues for C++ rulesIssues for C++ rulestype: feature request