summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sci-libs/pytorch/files/pytorch-2.2.1-emptyso.patch')
-rw-r--r--sci-libs/pytorch/files/pytorch-2.2.1-emptyso.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/sci-libs/pytorch/files/pytorch-2.2.1-emptyso.patch b/sci-libs/pytorch/files/pytorch-2.2.1-emptyso.patch
new file mode 100644
index 000000000000..2b4839baec5b
--- /dev/null
+++ b/sci-libs/pytorch/files/pytorch-2.2.1-emptyso.patch
@@ -0,0 +1,13 @@
+--- a/setup.py 2024-03-08 19:34:42.148677983 +0100
++++ b/setup.py 2024-03-08 19:34:52.402558423 +0100
+@@ -1019,10 +1019,6 @@
+ extensions.append(
+ Extension(name="caffe2.python.caffe2_pybind11_state_hip", sources=[]),
+ )
+- if cmake_cache_vars["BUILD_FUNCTORCH"]:
+- extensions.append(
+- Extension(name="functorch._C", sources=[]),
+- )
+
+ cmdclass = {
+ "bdist_wheel": wheel_concatenate,