Closed kammoh closed 2 years ago
The functionality that depends on Boost--opening a socket to listen for commands--is entirely optional. Spike is supposed to build correctly and be fully functional as a simulator without Boost.
I just tried building Spike from source on my Mac (x86, Mojave) without Boost, and it was successful.
The issue shows up only when boost is already installed and picked up by configure.
Try using --without-boost --without-boost-asio --without-boost-regex
.
If the PCH problem only manifests with boost, then I guess this sidesteps the PCH problem, too.
Recently, I also had problems with the Boost auto-detection on spike. I'll look into this and will probably just set the explicit flags to not use Boost.
@aswaterman yes, I just wasn't sure if any desirable feature could be missed by disabling boost. I updated the PR to disable boost by default.
Thanks!!!
riscv-isa-sim
build fails whenboost
is automatically detected, partly due to https://github.com/riscv-software-src/riscv-isa-sim/issues/820. Apparently some functionality is only supported when build withboost
(?) Does it make sense to depend on boost anyways? This PR includes an ugly patch to circumvent https://github.com/riscv-software-src/riscv-isa-sim/issues/820 and to avoid dependency onautoconf@2.69
or autoupdate steps.