Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .bazelversion
Original file line number Diff line number Diff line change
@@ -1 +1 @@
5.0.0
5.1.1
6 changes: 3 additions & 3 deletions WORKSPACE
Original file line number Diff line number Diff line change
Expand Up @@ -115,10 +115,10 @@ pip_install()

http_archive(
name = "org_tensorflow",
sha256 = "8087cb0c529f04a4bfe480e49925cd64a904ad16d8ec66b98e2aacdfd53c80ff",
strip_prefix = "tensorflow-2.9.0",
sha256 = "7edd8b544cc65254735210e03364fe9828f36430e09e9322fba9b0a4b2912580",
strip_prefix = "tensorflow-2.10.0-rc2",
urls = [
"https://github.com/tensorflow/tensorflow/archive/refs/tags/v2.9.0.tar.gz",
"https://github.com/tensorflow/tensorflow/archive/refs/tags/v2.10.0-rc2.tar.gz",
],
)

Expand Down
4 changes: 2 additions & 2 deletions tensorflow_io/python/ops/version_ops.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,5 @@
# ==============================================================================
"""version_ops"""

version = "0.26.0"
require = "tensorflow>=2.9.0,<2.10.0"
version = "0.27.0"
require = "tensorflow>=2.10.0rc2,<2.11.0"
39 changes: 16 additions & 23 deletions third_party/arrow.BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -7,25 +7,6 @@ licenses(["notice"]) # Apache 2.0

exports_files(["LICENSE.txt"])

load("@flatbuffers//:build_defs.bzl", "flatbuffer_cc_library")

flatbuffer_cc_library(
name = "arrow_format",
srcs = [
"cpp/src/arrow/ipc/feather.fbs",
"format/File.fbs",
"format/Message.fbs",
"format/Schema.fbs",
"format/SparseTensor.fbs",
"format/Tensor.fbs",
],
flatc_args = [
"--scoped-enums",
"--gen-object-api",
],
out_prefix = "cpp/src/generated/",
)

genrule(
name = "arrow_util_config",
srcs = ["cpp/src/arrow/util/config.h.cmake"],
Expand Down Expand Up @@ -62,7 +43,6 @@ cc_library(
"cpp/src/arrow/json/*.cc",
"cpp/src/arrow/tensor/*.cc",
"cpp/src/arrow/util/*.cc",
"cpp/src/arrow/vendored/musl/strptime.c",
"cpp/src/arrow/vendored/optional.hpp",
"cpp/src/arrow/vendored/string_view.hpp",
"cpp/src/arrow/vendored/variant.hpp",
Expand All @@ -71,6 +51,7 @@ cc_library(
"cpp/src/parquet/**/*.cc",
"cpp/src/generated/*.h",
"cpp/src/generated/*.cpp",
"cpp/thirdparty/flatbuffers/include/flatbuffers/*.h",
],
exclude = [
"cpp/src/**/*_benchmark.cc",
Expand All @@ -87,13 +68,25 @@ cc_library(
"cpp/src/arrow/util/bpacking_neon.cc",
"cpp/src/arrow/util/tracing_internal.cc",
],
),
) + select({
"@bazel_tools//src/conditions:windows": [
"cpp/src/arrow/vendored/musl/strptime.c",
],
"//conditions:default": [],
}),
hdrs = [
# declare header from above genrule
"cpp/src/arrow/util/config.h",
"cpp/src/parquet/parquet_version.h",
],
copts = [],
copts = select({
"@bazel_tools//src/conditions:windows": [
"/std:c++14",
],
"//conditions:default": [
"-std=c++14",
],
}),
defines = [
"ARROW_WITH_BROTLI",
"ARROW_WITH_SNAPPY",
Expand All @@ -110,12 +103,12 @@ cc_library(
includes = [
"cpp/src",
"cpp/src/arrow/vendored/xxhash",
"cpp/thirdparty/flatbuffers/include",
],
textual_hdrs = [
"cpp/src/arrow/vendored/xxhash/xxhash.c",
],
deps = [
":arrow_format",
"@boringssl//:crypto",
"@brotli",
"@bzip2",
Expand Down
7 changes: 7 additions & 0 deletions third_party/fmjpeg2koj.BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,13 @@ cc_library(
"*.cc",
"*.cpp",
]),
copts = select({
"@bazel_tools//src/conditions:windows": [],
"//conditions:default": [
"-Wno-register",
"-Wno-error",
],
}),
includes = [
"include",
],
Expand Down
5 changes: 4 additions & 1 deletion third_party/libmemcached.BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,10 @@ cc_library(
"config/libhashkit/hashkitcon.h",
"config/mem_config.h",
],
copts = [],
copts = [
"-Wno-register",
"-Wno-error",
],
includes = [
".",
"config",
Expand Down
7 changes: 6 additions & 1 deletion third_party/openexr.BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,12 @@ cc_library(
"config/OpenEXRConfigInternal.h",
],
hdrs = [],
copts = [],
copts = select({
"@bazel_tools//src/conditions:windows": [
"/std:c++14",
],
"//conditions:default": [],
}),
defines = select({
"@bazel_tools//src/conditions:darwin": [],
"@bazel_tools//src/conditions:windows": [],
Expand Down
3 changes: 2 additions & 1 deletion tools/build/configure.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ def write_config():
bazel_rc.write(
f'build --action_env TF_SHARED_LIBRARY_NAME="{library_name}"\n'
)
bazel_rc.write('build --cxxopt="-std=c++14"\n')
bazel_rc.write('build --cxxopt="-std=c++17"\n')
for argv in sys.argv[1:]:
if argv == "--cuda":
bazel_rc.write('build --action_env TF_NEED_CUDA="1"\n')
Expand All @@ -126,6 +126,7 @@ def write_config():
bazel_rc.write("build:macos --copt=-Wunguarded-availability\n")
# MSVC (Windows): Standards-conformant preprocessor mode
bazel_rc.write('build:windows --copt="/Zc:preprocessor"\n')
bazel_rc.write('build:windows --copt="/std:c++17"\n')
# Config for CI and release build
bazel_rc.write("build:optimization --copt=-msse4.2\n")
bazel_rc.write("build:optimization --copt=-mavx\n")
Expand Down