aperezdc / ngx-fancyindex

Fancy indexes module for the Nginx web server
Other
857 stars 127 forks source link

Tests: Build nginx in parallel on macOS #141

Closed ryandesign closed 2 years ago

ryandesign commented 2 years ago

When running ./build-and-run it took so many seconds to build nginx! This PR makes it faster by building in parallel using all available CPUs. I only filled in the code to get the right number of CPUs for macOS since that's all I'm familiar with; I leave it as a task for other contributors to add the necessary code to detect it on other operating systems (nproc?).