osmcode / pyosmium

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

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

Closed Mathiasdm closed 2 months ago

Mathiasdm commented 2 months 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.