File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed
Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -63,7 +63,11 @@ echo "+#elif defined(__NVCC__) || (!defined(__linux__) && !defined(__ANDROID__)
6363echo "" >> third_party/proto.patch
6464echo " #ifndef bswap_16" >> third_party/proto.patch
6565echo " static inline uint16_t bswap_16(uint16_t x) {" >> third_party/proto.patch
66- sed -i.bak0 "s/protobuf.patch\\ "/protobuf.patch\\ ", \\ ":proto.patch\\ "/g" workspace2.bzl third_party/py/python_init_rules.bzl
66+ sed -i.bak0 "s/protobuf.patch\\ "/protobuf.patch\\ ", \\ ":proto.patch\\ "/g" workspace2.bzl
67+ sed -i.bak0 "s/patch_file = \\ [\\ "\\ /\\ /third_party\\ /protobuf:protobuf.patch\\ "/patches = \\ [Label(\\ "\\ /\\ /third_party\\ /protobuf:protobuf.patch\\ "), Label(\\ "\\ /\\ /third_party:proto.patc
68+ \\ "\\ )], patch_args = \\ [\\ "-p1\\ "/g" third_party/py/python_init_rules.bzl
69+ sed -i.bak0 "s/tf_http_archive(/http_archive(/g" third_party/py/python_init_rules.bzl
70+
6771""" ,
6872 """
6973sed -i.bak0 "s/def main():/def main():\\ n if TMPDIR: os.environ['TMPDIR'] = TMPDIR/g" third_party/gpus/crosstool/clang/bin/crosstool_wrapper_driver_is_not_gcc.tpl
You can’t perform that action at this time.
0 commit comments