Fix CIRCT installer path | Run CRON every 15m
This commit is contained in:
6
.github/actions/create-conda-env/action.yml
vendored
6
.github/actions/create-conda-env/action.yml
vendored
@@ -15,10 +15,10 @@ runs:
|
||||
conda deactivate
|
||||
|
||||
echo "Add extra toolchain collateral + CIRCT to RISC-V install area"
|
||||
git submodule update --init ./conda-reqs/install-circt
|
||||
git submodule update --init ./tools/install-circt
|
||||
conda activate ${{ env.conda-env-name-no-time }}-$(date --date "${{ env.workflow-timestamp }}" +%Y%m%d)-riscv-tools
|
||||
./scripts/build-toolchain-extra.sh riscv-tools -p $CONDA_PREFIX/riscv-tools
|
||||
./conda-reqs/install-circt/bin/download-release-or-nightly-circt.sh \
|
||||
./tools/install-circt/bin/download-release-or-nightly-circt.sh \
|
||||
-f circt-full-shared-linux-x64.tar.gz \
|
||||
-i $CONDA_PREFIX \
|
||||
-v version-file \
|
||||
@@ -27,7 +27,7 @@ runs:
|
||||
conda deactivate
|
||||
conda activate ${{ env.conda-env-name-no-time }}-$(date --date "${{ env.workflow-timestamp }}" +%Y%m%d)-esp-tools
|
||||
./scripts/build-toolchain-extra.sh esp-tools -p $CONDA_PREFIX/esp-tools
|
||||
./conda-reqs/install-circt/bin/download-release-or-nightly-circt.sh \
|
||||
./tools/install-circt/bin/download-release-or-nightly-circt.sh \
|
||||
-f circt-full-shared-linux-x64.tar.gz \
|
||||
-i $CONDA_PREFIX \
|
||||
-v version-file \
|
||||
|
||||
3
.github/workflows/update-circt.yml
vendored
3
.github/workflows/update-circt.yml
vendored
@@ -3,7 +3,8 @@ name: update-circt
|
||||
# run daily
|
||||
on:
|
||||
schedule:
|
||||
- cron: 0 8 * * *
|
||||
- cron: 0,15,30,45 * * * *
|
||||
#- cron: 0 8 * * *
|
||||
|
||||
defaults:
|
||||
run:
|
||||
|
||||
2
.gitmodules
vendored
2
.gitmodules
vendored
@@ -139,6 +139,6 @@
|
||||
[submodule "generators/rocc-acc-utils"]
|
||||
path = generators/rocc-acc-utils
|
||||
url = https://github.com/ucb-bar/rocc-acc-utils
|
||||
[submodule "conda-reqs/install-circt"]
|
||||
[submodule "tools/install-circt"]
|
||||
path = tools/install-circt
|
||||
url = https://github.com/circt/install-circt/
|
||||
|
||||
@@ -153,8 +153,8 @@ if run_step "1"; then
|
||||
exit_if_last_command_failed
|
||||
|
||||
# install circt into conda
|
||||
git submodule update --init $CYDIR/conda-reqs/install-circt &&
|
||||
$CYDIR/conda-reqs/install-circt/bin/download-release-or-nightly-circt.sh \
|
||||
git submodule update --init $CYDIR/tools/install-circt &&
|
||||
$CYDIR/tools/install-circt/bin/download-release-or-nightly-circt.sh \
|
||||
-f circt-full-shared-linux-x64.tar.gz \
|
||||
-i $CONDA_PREFIX \
|
||||
-v version-file \
|
||||
@@ -181,6 +181,7 @@ END_CONDA_ACTIVATE
|
||||
$CONDA_ACTIVATE_PREAMBLE
|
||||
conda activate $CYDIR/.conda-env
|
||||
source $CYDIR/scripts/fix-open-files.sh"
|
||||
|
||||
fi
|
||||
|
||||
if [ -z "$FORCE_FLAG" ]; then
|
||||
|
||||
Reference in New Issue
Block a user