Skip to content

Commit d6ee58b

Browse files
committed
For cross platform build, for netbsd disable libevent.
1 parent b74c7a1 commit d6ee58b

1 file changed

Lines changed: 3 additions & 7 deletions

File tree

.github/workflows/analysis_ports.yml

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ jobs:
4545
cross_platform_os: "netbsd"
4646
cross_platform_arch: "x86-64"
4747
cross_platform_version: "10.0"
48-
cross_platform_config: "--enable-checking --disable-flto --with-libevent"
48+
cross_platform_config: "--enable-checking --disable-flto --with-libevent=no"
4949

5050
steps:
5151
- uses: actions/checkout@v4
@@ -68,16 +68,12 @@ jobs:
6868
set -e -x
6969
if test "$CROSS_PLATFORM_OS" = "freebsd"; then sudo pkg install -y autoconf libtool openssl libevent; fi
7070
if test "$CROSS_PLATFORM_OS" = "openbsd"; then sudo pkg_add autoconf-2.71 libtool libevent; export AUTOCONF_VERSION="2.71"; fi
71-
if test "$CROSS_PLATFORM_OS" = "netbsd"; then sudo pkgin -y install autoconf libtool libevent; fi
71+
if test "$CROSS_PLATFORM_OS" = "netbsd"; then sudo pkgin -y install autoconf libtool; fi
7272
echo "::group::configure"
7373
autoconf && autoheader
7474
(cd simdzone && autoconf && autoheader)
7575
libtoolize -c -i || glibtoolize -c -i
76-
echo "debug ls"
77-
ls -l /usr/pkg/lib/*event*
78-
ls -l /usr/pkg/lib64/*event*
79-
./configure ${{ matrix.cross_platform_config }} || cat config.log
80-
echo "debug fail"; exit 1
76+
./configure ${{ matrix.cross_platform_config }}
8177
echo "::endgroup::"
8278
echo "::group::make"
8379
make -j2

0 commit comments

Comments
 (0)