Address PR comments for Ibex

This commit is contained in:
Ella Schwarz
2021-11-21 18:30:21 -08:00
parent 94ae7af007
commit 086cc1f74f
11 changed files with 266 additions and 140 deletions

18
.circleci/build-toolchains.sh Executable file
View File

@@ -0,0 +1,18 @@
#!/bin/bash
# create the riscv tools/esp tools binaries
# passed in as <riscv-tools or esp-tools>
# turn echo on and error on earliest command
set -ex
# get shared variables
SCRIPT_DIR="$( cd "$( dirname "$0" )" && pwd )"
source $SCRIPT_DIR/defaults.sh
if [ ! -d "$HOME/$1-install" ]; then
cd $HOME
# init all submodules including the tools
CHIPYARD_DIR="$LOCAL_CHIPYARD_DIR" NPROC=$CI_MAKE_NPROC $LOCAL_CHIPYARD_DIR/scripts/build-toolchains.sh $1
fi