Skip to content

Commit

Permalink
Remove folder before clone if it's exist
Browse files Browse the repository at this point in the history
  • Loading branch information
neon60 committed May 26, 2024
1 parent 62d43c2 commit 39e7922
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .readthedocs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@ build:
- "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
Expand Down

0 comments on commit 39e7922

Please sign in to comment.