Disable SHARK-Runtime flags if USE_IREE=1 specified during setup. (#588)

* Disable SHARK-Runtime flags if USE_IREE=1 specified during setup.

* Update setup_venv.sh

* Autodetect cpu count for runtime flags.
This commit is contained in:
Ean Garvey
2022-12-08 02:31:31 -06:00
committed by GitHub
parent dab9403b8f
commit 1699db79b5
5 changed files with 24 additions and 1 deletions

View File

@@ -94,8 +94,10 @@ else
exit 1
fi
if [[ -z "${USE_IREE}" ]]; then
rm .use-iree
RUNTIME="https://nod-ai.github.io/SHARK-Runtime/pip-release-links.html"
else
touch ./.use-iree
RUNTIME="https://iree-org.github.io/iree/pip-release-links.html"
fi
if [[ -z "${NO_BACKEND}" ]]; then