]> The Tcpdump Group git mirrors - tcpslice/commitdiff
Cirrus CI: Try to fix things after the previous commit.
authorDenis Ovsienko <[email protected]>
Sun, 7 May 2023 23:24:19 +0000 (00:24 +0100)
committerDenis Ovsienko <[email protected]>
Sun, 7 May 2023 23:24:19 +0000 (00:24 +0100)
Apparently, Clang 16 is not available on FreeBSD 12.4, let's see if
Clang 15 is.  In the Linux task specify CC so Autoconf can generate the
Makefile (steps that do not involve any C compliling should not depend
on a C compiler presence, maybe in future this will have a better
solution).

.cirrus.yml

index 4c0f39c228b85f268db203a3aefb9e9360459e42..59a7acdeb95c5c18a1066a8ee353cdd4fd9d6fc7 100644 (file)
@@ -14,9 +14,9 @@ freebsd_task:
       - image_family: freebsd-13-2
   env:
     IGNORE_OSVERSION: yes
-    MATRIX_CC: clang16 gcc12
+    MATRIX_CC: clang15 gcc12
   script:
-    - pkg install -qy autoconf gcc12 llvm16
+    - pkg install -qy autoconf gcc12 llvm15
     - pkg install -qy git-tiny # for build_matrix.sh
     - git -C .. clone --depth ${CIRRUS_CLONE_DEPTH} --branch=master --quiet ${LIBPCAP_GIT}
     - ./build_matrix.sh
@@ -40,7 +40,7 @@ linux_task:
     - apt list --installed 'lib*-dev'
     - git -C .. clone --depth ${CIRRUS_CLONE_DEPTH} --branch=master --quiet ${LIBPCAP_GIT}
     - ./autogen.sh
-    - ./configure --quiet # build the Makefile
+    - CC=gcc-12 ./configure --quiet # build the Makefile
     - make releasecheck
     - make whitespacecheck
     - make shellcheck