|
45 | 45 | # ARM Linux builds - cross-compiled with QEMU testing (Jetson, Raspberry Pi compatible) |
46 | 46 | # SHLIBDEPS must be disabled for cross-compiled packages as the host system |
47 | 47 | # does not have the target architecture libraries installed |
48 | | - - {name: "ubuntu-22.04-arm64", os: "ubuntu-22.04", arch: "aarch64", cross_compile: true, cmake_extra: "-DLSL_BUNDLED_PUGIXML=ON -DCPACK_DEBIAN_PACKAGE_SHLIBDEPS=OFF" } |
49 | | - - {name: "ubuntu-22.04-armhf", os: "ubuntu-22.04", arch: "armv7", cross_compile: true, cmake_extra: "-DLSL_BUNDLED_PUGIXML=ON -DCPACK_DEBIAN_PACKAGE_SHLIBDEPS=OFF" } |
| 48 | + - {name: "ubuntu-22.04-arm64", os: "ubuntu-22.04", arch: "aarch64", cross_compile: true, cmake_extra: "-DLSL_BUNDLED_PUGIXML=ON" } |
| 49 | + - {name: "ubuntu-22.04-armhf", os: "ubuntu-22.04", arch: "armv7", cross_compile: true, cmake_extra: "-DLSL_BUNDLED_PUGIXML=ON" } |
50 | 50 |
|
51 | 51 | # Native ARM build |
52 | 52 | # - {name: "ubuntu-24.04-arm64-native", os: "ubuntu-24.04-arm", arch: "aarch64", cmake_extra: "-DLSL_BUNDLED_PUGIXML=OFF" } |
@@ -177,6 +177,13 @@ jobs: |
177 | 177 | - name: Package |
178 | 178 | run: | |
179 | 179 | echo "Creating package for ${{ matrix.config.arch }}" |
| 180 | +
|
| 181 | + # For cross-compiled builds, explicitly disable shlibdeps before packaging |
| 182 | + if [[ "${{ matrix.config.cross_compile }}" == "true" ]]; then |
| 183 | + # Reconfigure with SHLIBDEPS explicitly OFF for cross-compilation |
| 184 | + cmake -DCPACK_DEBIAN_PACKAGE_SHLIBDEPS=OFF build |
| 185 | + fi |
| 186 | +
|
180 | 187 | cmake --build build --target package --config Release -j |
181 | 188 |
|
182 | 189 | # On Debian / Ubuntu the dependencies can only be resolved for |
|
0 commit comments