Skip to content

[buckbuild.bzl] Fix dep handling in cross-builds#99826

Merged
facebook-github-bot merged 1 commit intopytorch:mainfrom
andrewjcg:export-D44960349
Apr 26, 2023
Merged

[buckbuild.bzl] Fix dep handling in cross-builds#99826
facebook-github-bot merged 1 commit intopytorch:mainfrom
andrewjcg:export-D44960349

Conversation

@andrewjcg
Copy link
Contributor

@andrewjcg andrewjcg commented Apr 23, 2023

Summary:
Use a helper rule to handle select()s in deps.

Reviewed By: r1mikey

Differential Revision: D44960349

@pytorch-bot
Copy link

pytorch-bot bot commented Apr 23, 2023

🔗 Helpful Links

🧪 See artifacts and rendered test results at hud.pytorch.org/pr/99826

Note: Links to docs will display an error until the docs builds have been completed.

✅ No Failures

As of commit 5e35a15:
💚 Looks good so far! There are no failures yet. 💚

This comment was automatically generated by Dr. CI and updates every 15 minutes.

@linux-foundation-easycla
Copy link

linux-foundation-easycla bot commented Apr 23, 2023

CLA Signed

The committers listed above are authorized under a signed CLA.

  • ✅ login: andrewjcg (351702efb7c8bab656dac4c985dd5f09a4e443ee)

@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D44960349

@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D44960349

@andrewjcg andrewjcg changed the title [aarch64][tools/build_defs/third_party/fbcode_defs.bzl] Fix dep handling in cross-builds [buckbuild.bzl] Fix dep handling in cross-builds Apr 25, 2023
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D44960349

@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D44960349

@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D44960349

@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D44960349

1 similar comment
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D44960349

@malfet malfet added the ciflow/periodic Trigger jobs ran periodically on master (periodic.yml) on the PR label Apr 25, 2023
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D44960349

…ing in cross-builds (pytorch#14)

Summary:
X-link: facebookexternal/supernova_manufacturing#14

Pull Request resolved: pytorch#99826

When using buck2, use a `select()` to format fbcode tp2 deps, rather
than inferring the parse-time host platform, which breaks in cross-builds.

Test Plan: `buck2 build mode/opt-split-dwarf -c fbcode.platform010_clang=15 -c fbcode.arch=aarch64 fbsource//xplat/assistant/oacr/native_thrift_service:oacr_native_service_cli`

Reviewed By: r1mikey, malfet

Differential Revision: D44960349

fbshipit-source-id: 1043b39b9a57fab6a353e1736c195440715f4e06
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D44960349

@facebook-github-bot facebook-github-bot merged commit 0b1b063 into pytorch:main Apr 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ciflow/periodic Trigger jobs ran periodically on master (periodic.yml) on the PR fb-exported

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants