Skip to content

Commit

Permalink
pass extra header directory to bazel build
Browse files Browse the repository at this point in the history
  • Loading branch information
h-vetinari committed Nov 29, 2021
1 parent 5549d4a commit fa03456
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion recipes/tensorflow-addons/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,10 @@ sleep 2

# use conda-forge wrapper for bazel, called bazel-toolchain
source gen-bazel-toolchain
bazel build --crosstool_top=//bazel_toolchain:toolchain build_pip_pkg
bazel build \
--crosstool_top=//bazel_toolchain:toolchain \
--copt="-I$SP_DIR/tensorflow/include" \
build_pip_pkg

# build a whl file
mkdir -p $SRC_DIR/tf_addons_pkg
Expand Down

0 comments on commit fa03456

Please sign in to comment.