summaryrefslogtreecommitdiff
path: root/sci-libs/pytorch/files/pytorch-1.13.1-emptyso.patch
blob: 1479354b7f7a82f1d675a52a5bea197c1f664cb8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
--- a/setup.py	2023-03-24 22:36:50.361860100 +0100
+++ b/setup.py	2023-03-24 22:36:57.384752383 +0100
@@ -922,12 +922,6 @@
                     name=str('caffe2.python.caffe2_pybind11_state_hip'),
                     sources=[]),
             )
-    if cmake_cache_vars['BUILD_FUNCTORCH']:
-        extensions.append(
-            Extension(
-                name=str('functorch._C'),
-                sources=[]),
-        )
 
     cmdclass = {
         'bdist_wheel': wheel_concatenate,