Commits
Chris Jones authored 4465c27164e
104 104 | |
105 105 | post-destroot { |
106 106 | set py_torch_root ${py_lib_root}/lib/python${PythonVersionWithDot}/site-packages/torch |
107 107 | foreach slib [glob -directory ${destroot}${py_torch_root} *.so] { |
108 108 | system "install_name_tool -add_rpath ${py_torch_root}/lib ${slib}" |
109 109 | } |
110 110 | } |
111 111 | |
112 112 | livecheck.type none |
113 113 | |
114 + | } else { |
115 + | |
116 + | # overload the github livecheck regex to look for versions that |
117 + | # are just numbers and '.', no letters (e.g., "3.7.3_rc2"). |
118 + | github.livecheck.regex {([0-9.]+)} |
119 + | |
114 120 | } |