Closed erykoff closed 3 months ago
thanks for this
If the flag isn't being passed, this might be a python/pip issue
I think the issue is that @erykoff is pip
installing the latest release, which doesn't include #75, so doesn't set -std=c++11
. You could just try adding it to CFLAGS
, that should work.
Also, the reason that this bug occurred when GHA switched to Ubuntu 22.04 is that the default GCC version changed to 11, which uses the C++17 standard by default:
I tagged a new version and pushed to pypi
is this working now?
I use pip in my github actions for redmapper. And the esutil installation failed today, apparently caused by the update of
ubuntu-latest
from 20.04 to 22.04 in November/December (it was a rolling release). Specifically requestingubuntu-20.04
fixed the issue (temporarily).The pip install error was the following:
Which is strange because it should be explicitly setting c++11, but I noticed that the build line looks like:
(That is, no use of the
-std=c++11
which should be there.)