Skip to content

Commit

Permalink
Remove exposed include path in ubuntu 22.04
Browse files Browse the repository at this point in the history
  • Loading branch information
yongtang committed Nov 7, 2023
1 parent a8dc047 commit 5ff24fd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion docs/development.md
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ sudo ./configure.sh
# export BAZEL_OPTIMIZATION=

# Build shared libraries
bazel build -s --verbose_failures $BAZEL_OPTIMIZATION --copt="-Wno-error=array-parameter=" //tensorflow_io/... //tensorflow_io_gcs_filesystem/...
bazel build -s --verbose_failures $BAZEL_OPTIMIZATION --copt="-Wno-error=array-parameter=" --copt="-I/usr/include/tirpc" //tensorflow_io/... //tensorflow_io_gcs_filesystem/...

# Once build is complete, shared libraries will be available in
# `bazel-bin/tensorflow_io/core`, `bazel-bin/tensorflow_io/python/ops` and
Expand Down
4 changes: 1 addition & 3 deletions tensorflow_io/core/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -161,9 +161,7 @@ cc_library(
"ops/bigquery_ops.cc",
"ops/bigquery_test_ops.cc",
],
copts = tf_io_copts() + [
"-I/usr/include/tirpc",
],
copts = tf_io_copts(),
linkstatic = True,
deps = [
":bigquery_lib_cc",
Expand Down

0 comments on commit 5ff24fd

Please sign in to comment.