It's configure script is weird and you have to set three options to 'no' to disable
boost otherwise it will fail to configure in the presence of conda's boost.
We don't want or need the boost optional features of spike, so really disable it.
* more env vars need to be cleared when using the RISCV cross compiler
* use LD_GOLD to link QEMU because QEMU's LDFLAGS_NOPIC uses incorrect format for the version
of bfd ld
Currently there is no define for MAKE. Running script always throws `obsolete make version; need GNU make 4.x or later` error.
This config is from [`build-util.sh` script](9d055fdac6/scripts/build-util.sh (L17-L19))
**Related issue**: #932 and #880
**Type of change**: other enhancement
**Impact**: other (change a repo initialization script)
**Release Notes**
change a repo initialization script [init-submodules-no-riscv-tools-nolog.sh](https://github.com/zslwyuan/chipyard/blob/master/scripts/init-submodules-no-riscv-tools-nolog.sh) so it can generate the .sbtopt file in the Chipyard directory during repo initialization and use the absolute path for the SBT workspace variables in .sbtopts.
Hope it can adapt to more compilation scenarios. For example, now users should be able to open the shipyard project directly using Intellij.
In https://github.com/ucb-bar/chipyard/pull/876#issuecomment-831639151
it was requested that we add a note to build-toolchains.sh saying that the
url rewrites can be removed. I went a step further and made it self-checking.
Once qemu is bumped far enough that none of it's submodules come from
git.qemu.org, then the test added in this commit will fail CI during the bump PR
and everyone will be reminded to remove the url renaming rules and change
module_build back to module_all for qemu.
Co-authored-by: Tim Snyder <snyder.tim@gmail.com>