File tree Expand file tree Collapse file tree 3 files changed +6
-2
lines changed
c-dependencies/js-compute-runtime Expand file tree Collapse file tree 3 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -11,6 +11,5 @@ log = "0.4.11"
11
11
structopt = " 0.3.20"
12
12
tempfile = " 3.1.0"
13
13
wizer = " 1.4.0"
14
-
15
14
tree-sitter = " ~0.20"
16
15
tree-sitter-javascript = " ~0.20"
Original file line number Diff line number Diff line change @@ -34,6 +34,8 @@ fn build_engine(src: &PathBuf, out_dir: &Path) {
34
34
let makefile_path = src. join ( "js-compute-runtime" ) . join ( "Makefile" ) ;
35
35
let status = Command :: new ( "make" )
36
36
. current_dir ( out_dir)
37
+ . arg ( "-j" )
38
+ . arg ( var_os ( "NUM_JOBS" ) . unwrap ( ) )
37
39
. arg ( "-f" )
38
40
. arg ( makefile_path)
39
41
. status ( )
Original file line number Diff line number Diff line change @@ -59,7 +59,10 @@ $(RUST_URL_LIB): $(RUST_URL_RS_FILES) $(RUST_URL_SRC)/Cargo.toml $(RUST_URL_SRC)
59
59
% .o : $(FSM_SRC ) % .cpp $(FSM_SRC ) Makefile $(RUST_URL_LIB ) compiler_flags
60
60
$(WASI_CXX ) $(CXX_FLAGS ) $(CXX_OPT ) $(DEFINES ) -I $(SM_SRC ) include -MMD -MP -c -o $@ $<
61
61
62
- builtins/% .o : $(FSM_SRC ) builtins/% .cpp $(FSM_SRC ) Makefile $(RUST_URL_LIB ) compiler_flags
62
+ builtins :
63
+ $Q mkdir -p builtins
64
+
65
+ builtins/% .o : $(FSM_SRC ) builtins/% .cpp $(FSM_SRC ) Makefile $(RUST_URL_LIB ) compiler_flags | builtins
63
66
$(WASI_CXX ) $(CXX_FLAGS ) $(CXX_OPT ) $(DEFINES ) -I $(SM_SRC ) include -MMD -MP -c -o $@ $<
64
67
65
68
js-compute-runtime.wasm : $(FSM_OBJ ) $(SM_OBJ ) $(RUST_URL_LIB )
You can’t perform that action at this time.
0 commit comments