File tree 2 files changed +16
-9
lines changed
2 files changed +16
-9
lines changed Original file line number Diff line number Diff line change @@ -385,11 +385,10 @@ jobs:
385
385
with :
386
386
usesh : true
387
387
prepare : |
388
- pkg_add cmake
388
+ pkg_add cmake gmake
389
389
run : |
390
- cmake -B build
391
- cmake --build build -j $(sysctl -n hw.ncpu)
392
- ./build/qjs -qd
390
+ gmake
391
+ gmake stats
393
392
394
393
freebsd :
395
394
runs-on : ubuntu-latest
@@ -400,8 +399,7 @@ jobs:
400
399
with :
401
400
usesh : true
402
401
prepare : |
403
- pkg install -y cmake
402
+ pkg install -y cmake gmake
404
403
run : |
405
- cmake -B build
406
- cmake --build build -j $(sysctl -n hw.ncpu)
407
- ./build/qjs -qd
404
+ gmake
405
+ gmake stats
Original file line number Diff line number Diff line change 26
26
27
27
BUILD_DIR =build
28
28
BUILD_TYPE? =Release
29
- JOBS? =$(shell getconf _NPROCESSORS_ONLN)
30
29
31
30
QJS =$(BUILD_DIR ) /qjs
32
31
RUN262 =$(BUILD_DIR ) /run-test262
33
32
33
+ JOBS? =$(shell getconf _NPROCESSORS_ONLN)
34
+ ifeq ($(JOBS ) ,)
35
+ JOBS := $(shell sysctl -n hw.ncpu)
36
+ endif
37
+ ifeq ($(JOBS ) ,)
38
+ JOBS := $(shell nproc)
39
+ endif
40
+ ifeq ($(JOBS ) ,)
41
+ JOBS := 4
42
+ endif
34
43
35
44
all : $(QJS )
36
45
You can’t perform that action at this time.
0 commit comments