Skip to content
This repository has been archived by the owner on Nov 16, 2023. It is now read-only.

Added correct Tensorflow library to fix ExtendedTests builds to succeed on Linux distros on Python 2.7 #310

Merged
merged 1 commit into from
Oct 8, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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