mirror of
https://github.com/wassname/ray.git
synced 2026-07-20 12:40:20 +08:00
enable updating of ray source code on cluster from script
17 lines
299 B
Bash
Executable File
17 lines
299 B
Bash
Executable File
#!/bin/bash
|
|
|
|
if [ ! -f "src/computation_graph.cc" ]; then
|
|
echo "Exiting this script because we may be in the wrong directory and we don't want to accidentally delete files."
|
|
exit
|
|
fi
|
|
|
|
rm -rf build/*
|
|
pushd build
|
|
cmake ..
|
|
make install
|
|
popd
|
|
|
|
pushd lib/python
|
|
sudo python setup.py install
|
|
popd
|