Skip to content

Commit

Permalink
Added libtensorflow_framework.so.1 (microsoft#310)
Browse files Browse the repository at this point in the history
  • Loading branch information
mstfbl committed Oct 8, 2019
1 parent 1aa1526 commit 97dce51
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -219,6 +219,11 @@ then
ext=*.dylib
fi
cp "${BuildOutputDir}/${__configuration}/Platform/${PublishDir}"/publish/${ext} "${__currentScriptDir}/src/python/nimbusml/internal/libs/"
# Obtain "libtensorflow_framework.so.1", which is the upgraded version of "libtensorflow.so". This is required for tests TensorFlowScorer.py to pass in Linux distros with Python 2.7
if [ ! "$(uname -s)" = "Darwin" ]
then
cp "${BuildOutputDir}/${__configuration}/Platform/${PublishDir}"/publish/libtensorflow_framework.so.1 "${__currentScriptDir}/src/python/nimbusml/internal/libs/"
fi
# remove dataprep dlls as its not supported in python 2.7
rm -f "${__currentScriptDir}/src/python/nimbusml/internal/libs/Microsoft.DPrep.*"
rm -f "${__currentScriptDir}/src/python/nimbusml/internal/libs/Microsoft.Data.*"
Expand Down

0 comments on commit 97dce51

Please sign in to comment.