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

Remove IS_MSVC bool and build_host_info().compiler usage #3204

Closed
wants to merge 1 commit into from

Conversation

jdonald
Copy link
Contributor

@jdonald jdonald commented Oct 1, 2024

Summary:
build_host_info() checks come from buck1, as in buck1 we didn't have a concept of a 'host select()', whereas on buck2 it is preferred to use select() after doing a proper configuration transition to the execution platform.

Replace the call to build_host_info().compiler here with a select(). Note we still retain function arguments like msvc and buck as these are apparently used in the CMake build flow.

Differential Revision: D63710016

Copy link

netlify bot commented Oct 1, 2024

Deploy Preview for pytorch-fbgemm-docs ready!

Name Link
🔨 Latest commit 2a4ad77
🔍 Latest deploy log https://app.netlify.com/sites/pytorch-fbgemm-docs/deploys/66fc5fd0743fa2000832eec7
😎 Deploy Preview https://deploy-preview-3204--pytorch-fbgemm-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@facebook-github-bot
Copy link
Contributor

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

@facebook-github-bot
Copy link
Contributor

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

jdonald added a commit to jdonald/FBGEMM-1 that referenced this pull request Oct 1, 2024
Summary:
X-link: facebookresearch/FBGEMM#303

Pull Request resolved: pytorch#3204

`build_host_info()` checks come from buck1, as in buck1 we didn't have a concept of a 'host select()', whereas on buck2 it is preferred to use `select()` after doing a proper configuration transition to the execution platform.

Replace the call to `build_host_info().compiler` here with a select(). Note we still retain function arguments like `msvc` and `buck` as these are apparently used in the CMake build flow.

Differential Revision: D63710016
Summary:
X-link: facebookresearch/FBGEMM#303

Pull Request resolved: pytorch#3204

`build_host_info()` checks come from buck1, as in buck1 we didn't have a concept of a 'host select()', whereas on buck2 it is preferred to use `select()` after doing a proper configuration transition to the execution platform.

Replace the call to `build_host_info().compiler` here with a select(). Note we still retain function arguments like `msvc` and `buck` as these are apparently used in the CMake build flow.

Reviewed By: 8Keep

Differential Revision: D63710016
@facebook-github-bot
Copy link
Contributor

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

@facebook-github-bot
Copy link
Contributor

This pull request has been merged in 7c2bfb8.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants