Skip to content

Commit 438f831

Browse files
Merge pull request #452 from bernardladenthin/fix-jni-header-path
llama/pom.xml: write JNI headers relative to the module, not the cwd
2 parents d238476 + c55a2fb commit 438f831

1 file changed

Lines changed: 16 additions & 16 deletions

File tree

‎llama/pom.xml‎

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -905,7 +905,7 @@ SPDX-License-Identifier: MIT
905905
</excludes>
906906
<compilerArgs>
907907
<arg>-h</arg>
908-
<arg>src/main/cpp</arg>
908+
<arg>${project.basedir}/src/main/cpp</arg>
909909
</compilerArgs>
910910
<outputDirectory>
911911
${project.build.outputDirectory}_cuda</outputDirectory>
@@ -986,7 +986,7 @@ SPDX-License-Identifier: MIT
986986
</excludes>
987987
<compilerArgs>
988988
<arg>-h</arg>
989-
<arg>src/main/cpp</arg>
989+
<arg>${project.basedir}/src/main/cpp</arg>
990990
</compilerArgs>
991991
<outputDirectory>
992992
${project.build.outputDirectory}_opencl_android</outputDirectory>
@@ -1075,7 +1075,7 @@ SPDX-License-Identifier: MIT
10751075
</excludes>
10761076
<compilerArgs>
10771077
<arg>-h</arg>
1078-
<arg>src/main/cpp</arg>
1078+
<arg>${project.basedir}/src/main/cpp</arg>
10791079
</compilerArgs>
10801080
<outputDirectory>
10811081
${project.build.outputDirectory}_windows_msvc</outputDirectory>
@@ -1159,7 +1159,7 @@ SPDX-License-Identifier: MIT
11591159
</excludes>
11601160
<compilerArgs>
11611161
<arg>-h</arg>
1162-
<arg>src/main/cpp</arg>
1162+
<arg>${project.basedir}/src/main/cpp</arg>
11631163
</compilerArgs>
11641164
<outputDirectory>
11651165
${project.build.outputDirectory}_windows_cuda</outputDirectory>
@@ -1240,7 +1240,7 @@ SPDX-License-Identifier: MIT
12401240
</excludes>
12411241
<compilerArgs>
12421242
<arg>-h</arg>
1243-
<arg>src/main/cpp</arg>
1243+
<arg>${project.basedir}/src/main/cpp</arg>
12441244
</compilerArgs>
12451245
<outputDirectory>
12461246
${project.build.outputDirectory}_windows_vulkan</outputDirectory>
@@ -1321,7 +1321,7 @@ SPDX-License-Identifier: MIT
13211321
</excludes>
13221322
<compilerArgs>
13231323
<arg>-h</arg>
1324-
<arg>src/main/cpp</arg>
1324+
<arg>${project.basedir}/src/main/cpp</arg>
13251325
</compilerArgs>
13261326
<outputDirectory>
13271327
${project.build.outputDirectory}_linux_vulkan</outputDirectory>
@@ -1403,7 +1403,7 @@ SPDX-License-Identifier: MIT
14031403
</excludes>
14041404
<compilerArgs>
14051405
<arg>-h</arg>
1406-
<arg>src/main/cpp</arg>
1406+
<arg>${project.basedir}/src/main/cpp</arg>
14071407
</compilerArgs>
14081408
<outputDirectory>
14091409
${project.build.outputDirectory}_linux_vulkan_aarch64</outputDirectory>
@@ -1487,7 +1487,7 @@ SPDX-License-Identifier: MIT
14871487
</excludes>
14881488
<compilerArgs>
14891489
<arg>-h</arg>
1490-
<arg>src/main/cpp</arg>
1490+
<arg>${project.basedir}/src/main/cpp</arg>
14911491
</compilerArgs>
14921492
<outputDirectory>
14931493
${project.build.outputDirectory}_windows_opencl</outputDirectory>
@@ -1566,7 +1566,7 @@ SPDX-License-Identifier: MIT
15661566
</excludes>
15671567
<compilerArgs>
15681568
<arg>-h</arg>
1569-
<arg>src/main/cpp</arg>
1569+
<arg>${project.basedir}/src/main/cpp</arg>
15701570
</compilerArgs>
15711571
<outputDirectory>
15721572
${project.build.outputDirectory}_linux_rocm</outputDirectory>
@@ -1644,7 +1644,7 @@ SPDX-License-Identifier: MIT
16441644
</excludes>
16451645
<compilerArgs>
16461646
<arg>-h</arg>
1647-
<arg>src/main/cpp</arg>
1647+
<arg>${project.basedir}/src/main/cpp</arg>
16481648
</compilerArgs>
16491649
<outputDirectory>
16501650
${project.build.outputDirectory}_windows_rocm</outputDirectory>
@@ -1722,7 +1722,7 @@ SPDX-License-Identifier: MIT
17221722
</excludes>
17231723
<compilerArgs>
17241724
<arg>-h</arg>
1725-
<arg>src/main/cpp</arg>
1725+
<arg>${project.basedir}/src/main/cpp</arg>
17261726
</compilerArgs>
17271727
<outputDirectory>
17281728
${project.build.outputDirectory}_linux_sycl_fp16</outputDirectory>
@@ -1800,7 +1800,7 @@ SPDX-License-Identifier: MIT
18001800
</excludes>
18011801
<compilerArgs>
18021802
<arg>-h</arg>
1803-
<arg>src/main/cpp</arg>
1803+
<arg>${project.basedir}/src/main/cpp</arg>
18041804
</compilerArgs>
18051805
<outputDirectory>
18061806
${project.build.outputDirectory}_linux_sycl_fp32</outputDirectory>
@@ -1878,7 +1878,7 @@ SPDX-License-Identifier: MIT
18781878
</excludes>
18791879
<compilerArgs>
18801880
<arg>-h</arg>
1881-
<arg>src/main/cpp</arg>
1881+
<arg>${project.basedir}/src/main/cpp</arg>
18821882
</compilerArgs>
18831883
<outputDirectory>
18841884
${project.build.outputDirectory}_windows_sycl</outputDirectory>
@@ -1958,7 +1958,7 @@ SPDX-License-Identifier: MIT
19581958
</excludes>
19591959
<compilerArgs>
19601960
<arg>-h</arg>
1961-
<arg>src/main/cpp</arg>
1961+
<arg>${project.basedir}/src/main/cpp</arg>
19621962
</compilerArgs>
19631963
<outputDirectory>
19641964
${project.build.outputDirectory}_windows_opencl_aarch64</outputDirectory>
@@ -2036,7 +2036,7 @@ SPDX-License-Identifier: MIT
20362036
</excludes>
20372037
<compilerArgs>
20382038
<arg>-h</arg>
2039-
<arg>src/main/cpp</arg>
2039+
<arg>${project.basedir}/src/main/cpp</arg>
20402040
</compilerArgs>
20412041
<outputDirectory>
20422042
${project.build.outputDirectory}_linux_openvino</outputDirectory>
@@ -2114,7 +2114,7 @@ SPDX-License-Identifier: MIT
21142114
</excludes>
21152115
<compilerArgs>
21162116
<arg>-h</arg>
2117-
<arg>src/main/cpp</arg>
2117+
<arg>${project.basedir}/src/main/cpp</arg>
21182118
</compilerArgs>
21192119
<outputDirectory>
21202120
${project.build.outputDirectory}_windows_openvino</outputDirectory>

0 commit comments

Comments
 (0)