mirror of
https://github.com/vale981/ray
synced 2025-03-09 04:46:38 -04:00

* added new instructions and script * initialize ray only once * use ray-project/asv master
15 lines
355 B
Bash
Executable file
15 lines
355 B
Bash
Executable file
#!/usr/bin/env bash
|
|
|
|
# Cause the script to exit if a single command fails.
|
|
set -e
|
|
|
|
# Show explicitly which commands are currently running.
|
|
set -x
|
|
|
|
git clone https://github.com/ray-project/asv.git /tmp/asv/ || true
|
|
cd /tmp/asv/
|
|
pip install -e .
|
|
|
|
cd /ray/python/
|
|
asv machine --yes
|
|
asv run --show-stderr --python=same --force-record-commit=$(cat ../git-rev)
|