Skip to content

Set BUILD_TEST=0 and CMAKE_BUILD_TYPE in Windows CI wheel builds - #180246

Closed
zklaus wants to merge 10 commits into
gh/zklaus/52/basefrom
gh/zklaus/52/head
Closed

zklaus wants to merge 10 commits into
gh/zklaus/52/basefrom
gh/zklaus/52/head

Conversation

@zklaus

@zklaus zklaus commented Apr 13, 2026 •

Copy link
Copy Markdown
Collaborator

[ghstack-poisoned]
@pytorch-bot

pytorch-bot Bot commented Apr 13, 2026

Copy link
Copy Markdown

This PR needs a release notes: label

If your changes are user facing and intended to be a part of release notes, please use a label starting with release notes:.

If not, please add the topic: not user facing label.

To add a label, you can comment to pytorchbot, for example
@pytorchbot label "topic: not user facing"

For more information, see
https://github.com/pytorch/pytorch/wiki/PyTorch-AutoLabel-Bot#why-categorize-for-release-notes-and-how-does-it-work.

@pytorch-bot

pytorch-bot Bot commented Apr 13, 2026 •

Copy link
Copy Markdown

🔗 Helpful Links

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

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

❌ 74 New Failures, 14 Cancelled Jobs, 1 Unrelated Failure

As of commit 058be69 with merge base 11261ac (image):

NEW FAILURES - The following jobs have failed:

CANCELLED JOBS - The following jobs were cancelled. Please retry:

FLAKY - The following job failed but was likely due to flakiness present on trunk:

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

zklaus added a commit to zklaus/pytorch that referenced this pull request Apr 13, 2026
Disable test building and default to Release mode in the Windows CI
setup script for both libtorch and pytorch build paths.

Co-Generated with [Claude Code](https://claude.com/claude-code)


ghstack-source-id: 46b957b
Pull-Request: pytorch#180246
@zklaus
zklaus marked this pull request as ready for review April 14, 2026 18:32
@zklaus
zklaus requested a review from a team as a code owner April 14, 2026 18:32
@zklaus zklaus added ciflow/binaries Trigger all binary build and upload jobs on the PR release notes: releng release notes category labels Apr 14, 2026
zklaus added a commit to zklaus/pytorch that referenced this pull request Apr 15, 2026
Disable test building and default to Release mode in the Windows CI
setup script for both libtorch and pytorch build paths.

Co-Generated with [Claude Code](https://claude.com/claude-code)


ghstack-source-id: 46b957b
Pull-Request: pytorch#180246
zklaus added a commit to zklaus/pytorch that referenced this pull request Apr 17, 2026
Disable test building and default to Release mode in the Windows CI
setup script for both libtorch and pytorch build paths.

Co-Generated with [Claude Code](https://claude.com/claude-code)


ghstack-source-id: 46b957b
Pull-Request: pytorch#180246
[ghstack-poisoned]
zklaus added 3 commits April 22, 2026 12:41
[ghstack-poisoned]
[ghstack-poisoned]
[ghstack-poisoned]
zklaus added 2 commits April 25, 2026 08:05
[ghstack-poisoned]
[ghstack-poisoned]
zklaus added a commit to zklaus/pytorch that referenced this pull request Apr 29, 2026
Disable test building and default to Release mode in the Windows CI
setup script for both libtorch and pytorch build paths.

Co-Generated with [Claude Code](https://claude.com/claude-code)


ghstack-source-id: e461b98
Pull-Request: pytorch#180246
zklaus added 2 commits April 29, 2026 13:02
[ghstack-poisoned]
[ghstack-poisoned]
zklaus added a commit to zklaus/pytorch that referenced this pull request Apr 29, 2026
Disable test building and default to Release mode in the Windows CI
setup script for both libtorch and pytorch build paths.

Co-Generated with [Claude Code](https://claude.com/claude-code)


ghstack-source-id: 746c182
Pull-Request: pytorch#180246
[ghstack-poisoned]
zklaus added a commit to zklaus/pytorch that referenced this pull request May 1, 2026
Disable test building and default to Release mode in the Windows CI
setup script for both libtorch and pytorch build paths.

Co-Generated with [Claude Code](https://claude.com/claude-code)


ghstack-source-id: 7b1acc7
Pull-Request: pytorch#180246
@zklaus zklaus closed this May 1, 2026
@github-actions
github-actions Bot deleted the gh/zklaus/52/head branch June 1, 2026 02:31
pytorchmergebot pushed a commit that referenced this pull request Jun 11, 2026
…#182123)

In #179024 (and later #182647) it was surfaced that test artifacts like `aoti_custom_ops.dll` should not be installed in Windows wheel building because the way that symbol resolution is done eagerly on that platform means that the resulting wheels would not be functional.

But if these shared libraries are not installed, we also don't need to build them, hence this PR proposes to not do that.

Disable test building and default to Release mode in the Windows CI setup script for both libtorch and pytorch build paths.

Co-Generated with [Claude Code](https://claude.com/claude-code)

Replaces #180246
Pull Request resolved: #182123
Approved by: https://github.com/atalman
jemitche1 pushed a commit to jemitche1/pytorch that referenced this pull request Jun 13, 2026
…pytorch#182123)

In pytorch#179024 (and later pytorch#182647) it was surfaced that test artifacts like `aoti_custom_ops.dll` should not be installed in Windows wheel building because the way that symbol resolution is done eagerly on that platform means that the resulting wheels would not be functional.

But if these shared libraries are not installed, we also don't need to build them, hence this PR proposes to not do that.

Disable test building and default to Release mode in the Windows CI setup script for both libtorch and pytorch build paths.

Co-Generated with [Claude Code](https://claude.com/claude-code)

Replaces pytorch#180246
Pull Request resolved: pytorch#182123
Approved by: https://github.com/atalman
gplutop7 pushed a commit to gplutop7/pytorch that referenced this pull request Jul 15, 2026
…pytorch#182123)

In pytorch#179024 (and later pytorch#182647) it was surfaced that test artifacts like `aoti_custom_ops.dll` should not be installed in Windows wheel building because the way that symbol resolution is done eagerly on that platform means that the resulting wheels would not be functional.

But if these shared libraries are not installed, we also don't need to build them, hence this PR proposes to not do that.

Disable test building and default to Release mode in the Windows CI setup script for both libtorch and pytorch build paths.

Co-Generated with [Claude Code](https://claude.com/claude-code)

Replaces pytorch#180246
Pull Request resolved: pytorch#182123
Approved by: https://github.com/atalman
aws-kingrj pushed a commit to amazon-contributing/upstream-to-pytorch that referenced this pull request Jul 29, 2026
…pytorch#182123)

In pytorch#179024 (and later pytorch#182647) it was surfaced that test artifacts like `aoti_custom_ops.dll` should not be installed in Windows wheel building because the way that symbol resolution is done eagerly on that platform means that the resulting wheels would not be functional.

But if these shared libraries are not installed, we also don't need to build them, hence this PR proposes to not do that.

Disable test building and default to Release mode in the Windows CI setup script for both libtorch and pytorch build paths.

Co-Generated with [Claude Code](https://claude.com/claude-code)

Replaces pytorch#180246
Pull Request resolved: pytorch#182123
Approved by: https://github.com/atalman
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ciflow/binaries Trigger all binary build and upload jobs on the PR open source release notes: releng release notes category

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants