FreeBSD CI: sysctl -n hw.ncpu is enough to get number of cpus

nproc can be installed as gncpu as a part of sysutils/coreutils but not
necessary for this case.
This commit is contained in:
Koichiro IWAO committed 2019-12-06 13:20:16 +09:00
1 parent 614f4db8a6
commit d1471048d9
1 file changed
+1 -1
+1 -1
View File
@@ -8,5 +8,5 @@ FreeBSD_task:
- git submodule update --init --recursive
script:
- ./configure
- make -j $(nproc || sysctl -n hw.ncpu || echo 4) -C tmp
- make -j $(sysctl -n hw.ncpu || echo 4) -C tmp
- ldd build/vpnserver