-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[antlir][toolchain] add arch to CxxPlatformInfo
Summary: `_platform_` attrs on cxx rules match against the cxx toolchain name, so we need to include the architecture in there for the times where it is important Test Plan: ``` ❯ buck2 test fbcode//antlir/distro/toolchain/cxx/tests: -- test_platform_preprocessor_flags Buck UI: https://www.internalfb.com/buck2/8f4e70f9-f2a8-4c0e-a4eb-138e75437d18 Test UI: https://www.internalfb.com/intern/testinfra/testrun/9288674294184161 Tests finished: Pass 2. Fail 0. Fatal 0. Skip 0. Build failure 0 ``` ``` ❯ buck2 test -c fbcode.arch=aarch64 fbcode//antlir/distro/toolchain/cxx/tests: -- test_platform_preprocessor_flags Buck UI: https://www.internalfb.com/buck2/8170708c-f8d5-4591-9fe4-3e570ebd22dc Test UI: https://www.internalfb.com/intern/testinfra/testrun/14355223874690734 Tests finished: Pass 2. Fail 0. Fatal 0. Skip 0. Build failure 0 ``` Reviewed By: epilatow Differential Revision: D67605234 fbshipit-source-id: 5e4620066377c0d4a270fe375dd761cacafa28e5
- Loading branch information
1 parent
40cf0a2
commit 76fcb92
Showing
6 changed files
with
72 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters