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

[build] Add MSBuild option to setup.py #6724

Merged
merged 3 commits into from
Dec 3, 2022
Merged

Conversation

bobcao3
Copy link
Collaborator

@bobcao3 bobcao3 commented Nov 24, 2022

Turns out it works flawlessly with scikit-build. We used to only provide Ninja because we roll the build commands ourselves.

Set environment variable TAICHI_USE_MSBUILD to 1 or ON to use MSBuild + MSVC. This will also provide a seamless user experience in Visual Studio.

@netlify
Copy link

netlify bot commented Nov 24, 2022

Deploy Preview for docsite-preview ready!

Name Link
🔨 Latest commit ad7e79c
🔍 Latest deploy log https://app.netlify.com/sites/docsite-preview/deploys/638a8eb55f426d0008663b9c
😎 Deploy Preview https://deploy-preview-6724--docsite-preview.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 settings.

CMakeLists.txt Outdated Show resolved Hide resolved
CMakeLists.txt Show resolved Hide resolved
cmake/TaichiCXXFlags.cmake Show resolved Hide resolved
cpp_examples/rhi_examples/CMakeLists.txt Outdated Show resolved Hide resolved
setup.py Show resolved Hide resolved
@bobcao3 bobcao3 changed the title [misc] Add MSBuild option to setup.py [build] Add MSBuild option to setup.py Nov 27, 2022
Copy link
Contributor

@jim19930609 jim19930609 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I did notice some unrelated code adjustments (texture, device, etc). Was it mistakenly merged with some other PRs?

@bobcao3
Copy link
Collaborator Author

bobcao3 commented Nov 28, 2022

I did notice some unrelated code adjustments (texture, device, etc). Was it mistakenly merged with some other PRs?

ah yes... accidentally merged in the headers cleanup

Copy link
Contributor

@ailzhang ailzhang left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's make sure CXX standard remain unchanged in this PR, otherwise LGTM!

cpp_examples/rhi_examples/CMakeLists.txt Outdated Show resolved Hide resolved
Copy link
Contributor

@jim19930609 jim19930609 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@ailzhang ailzhang merged commit 21d8177 into taichi-dev:master Dec 3, 2022
PGZXB pushed a commit to PGZXB/taichi that referenced this pull request Dec 5, 2022
quadpixels pushed a commit to quadpixels/taichi that referenced this pull request May 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants