File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -106,8 +106,8 @@ def parse_arguments():
106
106
print ("build pytorch without mkldnn backend" )
107
107
108
108
# work around to fix Raspberry pie crash
109
- os . system ( f"cd $HOME && git clone https://github.com/pytorch/builder.git " )
110
- os .system (f"cd $HOME /pytorch/third_party/ideep/mkl-dnn && patch -p1 < $HOME /builder/mkldnn_fix/aarch64-fix-default-build-flags-to-armv8-a.patch" )
109
+ print ( "Applying mkl-dnn patch to fix Raspberry pie crash " )
110
+ os .system (f"cd /pytorch/third_party/ideep/mkl-dnn && patch -p1 < /builder/mkldnn_fix/aarch64-fix-default-build-flags-to-armv8-a.patch" )
111
111
os .system (f"cd /pytorch; { build_vars } python3 setup.py bdist_wheel" )
112
112
pytorch_wheel_name = complete_wheel ("pytorch" )
113
113
print (f"Build Compelete. Created { pytorch_wheel_name } .." )
You can’t perform that action at this time.
0 commit comments