Browse Source

Use nproc to get the number of cores on Linux to speed up bounds.

Adam Ierymenko 3 years ago
parent
commit
8cda04cc98
1 changed files with 1 additions and 1 deletions
  1. 1 1
      make-linux.mk

+ 1 - 1
make-linux.mk

@@ -346,7 +346,7 @@ distclean:	clean
 realclean:	distclean
 
 official:	FORCE
-	make -j4 ZT_OFFICIAL=1 all
+	make -j`nproc` ZT_OFFICIAL=1 all
 
 docker:	FORCE
 	docker build --no-cache -f ext/installfiles/linux/zerotier-containerized/Dockerfile -t zerotier-containerized .