[libdvdnav-devel] [Git][videolan/libdvdread][master] CI: add arm-linux-gnueabihf target with old compiler

Jean-Baptiste Kempf (@jbk) gitlab at videolan.org
Tue Aug 19 09:08:11 UTC 2025



Jean-Baptiste Kempf pushed to branch master at VideoLAN / libdvdread


Commits:
fd8a7330 by Steve Lhomme at 2025-08-19T09:07:52+00:00
CI: add arm-linux-gnueabihf target with old compiler

bswap failed to build with that target.

- - - - -


2 changed files:

- .gitlab-ci.yml
- + package/crossfiles/arm-linux-gnueabihf.meson


Changes:

=====================================
.gitlab-ci.yml
=====================================
@@ -14,6 +14,21 @@ build-debian:
         - meson setup build
         - meson compile -C build
 
+build-raspberry:
+    image: registry.videolan.org/vlc-ubuntu-raspberry:20240806085528
+    stage: build
+    tags:
+        - docker
+        - amd64
+    script:
+        - MESON_VERSION=1.7.1
+        - MESON_URL=https://github.com/mesonbuild/meson/releases/download/${MESON_VERSION}/meson-${MESON_VERSION}.tar.gz
+        - MESON_SHASUM512=bad913c59f540b701a0d234a868bd88615ccfcdc09931f8dea7b4da48bcc3a3c3c7e9cdeeff5abfcd48c6b2b25e5c60590811125b7156da36b714e00b35813c6
+        - curl -LsO "${MESON_URL}" && echo $MESON_SHASUM512 meson-${MESON_VERSION}.tar.gz | sha512sum -c - && tar xvzf meson-${MESON_VERSION}.tar.gz
+
+        - meson-${MESON_VERSION}/meson.py setup build --cross-file package/crossfiles/arm-linux-gnueabihf.meson
+        - meson-${MESON_VERSION}/meson.py compile -C build
+
 build-macos:
     stage: build
     tags:


=====================================
package/crossfiles/arm-linux-gnueabihf.meson
=====================================
@@ -0,0 +1,15 @@
+[binaries]
+c = 'arm-linux-gnueabihf-gcc'
+cpp = 'arm-linux-gnueabihf-gcc++'
+ar = 'arm-linux-gnueabihf-ar'
+strip = 'arm-linux-gnueabihf-strip'
+pkg-config = 'pkg-config'
+
+[built-in options]
+c_link_args = ['-static-libgcc']
+
+[host_machine]
+system = 'linux'
+cpu_family = 'arm'
+cpu = 'arm'
+endian = 'little'



View it on GitLab: https://code.videolan.org/videolan/libdvdread/-/commit/fd8a73304597dc3a4fc187d0dd0cfb50af8f0a2d

-- 
View it on GitLab: https://code.videolan.org/videolan/libdvdread/-/commit/fd8a73304597dc3a4fc187d0dd0cfb50af8f0a2d
You're receiving this email because of your account on code.videolan.org.


VideoLAN code repository instance


More information about the libdvdnav-devel mailing list