Skip to content

Commit e5cc90a

Browse files
authored
[BUILD] Upgrade arrow to 5.0 to fix compile error with GCC11 & GCC12. (#443)
1 parent 798e991 commit e5cc90a

File tree

1 file changed

+3
-9
lines changed

1 file changed

+3
-9
lines changed

tensorflow/workspace.bzl

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1083,16 +1083,10 @@ def tf_repositories(path_prefix = "", tf_repo_name = ""):
10831083
http_archive(
10841084
name = "arrow",
10851085
build_file = clean_dep("//third_party:arrow.BUILD"),
1086-
patch_cmds = [
1087-
# TODO: Remove the fowllowing once arrow issue is resolved.
1088-
"""sed -i.bak 's/type_traits/std::max<int16_t>(sizeof(int16_t), type_traits/g' cpp/src/parquet/column_reader.cc""",
1089-
"""sed -i.bak 's/value_byte_size/value_byte_size)/g' cpp/src/parquet/column_reader.cc""",
1090-
],
1091-
sha256 = "a27971e2a71c412ae43d998b7b6d06201c7a3da382c804dcdc4a8126ccbabe67",
1092-
strip_prefix = "arrow-apache-arrow-4.0.0",
1086+
sha256 = "ec3bdae6ccc08de5b5adcf9cbe7cbc085cab0ba06c8e6d3abfc3ed1cd4c1c9a2",
1087+
strip_prefix = "arrow-apache-arrow-5.0.0",
10931088
urls = [
1094-
"https://storage.googleapis.com/mirror.tensorflow.org/github.com/apache/arrow/archive/apache-arrow-4.0.0.tar.gz",
1095-
"https://github.com/apache/arrow/archive/apache-arrow-4.0.0.tar.gz",
1089+
"https://github.com/apache/arrow/archive/apache-arrow-5.0.0.tar.gz",
10961090
],
10971091
)
10981092

0 commit comments

Comments
 (0)