Closed sethrj closed 2 years ago
I think I should just rewrite libtree in C lol
Sounds like too much work! We should be using these modern capabilities, it's just that so many platforms lag behind a bit...
I'm happy to either mark as a conflict or submit a patch that will apply for older GCC versions. I don't need need it but this seems like a cool utility and I wanted to try it out when the need arose :)
There is a static executable too under releases: https://github.com/haampie/libtree/releases/tag/v2.0.0
Closing this since the C rewrite is a thing now
Regrettably, my second attempt to install libtree (after #31 was fixed) also failed (gcc 8.3, rhel7):
spack-build-out.txt
It looks like you may need to explicitly link to c++17fs, see discussion on https://gitlab.kitware.com/cmake/cmake/-/issues/17834 which makes it pretty clear that only GCC<=8 needs this special target link 🙄