ska-sa / spead2

Library for the Streaming Protocol for Exchange of Astronomical Data (SPEAD)
http://spead2.readthedocs.io/en/latest/
GNU Lesser General Public License v3.0
23 stars 14 forks source link

Use pybind11's setup helpers #227

Closed bmerry closed 1 year ago

bmerry commented 1 year ago

The main benefit is that it has tools to support parallel compilation, which drastically cuts down the build time. It also determines the latest version of C++ supported by the compiler and uses that, which in a few cases lets pybind11 do things more efficiently. Finally, it takes care of some of the boilerplate, like passing -g0 -fvisibility=hidden.