Files
chipyard/.circleci/build-toolchains.sh
Abraham Gonzalez e5d9f539c5 initial ci commit
2019-05-11 21:13:56 -07:00

23 lines
501 B
Bash
Executable File

#!/bin/bash
# create the riscv tools binaries from riscv-boom/boom-template with rocket-chip hash given by riscv-boom
# turn echo on and error on earliest command
set -ex
if [ ! -d "$HOME/esp-tools-install" ]; then
cd $HOME/
# init all submodules including the tools
./project/scripts/build-toolchains.sh esp-tools
fi
if [ ! -d "$HOME/riscv-tools-install" ]; then
cd $HOME/
# init all submodules including the tools
./project/scripts/build-toolchains.sh riscv-tools
fi