4545 # ARM Linux builds - cross-compiled with QEMU testing (Jetson, Raspberry Pi compatible)
4646 # SHLIBDEPS must be disabled for cross-compiled packages as the host system
4747 # 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 -DCPACK_DEBIAN_LIBLSL_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 -DCPACK_DEBIAN_LIBLSL_PACKAGE_SHLIBDEPS=OFF " }
48+ - {name: "ubuntu-22.04-arm64", os: "ubuntu-22.04", arch: "aarch64", cross_compile: true, cmake_extra: "-DLSL_BUNDLED_PUGIXML=ON -DLSL_DISABLE_PACKAGE_SHLIBDEPS=ON " }
49+ - {name: "ubuntu-22.04-armhf", os: "ubuntu-22.04", arch: "armv7", cross_compile: true, cmake_extra: "-DLSL_BUNDLED_PUGIXML=ON -DLSL_DISABLE_PACKAGE_SHLIBDEPS=ON " }
5050
5151 # Native ARM build
5252 # - {name: "ubuntu-24.04-arm64-native", os: "ubuntu-24.04-arm", arch: "aarch64", cmake_extra: "-DLSL_BUNDLED_PUGIXML=OFF" }
@@ -177,13 +177,6 @@ jobs:
177177 - name : Package
178178 run : |
179179 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 -DCPACK_DEBIAN_LIBLSL_PACKAGE_SHLIBDEPS=OFF build
185- fi
186-
187180 cmake --build build --target package --config Release -j
188181
189182 # On Debian / Ubuntu the dependencies can only be resolved for
@@ -195,7 +188,6 @@ jobs:
195188 dpkg -I package/liblsl*.deb
196189 fi
197190
198- # For cross-compiled ARM packages, add architecture to package metadata
199191 if [[ "${{ matrix.config.cross_compile }}" == "true" ]]; then
200192 echo "Cross-compiled ${{ matrix.config.arch }} package created"
201193 ls -lh package/
0 commit comments