8000 xpu: fix 3rd party builds on systems with cmake<3.25 by dvrogozh · Pull Request #135767 · pytorch/pytorch · GitHub
[go: up one dir, main page]

Skip to content

xpu: fix 3rd party builds on systems with cmake<3.25 #135767

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

Closed
wants to merge 1 commit into from

Conversation

dvrogozh
Copy link
Contributor

Cmake LINUX variable is available on starting from cmake 3.25. Better to use CMAKE_SYSTEM_NAME instead to relax cmake version requirement.

See: https://cmake.org/cmake/help/v3.25/variable/LINUX.html
Fixes: #135766

Fixes: pytorch#135766

Cmake LINUX variable is available on starting from cmake 3.25.
Better to use CMAKE_SYSTEM_NAME instead to relax cmake version
requirement.

See: https://cmake.org/cmake/help/v3.25/variable/LINUX.html
Signed-off-by: Dmitry Rogozhkin <dmitry.v.rogozhkin@intel.com>
Copy link
pytorch-bot bot commented Sep 11, 2024

🔗 Helpful Links

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

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

✅ You can merge normally! (1 Unrelated Failure)

As of commit 46e2bf2 with merge base 9a04cfb (image):

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.

@dvrogozh
Copy link
Contributor Author
dvrogozh commented Sep 11, 2024

@pytorchbot label "topic: not user facing"

@malfet malfet added the topic: not user facing topic category label Sep 11, 2024
@malfet
Copy link
Contributor
malfet commented Sep 11, 2024

@pytorchbot merge

@pytorch-bot pytorch-bot bot added the ciflow/trunk Trigger trunk jobs on your pull request label Sep 11, 2024
@malfet malfet added ciflow/xpu Run XPU CI tasks and removed ciflow/trunk Trigger trunk jobs on your pull request labels Sep 11, 2024
@pytorchmergebot
Copy link
Collaborator

Merge started

Your change will be merged once all checks pass (ETA 0-4 Hours).

Learn more about merging in the wiki.

Questions? Feedback? Please reach out to the PyTorch DevX Team

Advanced Debugging
Check the merge workflow status
here

@pytorchmergebot
Copy link
Collaborator

Merge failed

Reason: 1 jobs have failed, first few of them are: xpu / linux-jammy-xpu-py3.9 / test (default, 4, 4, linux.idc.xpu)

Details for Dev Infra team Raised by workflow job

@guangyey
Copy link
Collaborator

Unrelated failure.
@pytorchbot merge -i

@pytorch-bot pytorch-bot bot added the ciflow/trunk Trigger trunk jobs on your pull request label Sep 12, 2024
@pytorchmergebot
Copy link
Collaborator

Merge started

Your change will be merged while ignoring the following 1 checks: xpu / linux-jammy-xpu-py3.9 / test (default, 4, 4, linux.idc.xpu)

Learn more about merging in the wiki.

Questions? Feedback? Please reach out to the PyTorch DevX Team

Advanced Debugging
Check the merge workflow status
here

Chao1Han pushed a commit to Chao1Han/pytorch that referenced this pull request Sep 20, 2024
Cmake LINUX variable is available on starting from cmake 3.25. Better to use CMAKE_SYSTEM_NAME instead to relax cmake version requirement.

See: https://cmake.org/cmake/help/v3.25/variable/LINUX.html
Fixes: pytorch#135766
Pull Request resolved: pytorch#135767
Approved by: https://github.com/malfet, https://github.com/guangyey
@guangyey
Copy link
Collaborator

@pytorchbot cherry-pick --onto release/2.5 -c critical

pytorchbot pushed a commit that referenced this pull request Oct 23, 2024
Cmake LINUX variable is available on starting from cmake 3.25. Better to use CMAKE_SYSTEM_NAME instead to relax cmake version requirement.

See: https://cmake.org/cmake/help/v3.25/variable/LINUX.html
Fixes: #135766
Pull Request resolved: #135767
Approved by: https://github.com/malfet, https://github.com/guangyey

(cherry picked from commit 9852c6d)
@pytorchbot
Copy link
Collaborator

Cherry picking #135767

The cherry pick PR is at #138668 and it is recommended to link a critical cherry pick PR with an issue. The following tracker issues are updated:

Details for Dev Infra team Raised by workflow job

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ciflow/trunk Trigger trunk jobs on your pull request ciflow/xpu Run XPU CI tasks Merged open source topic: not user facing topic category
Projects
None yet
Development

Successfully merging this pull request may close these issues.

xpu: torchaudio build fails with torch::xpurt target not found with cmake<3.25
5 participants
0