cirrus-ci: install libinotify for FreeBSD

FreeBSD QEMU build requires libinotify, otherwise the build fails with:

./qemu-xen-dir-remote/meson.build:2535:15: ERROR: C shared or static library 'inotify' not found

Install the package and add the /usr/local include and libs paths
explicitly as QEMU configure options.

Signed-off-by: Roger Pau Monné <roger.pau@citrix.com>
Acked-by: Andrew Cooper <andrew.cooper3@citrix.com>
Release-Acked-By: Oleksii Kurochko <oleksii.kurochko@gmail.com>
This commit is contained in:
Roger Pau Monne authored and Andrew Cooper committed 2025-10-07 15:13:16 +01:00
1 parent acaecf31ea
commit ed53b7cb1b
1 file changed
+2 -1
+2 -1
View File
@@ -51,11 +51,12 @@ task:
install_script: pkg install -y seabios gmake ninja bash
pkgconf bison perl5
yajl lzo2 pixman argp-standalone
libxml2 glib git python3
libxml2 glib git python3 libinotify
configure_script:
- cc --version
- ./configure --with-system-seabios=/usr/local/share/seabios/bios.bin
--with-extra-qemuu-configure-args="--extra-ldflags=-L${APPEND_LIB} --extra-cflags=-I${APPEND_INCLUDES}"
- gmake -j`sysctl -n hw.ncpu` -C xen clang=y defconfig
<< : *FREEBSD_CONFIGURE_ARTIFACTS
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.