Commit 81a5082
committed
fix: build native JNI lib on aarch64 CI runners
The multiArch=false path skips architectures whose name doesn't match
the host arch, but ARCHITECTURES uses Maven's classifier spelling
'aarch_64' while `arch` reports 'aarch64'. On the ARM runner this
mismatch caused every arch to be skipped, so no .so was built and the
unit tests crashed loading the native library.
Normalize the host arch to 'aarch_64' before comparing.1 parent 2444cc9 commit 81a5082
1 file changed
Lines changed: 9 additions & 2 deletions
Lines changed: 9 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
118 | 118 | | |
119 | 119 | | |
120 | 120 | | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
121 | 128 | | |
122 | 129 | | |
123 | | - | |
124 | | - | |
| 130 | + | |
| 131 | + | |
125 | 132 | | |
126 | 133 | | |
127 | 134 | | |
| |||
0 commit comments