From 5dba5107f7e1399aaeb8b4fd9d9f6b59bad509fc Mon Sep 17 00:00:00 2001 From: Malik Shahzad Muzaffar Date: Thu, 26 Aug 2021 08:55:56 +0200 Subject: [PATCH] Update tensorflow-sources.file --- tensorflow-sources.file | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tensorflow-sources.file b/tensorflow-sources.file index f3c287acc50..57c109adac1 100644 --- a/tensorflow-sources.file +++ b/tensorflow-sources.file @@ -94,7 +94,10 @@ echo "opt_einsum_archive:" >> ${TF_CMS_EXTERNALS} export TF_SYSTEM_LIBS=$(cat ${TF_CMS_EXTERNALS} | sed 's|:.*||' | tr "\n" "," | sed 's|,*$||') # clear the build dir and configure -rm -rf ../build +if [ -d ../build ] ; then + chmod -R u+w ../build + rm -rf ../build +fi ./configure #Generate Python wrappers so that we can use PYTHON*PATH env