File tree 2 files changed +7
-4
lines changed
2 files changed +7
-4
lines changed Original file line number Diff line number Diff line change 10
10
PROCS =0 PREFIX=install
11
11
PYTHON =python
12
12
MAVEN =mvn
13
+ NPM_INSTALL_CACHE =true
14
+ NPMRC =
13
15
BUILD_DIR =/undefined
14
16
LKQL_DIR =$(BUILD_DIR ) /lkql
15
17
IMPACTDB_DIR =/undefined
27
29
endif
28
30
29
31
ADDITIONAL_MANAGE_ARGS =
32
+ MAVEN_ARGS=-Dconfig.npmInstallCache =$(NPM_INSTALL_CACHE ) -Dconfig.npmrc=$(NPMRC ) -Dconfig.python=$(PYTHON )
30
33
31
34
# WARNING: Note that for some reason parallelizing the build still doesn't work
32
35
all : lkql gnatcheck build_lkql_native_jit doc
@@ -42,7 +45,7 @@ impacts:
42
45
43
46
format :
44
47
gnatformat -P lkql_checker/gnatcheck.gpr --no-subprojects
45
- $(MAVEN ) -f lkql_jit spotless:apply
48
+ $(MAVEN ) -f lkql_jit spotless:apply $( MAVEN_ARGS )
46
49
47
50
gnatcheck : lkql
48
51
gnatformat -P lkql_checker/gnatcheck.gpr --no-subprojects --check
@@ -69,11 +72,11 @@ clean_lkql_jit:
69
72
70
73
build_lkql_jit : lkql
71
74
$(MAVEN ) -f lkql/build/java/ install
72
- $(MAVEN ) -f lkql_jit/ clean install
75
+ $(MAVEN ) -f lkql_jit/ clean install $( MAVEN_ARGS )
73
76
74
77
build_lkql_native_jit : lkql
75
78
$(MAVEN ) -f lkql/build/java/ install
76
- $(MAVEN ) -f lkql_jit/ clean install -P native,$(BUILD_MODE )
79
+ $(MAVEN ) -f lkql_jit/ clean install -P native,$(BUILD_MODE ) $( MAVEN_ARGS )
77
80
78
81
.PHONY : lkql_checker
79
82
Original file line number Diff line number Diff line change 43
43
<config .npm></config .npm>
44
44
45
45
<!-- NPM configuration -->
46
- <config .npmInstallCache>./target/npm-cache </config .npmInstallCache>
46
+ <config .npmInstallCache>true </config .npmInstallCache>
47
47
<config .npmrc></config .npmrc>
48
48
49
49
<!-- List of the components to build with native image -->
You can’t perform that action at this time.
0 commit comments