Skip to content

Commit

Permalink
Windows: Fix error in release script for C library
Browse files Browse the repository at this point in the history
Bug in 8777d9a
  • Loading branch information
asimshankar authored and gunan committed Mar 3, 2017
1 parent 26df62c commit 13521e1
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions tensorflow/tools/ci_build/windows/libtensorflow_cpu.sh
Original file line number Diff line number Diff line change
Expand Up @@ -76,14 +76,12 @@ zip -j ${DIR}/libtensorflow_jni-cpu-windows-$(uname -m).zip \
rm -f ${DIR}/tensorflow_jni.dll

# Zip up the .dll, LICENSE and include files for the C library.
mkdir -p ${DIR}/include/tensorflow/c
mkdir -p ${DIR}/lib
cp bazel-bin/tensorflow/libtensorflow.so ${DIR}/lib/tensorflow.dll
cp tensorflow/c/c_api.h ${DIR}/include/tensorflow/c
cp bazel-genfiles/tensorflow/tools/lib_package/include/tensorflow/c/LICENSE ${DIR}/include/tensorflow/c
cd ${DIR}
mkdir -p include/tensorflow/c
mkdir -p lib
cp bazel-bin/tensorflow/libtensorflow.so lib/tensorflow.dll
cp tensorflow/c/c_api.h include/tensorflow/c
cp ../bazel-genfiles/tensorflow/tools/lib_package/include/tensorflow/c/LICENSE include/tensorflow/c
zip libtensorflow-cpu-windows-$(uname -m).zip lib/* include/*
# Zip up the .dll, LICENSE and header files for the C library.
zip -j libtensorflow-cpu-windows-$(uname -m).zip \
lib/tensorflow.dll \
include/c/c_api.h \
Expand Down

0 comments on commit 13521e1

Please sign in to comment.