You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I can confirm the issue after replacing external/pybind11 with version 2.10.4. Also, it would be nice if CMakeLists.txt included the option to find a local installed version. The option TWEEDLEDUM_USE_EXTERNAL_PYBIND11 doesn't work as expected for me. Also, for recent versions of gcc, you have to add #include <cstdint> to Cbit.h. This needs some attention, as latest release was already broken (and had to manually applied #170), but now it just got worse after many distros updating to Python 3.11 and GCC 13.
cd external
rm -r pybind11/*
curl -OLs https://github.com/pybind/pybind11/archive/refs/tags/v2.10.4.tar.gz
tar -xzf v2.10.4.tar.gz --strip-components=1 --directory=pybind11
cd ../include/tweedledum/IR
sed -i '6s/.*/#include <cstdint>/' Cbit.h
Describe the bug
Building tweedledum-1.1.1 with Python 3.11 fails as follows:
I think this is because the bundled copy of pybind11 is a bit stale.
Reproducible example code
Expected behavior
Successful build.
Information
The text was updated successfully, but these errors were encountered: