Repository navigation
Update cpuinfo submodule - #180372
Update cpuinfo submodule#180372malfet wants to merge 6 commits into
Conversation
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/180372
Note: Links to docs will display an error until the docs builds have been completed. ❗ 1 Active SEVsThere are 1 currently active SEVs. If your PR is affected, please view them below: ⏳ No Failures, 2 PendingAs of commit 4fea333 with merge base d7d0482 ( This comment was automatically generated by Dr. CI and updates every 15 minutes. |
To include pytorch/cpuinfo#344 ghstack-source-id: ec0f1d1 Pull-Request: #180372
To include pytorch/cpuinfo#344 The new cpuinfo BUILD.bazel uses `@rules_cc//cc:cc_library.bzl` and `@rules_license` which require rules_cc 0.2.12+ and Bazel 7+. Since PyTorch uses Bazel 6.5, provide a custom cpuinfo.BUILD with old-style loads and ignore the submodule's BUILD.bazel via .bazelignore. ghstack-source-id: 91dadf5 Pull-Request: #180372
|
@pytorchbot merge -f "All is green" |
Merge startedYour change will be merged immediately since you used the force (-f) flag, bypassing any CI checks (ETA: 1-5 minutes). Please use Learn more about merging in the wiki. Questions? Feedback? Please reach out to the PyTorch DevX Team |
|
@pytorchbot revert -m "I should not have modified .bzl file" -c ghfirst |
|
@pytorchbot successfully started a revert job. Check the current status here. |
This reverts commit 4b68ffe. Reverted #180372 on behalf of https://github.com/malfet due to I should not have modified .bzl file ([comment](#180372 (comment)))
|
@malfet your PR has been successfully reverted. |
To include pytorch/cpuinfo#344 The new cpuinfo BUILD.bazel uses `@rules_cc//cc:cc_library.bzl` and `@rules_license` which require rules_cc 0.2.12+ and Bazel 7+. Since PyTorch uses Bazel 6.5, provide a custom cpuinfo.BUILD with old-style loads and ignore the submodule's BUILD.bazel via .bazelignore. ghstack-source-id: 925abd0 Pull-Request: #180372
To include pytorch/cpuinfo#344 The new cpuinfo BUILD.bazel uses `@rules_cc//cc:cc_library.bzl` and `@rules_license` which require rules_cc 0.2.12+ and Bazel 7+. Since PyTorch uses Bazel 6.5, provide a custom cpuinfo.BUILD with old-style loads and ignore the submodule's BUILD.bazel via .bazelignore. ghstack-source-id: 925abd0 Pull-Request: #180372
To include pytorch/cpuinfo#344 The new cpuinfo BUILD.bazel uses `@rules_cc//cc:cc_library.bzl` and `@rules_license` which require rules_cc 0.2.12+ and Bazel 7+. Since PyTorch uses Bazel 6.5, provide a custom cpuinfo.BUILD with old-style loads and ignore the submodule's BUILD.bazel via .bazelignore. ghstack-source-id: 925abd0 Pull-Request: #180372
To include pytorch/cpuinfo#344 The new cpuinfo BUILD.bazel uses `@rules_cc//cc:cc_library.bzl` and `@rules_license` which require rules_cc 0.2.12+ and Bazel 7+. Since PyTorch uses Bazel 6.5, provide a custom cpuinfo.BUILD with old-style loads and ignore the submodule's BUILD.bazel via .bazelignore. ghstack-source-id: 925abd0 Pull-Request: #180372
To include pytorch/cpuinfo#344 The new cpuinfo BUILD.bazel uses `@rules_cc//cc:cc_library.bzl` and `@rules_license` which require rules_cc 0.2.12+ and Bazel 7+. Since PyTorch uses Bazel 6.5, provide a custom cpuinfo.BUILD with old-style loads and ignore the submodule's BUILD.bazel via .bazelignore. ghstack-source-id: 8e52841 Pull-Request: #180372
To include pytorch/cpuinfo#344 The new cpuinfo BUILD.bazel uses `@rules_cc//cc:cc_library.bzl` and `@rules_license` which require rules_cc 0.2.12+ and Bazel 7+. Since PyTorch uses Bazel 6.5, provide a custom cpuinfo.BUILD with old-style loads and ignore the submodule's BUILD.bazel via .bazelignore. ghstack-source-id: 3912fb5 Pull-Request: #180372
To include pytorch/cpuinfo#344 The new cpuinfo BUILD.bazel uses `@rules_cc//cc:cc_library.bzl` and `@rules_license` which require rules_cc 0.2.12+ and Bazel 7+. Since PyTorch uses Bazel 6.5, provide a custom cpuinfo.BUILD with old-style loads and ignore the submodule's BUILD.bazel via .bazelignore. ghstack-source-id: 73f5ad5 Pull-Request: #180372
|
@pytorchbot merge -f "Should be good this time around" |
Merge startedYour change will be merged immediately since you used the force (-f) flag, bypassing any CI checks (ETA: 1-5 minutes). Please use Learn more about merging in the wiki. Questions? Feedback? Please reach out to the PyTorch DevX Team |
This reverts commit 4b68ffe. Reverted pytorch#180372 on behalf of https://github.com/malfet due to I should not have modified .bzl file ([comment](pytorch#180372 (comment)))
To include pytorch/cpuinfo#344 Updated cpuinfo submodule includes pytorch/cpuinfo#345 which changed its `BUILD.bazel` to load `cc_library` from `@rules_cc//cc:cc_library.bzl` (Starlark) and added a `@rules_license` dependency. Both require a newer rules_cc (0.2.12+) and Bazel 7+. PyTorch's pinned rules_cc predates the Starlark migration and doesn't ship `cc/cc_library.bzl`. Rather than vendoring a custom `cpuinfo.BUILD` and changing `c10/core/build.bzl` to use `@org_pytorch_cpuinfo//:cpuinfo` (which breaks the internal build system), this PR shims one missing dependency and installs anotherso the submodule's own `BUILD.bazel` works as-is. Authored with Claude Pull Request resolved: pytorch#180372 Approved by: https://github.com/Skylion007
To include pytorch/cpuinfo#344 But because of pytorch/cpuinfo#345 one has to vendor custom `cpuinfo.BUILD` which is compatible with ancient PyTorch bezel build system (perhaps it's time to remove it) Pull Request resolved: pytorch#180372 Approved by: https://github.com/Skylion007
This reverts commit 4b68ffe. Reverted pytorch#180372 on behalf of https://github.com/malfet due to I should not have modified .bzl file ([comment](pytorch#180372 (comment)))
To include pytorch/cpuinfo#344 Updated cpuinfo submodule includes pytorch/cpuinfo#345 which changed its `BUILD.bazel` to load `cc_library` from `@rules_cc//cc:cc_library.bzl` (Starlark) and added a `@rules_license` dependency. Both require a newer rules_cc (0.2.12+) and Bazel 7+. PyTorch's pinned rules_cc predates the Starlark migration and doesn't ship `cc/cc_library.bzl`. Rather than vendoring a custom `cpuinfo.BUILD` and changing `c10/core/build.bzl` to use `@org_pytorch_cpuinfo//:cpuinfo` (which breaks the internal build system), this PR shims one missing dependency and installs anotherso the submodule's own `BUILD.bazel` works as-is. Authored with Claude Pull Request resolved: pytorch#180372 Approved by: https://github.com/Skylion007
To include pytorch/cpuinfo#344 But because of pytorch/cpuinfo#345 one has to vendor custom `cpuinfo.BUILD` which is compatible with ancient PyTorch bezel build system (perhaps it's time to remove it) Pull Request resolved: pytorch#180372 Approved by: https://github.com/Skylion007
This reverts commit 4b68ffe. Reverted pytorch#180372 on behalf of https://github.com/malfet due to I should not have modified .bzl file ([comment](pytorch#180372 (comment)))
To include pytorch/cpuinfo#344 Updated cpuinfo submodule includes pytorch/cpuinfo#345 which changed its `BUILD.bazel` to load `cc_library` from `@rules_cc//cc:cc_library.bzl` (Starlark) and added a `@rules_license` dependency. Both require a newer rules_cc (0.2.12+) and Bazel 7+. PyTorch's pinned rules_cc predates the Starlark migration and doesn't ship `cc/cc_library.bzl`. Rather than vendoring a custom `cpuinfo.BUILD` and changing `c10/core/build.bzl` to use `@org_pytorch_cpuinfo//:cpuinfo` (which breaks the internal build system), this PR shims one missing dependency and installs anotherso the submodule's own `BUILD.bazel` works as-is. Authored with Claude Pull Request resolved: pytorch#180372 Approved by: https://github.com/Skylion007
Stack from ghstack (oldest at bottom):
To include pytorch/cpuinfo#344
Updated cpuinfo submodule includes pytorch/cpuinfo#345 which changed its
BUILD.bazelto loadcc_libraryfrom@rules_cc//cc:cc_library.bzl(Starlark) and added a@rules_licensedependency. Both require a newer rules_cc (0.2.12+) and Bazel 7+. PyTorch's pinned rules_cc predates the Starlark migration and doesn't shipcc/cc_library.bzl.Rather than vendoring a custom
cpuinfo.BUILDand changingc10/core/build.bzlto use@org_pytorch_cpuinfo//:cpuinfo(which breaks the internal build system), this PR shims one missing dependency and installs anotherso the submodule's ownBUILD.bazelworks as-is.Authored with Claude