From 1c6c1ef987eb9b036a4b855ddaae6adbd9493730 Mon Sep 17 00:00:00 2001 From: Dan F-M Date: Thu, 16 Jan 2020 12:19:06 -0500 Subject: [PATCH] theano copiledir --- .ci/azure/run_tutorials.sh | 2 +- .ci/build-docs.yml | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.ci/azure/run_tutorials.sh b/.ci/azure/run_tutorials.sh index 5059011db..1518bc39f 100755 --- a/.ci/azure/run_tutorials.sh +++ b/.ci/azure/run_tutorials.sh @@ -15,4 +15,4 @@ mkdir -p docs/_static/notebooks cp docs/notebooks/notebook_setup.py docs/_static/notebooks env/bin/python .ci/azure/run_tutorials.py -ls ~/.theano +ls theano diff --git a/.ci/build-docs.yml b/.ci/build-docs.yml index f40a4d78c..77b2f2069 100644 --- a/.ci/build-docs.yml +++ b/.ci/build-docs.yml @@ -31,7 +31,7 @@ jobs: timeoutInMinutes: 10 inputs: key: theanoCompileDir | $(Agent.OS) - path: $(Agent.HomeDirectory)/.theano + path: $(Build.SourcesDirectory)/theano displayName: 'Cache Theano compiledir' - bash: .ci/azure/setup_conda.sh @@ -44,6 +44,8 @@ jobs: - bash: .ci/azure/run_tutorials.sh displayName: 'Generate the tutorials' + env: + THEANO_FLAGS: base_compiledir=$(Build.SourcesDirectory)/theano - bash: .ci/azure/build_docs.sh displayName: 'Build the docs'