summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/httpserver
diff options
context:
space:
mode:
authorAndrew Dunham <andrew@du.nham.ca>2019-02-07 09:39:53 -0500
committerJörg Thalheim <Mic92@users.noreply.github.com>2019-02-07 14:39:53 +0000
commit274afc49325403e8fd3bf2914950f856a9c63fd6 (patch)
treeb6de2bdc11a7eb17c47e88474fe99accea9acde0 /pkgs/development/python-modules/httpserver
parent3e3e7379cdc20a115557e4bd4e2ca2e815492cdb (diff)
go: build each package single-threaded (#53390)
I noticed that I was seeing the Go compiler build things in parallel even when I'd set `-j1 --cores 1`. It appears that the compiler, by default, uses the number of CPUs that are available to perform a build, while nixpkgs parallelizes at the directory level. In order to change the fewest assumptions, this explicitly tells the Go compiler to run single-threaded. The flag's documentation is: ``` -p n the number of programs, such as build commands or test binaries, that can be run in parallel. The default is the number of CPUs available. ``` So this should function as expected. Feedback appreciated!
Diffstat (limited to 'pkgs/development/python-modules/httpserver')
0 files changed, 0 insertions, 0 deletions