mirror of
https://github.com/tensorflow/haskell.git
synced 2024-11-27 05:19:45 +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
b827612c71
commit
b2193712db
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
|
||||
|
||||
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
|
||||
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
|
||||
|
||||
|
|
Loading…
Reference in a new issue