Skip to content

Commit

Permalink
Copy tf_datatype.h, tf_status.h and tf_tensor.h
Browse files Browse the repository at this point in the history
  • Loading branch information
d02k01 committed Jul 27, 2019
1 parent 1c08b7e commit 9d95313
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 4 deletions.
11 changes: 9 additions & 2 deletions tensorflow/tools/ci_build/windows/libtensorflow_cpu.sh
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,12 @@ mkdir -p ${DIR}/include/tensorflow/c/eager
mkdir -p ${DIR}/lib
cp bazel-bin/tensorflow/tensorflow.dll ${DIR}/lib/tensorflow.dll
cp bazel-genfiles/tensorflow/tensorflow.lib ${DIR}/lib/tensorflow.lib
cp tensorflow/c/c_api.h ${DIR}/include/tensorflow/c
cp tensorflow/c/tf_attrtype.h ${DIR}/include/tensorflow/c
cp tensorflow/c/c_api.h \
tensorflow/c/tf_attrtype.h \
tensorflow/c/tf_datatype.h \
tensorflow/c/tf_status.h \
tensorflow/c/tf_tensor.h \
${DIR}/include/tensorflow/c
cp tensorflow/c/eager/c_api.h ${DIR}/include/tensorflow/c/eager
cp bazel-genfiles/tensorflow/tools/lib_package/include/tensorflow/c/LICENSE ${DIR}/include/tensorflow/c
cd ${DIR}
Expand All @@ -71,5 +75,8 @@ zip libtensorflow-cpu-windows-$(uname -m).zip \
include/tensorflow/c/eager/c_api.h \
include/tensorflow/c/c_api.h \
include/tensorflow/c/tf_attrtype.h \
include/tensorflow/c/tf_datatype.h \
include/tensorflow/c/tf_status.h \
include/tensorflow/c/tf_tensor.h \
include/tensorflow/c/LICENSE
rm -rf lib include
11 changes: 9 additions & 2 deletions tensorflow/tools/ci_build/windows/libtensorflow_gpu.sh
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,12 @@ mkdir -p ${DIR}/include/tensorflow/c/eager
mkdir -p ${DIR}/lib
cp bazel-bin/tensorflow/tensorflow.dll ${DIR}/lib/tensorflow.dll
cp bazel-genfiles/tensorflow/tensorflow.lib ${DIR}/lib/tensorflow.lib
cp tensorflow/c/c_api.h ${DIR}/include/tensorflow/c
cp tensorflow/c/tf_attrtype.h ${DIR}/include/tensorflow/c
cp tensorflow/c/c_api.h \
tensorflow/c/tf_attrtype.h \
tensorflow/c/tf_datatype.h \
tensorflow/c/tf_status.h \
tensorflow/c/tf_tensor.h \
${DIR}/include/tensorflow/c
cp tensorflow/c/eager/c_api.h ${DIR}/include/tensorflow/c/eager
cp bazel-genfiles/tensorflow/tools/lib_package/include/tensorflow/c/LICENSE ${DIR}/include/tensorflow/c
cd ${DIR}
Expand All @@ -71,5 +75,8 @@ zip libtensorflow-gpu-windows-$(uname -m).zip \
include/tensorflow/c/eager/c_api.h \
include/tensorflow/c/c_api.h \
include/tensorflow/c/tf_attrtype.h \
include/tensorflow/c/tf_datatype.h \
include/tensorflow/c/tf_status.h \
include/tensorflow/c/tf_tensor.h \
include/tensorflow/c/LICENSE
rm -rf lib include

0 comments on commit 9d95313

Please sign in to comment.