소스 검색

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

Adam Ierymenko 3 년 전
부모
커밋
8cda04cc98
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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 .