From 61aee1778c8db90ae9c82c5e27a036acf047c23d Mon Sep 17 00:00:00 2001 From: Sam Wu <22262939+samjwu@users.noreply.github.com> Date: Thu, 6 Jun 2024 11:11:59 -0600 Subject: [PATCH] Add back cleanup to RTD config --- .readthedocs.yaml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/.readthedocs.yaml b/.readthedocs.yaml index b7dab1e997..8a06fa839b 100644 --- a/.readthedocs.yaml +++ b/.readthedocs.yaml @@ -20,3 +20,15 @@ build: - "doxygen" - "gfortran" # For pre-processing fortran sources - "graphviz" # For dot graphs in doxygen + jobs: + post_checkout: + - if [ -d ../llvm-project ]; then rmdir ../llvm-project; fi + - if [ -d ../clr ]; then rmdir ../clr; fi + - if [ -d ../ROCR-Runtime ]; then rmdir ../ROCR-Runtime; fi + - git clone --depth=1 --single-branch --branch rocdoc-195 https://github.com/StreamHPC/llvm-project.git ../llvm-project + - git clone --depth=1 --single-branch --branch develop https://github.com/ROCm/clr.git ../clr + - git clone --depth=1 --single-branch --branch master https://github.com/ROCm/ROCR-Runtime.git ../ROCR-Runtime + post_build: + - rm -rf ../clr + - rm -rf ../llvm-project + - rm -rf ../ROCR-Runtime