Skip to content

Set USE_CMAKE_INSTRUMENTATION before including cmake/Dependencies.cmake - #195116

Closed
lakshayg wants to merge 1 commit into
pytorch:mainfrom
lakshayg:fix-cmake-instrumentation-var-propagation
Closed

lakshayg wants to merge 1 commit into
pytorch:mainfrom
lakshayg:fix-cmake-instrumentation-var-propagation

Conversation

@lakshayg

Copy link
Copy Markdown
Collaborator

This ensures that USE_CMAKE_INSTRUMENTATION is visible in nnpack.cmake so we can disable instrumentation for that library.

This is needed because NNPACK has a custom command that starts with PYTHONPATH=... This custom command fails when wrapped with ctest --instrument

Related-to: #189078

This ensures that USE_CMAKE_INSTRUMENTATION is visible in nnpack.cmake
so we can disable instrumentation for that library.

This is needed because NNPACK has a custom command that starts
with PYTHONPATH=... This custom command fails when wrapped with
ctest --instrument
@pytorch-bot

pytorch-bot Bot commented Aug 28, 2026 •

Copy link
Copy Markdown

🔗 Helpful Links

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

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 8c05c1b with merge base 4380f31 (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.

@lakshayg lakshayg self-assigned this Aug 28, 2026
@pytorch-bot pytorch-bot Bot added the topic: not user facing topic category label Aug 28, 2026
@lakshayg lakshayg added the ciflow/trunk Trigger trunk jobs on your pull request label Aug 28, 2026
@lakshayg
lakshayg requested a review from Skylion007 August 28, 2026 15:15
@lakshayg

Copy link
Copy Markdown
Collaborator Author

@pytorchmergebot merge

@pytorchmergebot

Copy link
Copy Markdown
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

@lakshayg
lakshayg deleted the fix-cmake-instrumentation-var-propagation branch August 28, 2026 19:13
orrangetabby17 pushed a commit to orrangetabby17/pytorch that referenced this pull request Sep 2, 2026
…ke (pytorch#195116)

This ensures that `USE_CMAKE_INSTRUMENTATION` is visible in nnpack.cmake so we can disable instrumentation for that library.

This is needed because NNPACK has a custom command that starts with PYTHONPATH=... This custom command fails when wrapped with ctest --instrument

Related-to: pytorch#189078
Pull Request resolved: pytorch#195116
Approved by: https://github.com/eqy
Sanskaaar1 pushed a commit to Sanskaaar1/pytorch that referenced this pull request Sep 8, 2026
…ke (pytorch#195116)

This ensures that `USE_CMAKE_INSTRUMENTATION` is visible in nnpack.cmake so we can disable instrumentation for that library.

This is needed because NNPACK has a custom command that starts with PYTHONPATH=... This custom command fails when wrapped with ctest --instrument

Related-to: pytorch#189078
Pull Request resolved: pytorch#195116
Approved by: https://github.com/eqy
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 Merged open source topic: not user facing topic category

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants