osmcode / pyosmium

Python bindings for libosmium
https://osmcode.org/pyosmium
BSD 2-Clause "Simplified" License
314 stars 64 forks source link

setup.py: detect parallellism instead of using hardcoded -j2 #265

Closed Mathiasdm closed 3 weeks ago

Mathiasdm commented 3 weeks ago

On my machine (12-core laptop), this makes 'pip install .' go from 1m56 to 58s. I would have expected a bigger performance gain, but I think the lto at the end of the build is probably taking up the rest of the time.