From 907e2c84553fcd0e28f5bdb66fe3db87399b2ff8 Mon Sep 17 00:00:00 2001 From: Isuru Fernando Date: Fri, 24 Aug 2018 21:55:46 -0500 Subject: [PATCH 1/3] Let PYOPENCL_CTX be set in test script --- build-and-benchmark-py-project.sh | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/build-and-benchmark-py-project.sh b/build-and-benchmark-py-project.sh index 707cd6b..4aff588 100644 --- a/build-and-benchmark-py-project.sh +++ b/build-and-benchmark-py-project.sh @@ -12,6 +12,11 @@ if [[ -z "$PROJECT" ]]; then exit 1 fi +if [[ -z "$PYOPENCL_CTX" ]]; then + echo "PYOPENCL_CTX env var not set" + exit 1 +fi + mkdir -p ~/.$PROJECT/asv if [[ ! -z "$CI" ]]; then @@ -28,8 +33,6 @@ asv machine --yes master_commit=`git rev-parse master` test_commit=`git rev-parse HEAD` -export PYOPENCL_CTX=port - asv run $master_commit...$master_commit~ --skip-existing --verbose asv run $test_commit...$test_commit~ --skip-existing --verbose -- GitLab From a64c8be3a87542e39435c46b851110b216026212 Mon Sep 17 00:00:00 2001 From: Isuru Fernando Date: Fri, 24 Aug 2018 21:56:05 -0500 Subject: [PATCH 2/3] Remove unnecessary PY_EXE env var --- build-and-benchmark-py-project.sh | 2 -- 1 file changed, 2 deletions(-) diff --git a/build-and-benchmark-py-project.sh b/build-and-benchmark-py-project.sh index 4aff588..1bcde12 100644 --- a/build-and-benchmark-py-project.sh +++ b/build-and-benchmark-py-project.sh @@ -5,8 +5,6 @@ pip install asv conda list -PY_EXE=python - if [[ -z "$PROJECT" ]]; then echo "PROJECT env var not set" exit 1 -- GitLab From 43757e00172383e89ffaf0559da665f5e56d9dc7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20Kl=C3=B6ckner?= Date: Sat, 25 Aug 2018 08:53:28 -0400 Subject: [PATCH 3/3] PYOPENCL_CTX -> PYOPENCL_BENCH --- build-and-benchmark-py-project.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build-and-benchmark-py-project.sh b/build-and-benchmark-py-project.sh index 1bcde12..eb6aaed 100644 --- a/build-and-benchmark-py-project.sh +++ b/build-and-benchmark-py-project.sh @@ -10,8 +10,8 @@ if [[ -z "$PROJECT" ]]; then exit 1 fi -if [[ -z "$PYOPENCL_CTX" ]]; then - echo "PYOPENCL_CTX env var not set" +if [[ -z "$PYOPENCL_TEST" ]]; then + echo "PYOPENCL_TEST env var not set" exit 1 fi -- GitLab