File tree Expand file tree Collapse file tree 2 files changed +7
-4
lines changed Expand file tree Collapse file tree 2 files changed +7
-4
lines changed Original file line number Diff line number Diff line change 1010PROCS =0 PREFIX=install
1111PYTHON =python
1212MAVEN =mvn
13+ NPM_INSTALL_CACHE =true
14+ NPMRC =
1315BUILD_DIR =/undefined
1416LKQL_DIR =$(BUILD_DIR ) /lkql
1517IMPACTDB_DIR =/undefined
2729endif
2830
2931ADDITIONAL_MANAGE_ARGS =
32+ MAVEN_ARGS=-Dconfig.npmInstallCache =$(NPM_INSTALL_CACHE ) -Dconfig.npmrc=$(NPMRC ) -Dconfig.python=$(PYTHON )
3033
3134# WARNING: Note that for some reason parallelizing the build still doesn't work
3235all : lkql gnatcheck build_lkql_native_jit doc
@@ -42,7 +45,7 @@ impacts:
4245
4346format :
4447 gnatformat -P lkql_checker/gnatcheck.gpr --no-subprojects
45- $(MAVEN ) -f lkql_jit spotless:apply
48+ $(MAVEN ) -f lkql_jit spotless:apply $( MAVEN_ARGS )
4649
4750gnatcheck : lkql
4851 gnatformat -P lkql_checker/gnatcheck.gpr --no-subprojects --check
@@ -69,11 +72,11 @@ clean_lkql_jit:
6972
7073build_lkql_jit : lkql
7174 $(MAVEN ) -f lkql/build/java/ install
72- $(MAVEN ) -f lkql_jit/ clean install
75+ $(MAVEN ) -f lkql_jit/ clean install $( MAVEN_ARGS )
7376
7477build_lkql_native_jit : lkql
7578 $(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 )
7780
7881.PHONY : lkql_checker
7982
Original file line number Diff line number Diff line change 4343 <config .npm></config .npm>
4444
4545 <!-- NPM configuration -->
46- <config .npmInstallCache>./target/npm-cache </config .npmInstallCache>
46+ <config .npmInstallCache>true </config .npmInstallCache>
4747 <config .npmrc></config .npmrc>
4848
4949 <!-- List of the components to build with native image -->
You can’t perform that action at this time.
0 commit comments