StanfordAHA / garnet

Next generation CGRA generator
BSD 3-Clause "New" or "Revised" License
106 stars 11 forks source link

aha bashrc needs to be re-examined maybe #1084

Closed steveri closed 3 months ago

steveri commented 3 months ago

Before using the docker container, certain things must happen e.g. restoring .git. metadata for the clockwork submodule. Normally, this happens on first invocation by way of commands in the container's/root/.bashrcfile. Unfortunately,.bashrcdoes an early-out when the container is accessed only bydocker execcommands, which is what garnet fullchip build currently does by default. The early-out happens before reaching the crucial commandsource /aha/aha/bin/bashrc`.

This fixes that, by invoking source /aha/aha/bin/bashrc explicitly, without using the .bashrc indirection.

I'm not including anyone else on this review, because at this point I think I am the only one using fullchip builds...