From 2816e63c4a3e5d160f3c11e592cb99eb5856efe8 Mon Sep 17 00:00:00 2001 From: Mustafa Bal Date: Tue, 8 Oct 2019 14:21:32 -0700 Subject: [PATCH] Added libtensorflow_framework.so.1 --- build.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/build.sh b/build.sh index fc64415b..6d5221c9 100755 --- a/build.sh +++ b/build.sh @@ -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.*"