Open elima opened 7 months ago
BTW, to test this, change the cmake line in any workflow that builds acacia, and add -DACACIA_PYTHON=on
.
Wow this is confusing... I had this same error on my build machine (running pop!os), but the reason for that was that SWIG was too old, so ultimately I had to get and install swig from source. But after I did that, I could build just fine.
Acacia fails to build on a github runner when
-DACACIA_PYTHON=ON
is passed.SWIG complains that it can't find
std_unique_ptr.i
. Same version of SWIG (4.1.0) builds fine on my Debian laptop. Actually, we are building SWIG 4.1.0 from source in the CI runner precisely because the shipped version (4.0.1) doesn't have support for unique pointers.Oddly enough, NodeJS does build fine on the CI runner, pointing at an issue specific to SWIG and the Python environment.