Remove hwacha/esp-tools
This commit is contained in:
@@ -12,11 +12,10 @@ source $CYDIR/scripts/utils.sh
|
||||
common_setup
|
||||
|
||||
usage() {
|
||||
echo "Usage: ${0} [OPTIONS] [riscv-tools | esp-tools]"
|
||||
echo "Usage: ${0} [OPTIONS] [riscv-tools]"
|
||||
echo ""
|
||||
echo "Installation Types"
|
||||
echo " riscv-tools: if set, builds the riscv toolchain (this is also the default)"
|
||||
echo " esp-tools: if set, builds esp-tools toolchain used for the hwacha vector accelerator"
|
||||
echo ""
|
||||
echo "Helper script to fully initialize repository that wraps other scripts."
|
||||
echo "By default it initializes/installs things in the following order:"
|
||||
@@ -69,7 +68,7 @@ do
|
||||
case $1 in
|
||||
-h | --help )
|
||||
usage 3 ;;
|
||||
riscv-tools | esp-tools)
|
||||
riscv-tools )
|
||||
TOOLCHAIN_TYPE=$1 ;;
|
||||
--verbose | -v)
|
||||
VERBOSE_FLAG=$1
|
||||
@@ -119,29 +118,6 @@ run_step() {
|
||||
|
||||
{
|
||||
|
||||
# esp-tools should ONLY be used for hwacha.
|
||||
# Check for this, since many users will be attempting to use this with gemmini
|
||||
if [ $TOOLCHAIN_TYPE == "esp-tools" ]; then
|
||||
while true; do
|
||||
printf '\033[2J'
|
||||
read -p "WARNING: You are trying to install the esp-tools toolchain."$'\n'"This should ONLY be used for Hwacha development."$'\n'"Gemmini should be used with riscv-tools."$'\n'"Type \"y\" to continue if this is intended, or \"n\" if not: " validate
|
||||
case "$validate" in
|
||||
y | Y)
|
||||
echo "Installing esp-tools."
|
||||
break
|
||||
;;
|
||||
n | N)
|
||||
error "Rerun with riscv-tools"
|
||||
exit 3
|
||||
;;
|
||||
*)
|
||||
error "Invalid response. Please type \"y\" or \"n\""
|
||||
;;
|
||||
esac
|
||||
done
|
||||
fi
|
||||
|
||||
|
||||
#######################################
|
||||
###### BEGIN STEP-BY-STEP SETUP #######
|
||||
#######################################
|
||||
|
||||
@@ -16,11 +16,10 @@ common_setup
|
||||
readonly MAKE
|
||||
|
||||
usage() {
|
||||
echo "usage: ${0} [OPTIONS] [riscv-tools | esp-tools]"
|
||||
echo "usage: ${0} [OPTIONS] [riscv-tools]"
|
||||
echo ""
|
||||
echo "Installation Types"
|
||||
echo " riscv-tools: if set, builds the riscv toolchain (this is also the default)"
|
||||
echo " esp-tools: if set, builds esp-tools toolchain used for the hwacha vector accelerator"
|
||||
echo ""
|
||||
echo "Options"
|
||||
echo " --prefix -p PREFIX : Install destination."
|
||||
@@ -45,7 +44,7 @@ do
|
||||
RISCV=$(realpath $1) ;;
|
||||
--clean-after-install )
|
||||
CLEANAFTERINSTALL="true" ;;
|
||||
riscv-tools | esp-tools)
|
||||
riscv-tools )
|
||||
TOOLCHAIN=$1 ;;
|
||||
* )
|
||||
error "invalid option $1"
|
||||
|
||||
@@ -10,7 +10,7 @@ if [ ! -d "$REQS_DIR" ]; then
|
||||
exit 1
|
||||
fi
|
||||
|
||||
for TOOLCHAIN_TYPE in riscv-tools esp-tools; do
|
||||
for TOOLCHAIN_TYPE in riscv-tools; do
|
||||
# note: lock file must end in .conda-lock.yml - see https://github.com/conda-incubator/conda-lock/issues/154
|
||||
LOCKFILE=$REQS_DIR/conda-lock-reqs/conda-requirements-$TOOLCHAIN_TYPE-linux-64.conda-lock.yml
|
||||
rm -rf $LOCKFILE
|
||||
|
||||
@@ -9,9 +9,6 @@ rm -rf $RDIR/toolchains/libgloss/build.log
|
||||
rm -rf $RDIR/toolchains/riscv-tools/riscv-isa-sim/build.log
|
||||
rm -rf $RDIR/toolchains/riscv-tools/riscv-pk/build.log
|
||||
rm -rf $RDIR/toolchains/riscv-tools/riscv-tests/build.log
|
||||
rm -rf $RDIR/toolchains/esp-tools/riscv-isa-sim/build.log
|
||||
rm -rf $RDIR/toolchains/esp-tools/riscv-pk/build.log
|
||||
rm -rf $RDIR/toolchains/esp-tools/riscv-tests/build.log
|
||||
(
|
||||
pushd $RDIR/generators/constellation
|
||||
if [ -d espresso ]
|
||||
|
||||
@@ -5,7 +5,7 @@ index c3be6161..2a6d7160 100644
|
||||
@@ -147,7 +147,7 @@ lazy val testchipip = (project in file("generators/testchipip"))
|
||||
|
||||
lazy val chipyard = (project in file("generators/chipyard"))
|
||||
.dependsOn(testchipip, rocketchip, boom, hwacha, rocketchip_blocks, rocketchip_inclusive_cache,
|
||||
.dependsOn(testchipip, rocketchip, boom, rocketchip_blocks, rocketchip_inclusive_cache,
|
||||
- sha3, // On separate line to allow for cleaner tutorial-setup patches
|
||||
+ //sha3, // On separate line to allow for cleaner tutorial-setup patches
|
||||
dsptools, rocket_dsp_utils,
|
||||
|
||||
Reference in New Issue
Block a user