mirror of
https://github.com/tensorflow/haskell.git
synced 2024-11-23 03:19:44 +01:00
call sudo consistently within OSX build script (#91)
previously I was getting the following error: ./: Can't update time for . tar: Error exit delayed from previous errors.
This commit is contained in:
parent
1f6115da5a
commit
d71f48090a
1 changed files with 2 additions and 2 deletions
|
@ -28,9 +28,9 @@ echo "Downloading libtensorflow..."
|
||||||
curl https://storage.googleapis.com/tensorflow/libtensorflow/libtensorflow-cpu-darwin-x86_64-1.0.0.tar.gz > libtensorflow.tar.gz
|
curl https://storage.googleapis.com/tensorflow/libtensorflow/libtensorflow-cpu-darwin-x86_64-1.0.0.tar.gz > libtensorflow.tar.gz
|
||||||
|
|
||||||
echo "Extracting and copying libtensorflow..."
|
echo "Extracting and copying libtensorflow..."
|
||||||
tar zxf libtensorflow.tar.gz -C /usr/local
|
sudo tar zxf libtensorflow.tar.gz -C /usr/local
|
||||||
rm libtensorflow.tar.gz
|
rm libtensorflow.tar.gz
|
||||||
mv /usr/local/lib/libtensorflow.so /usr/local/lib/libtensorflow.dylib
|
sudo mv /usr/local/lib/libtensorflow.so /usr/local/lib/libtensorflow.dylib
|
||||||
|
|
||||||
sudo install_name_tool -id libtensorflow.dylib /usr/local/lib/libtensorflow.dylib
|
sudo install_name_tool -id libtensorflow.dylib /usr/local/lib/libtensorflow.dylib
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue