From 97dce51d3013636e4b04c8b46044a9652a449f63 Mon Sep 17 00:00:00 2001 From: Mustafa Bal Date: Tue, 8 Oct 2019 14:55:17 -0700 Subject: [PATCH] Added libtensorflow_framework.so.1 (#310) --- 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.*"