spack/var/spack/repos/builtin/packages/py-torch/macos_rpath.patch
Adam J. Stewart c633149874
PyTorch: add v2.7.0 (#50195)
* PyTorch: add v2.7.0
* py-torchaudio: add v2.7.0
* Fix rpath issues
* PyTorch: disable libomp linking and fix rpath issue
2025-04-29 15:22:23 -07:00

15 lines
487 B
Diff

diff --git a/setup.py b/setup.py
index 61ee9363fc2..db476913d31 100644
--- a/setup.py
+++ b/setup.py
@@ -720,9 +720,6 @@ class build_ext(setuptools.command.build_ext.build_ext):
# It's an old-style class in Python 2.7...
setuptools.command.build_ext.build_ext.run(self)
- if IS_DARWIN:
- self._embed_libomp()
-
# Copy the essential export library to compile C++ extensions.
if IS_WINDOWS:
build_temp = self.build_temp