Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 21 May 2022 10:16:53 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 264121] [PATCH] Cirrus-CI: Use 'freebsd-14-0-snap' instead of 'freebsd-13-0' for more up-to-date compiler
Message-ID:  <bug-264121-227@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D264121

            Bug ID: 264121
           Summary: [PATCH] Cirrus-CI: Use 'freebsd-14-0-snap' instead of
                    'freebsd-13-0' for more up-to-date compiler
           Product: Base System
           Version: CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: misc
          Assignee: bugs@FreeBSD.org
          Reporter: obiwac@gmail.com

The Cirrus CI configuration (.cirrus.yml) currently creates a
'freebsd-13-0-release-amd64' compute engine instance, which comes with an o=
lder
version of Clang. This causes tasks to fail because the recently merged ver=
sion
of LLVM makes use of the new '__c11_atomic_fetch_nand' builtin, which was o=
nly
introduced as of patch D112400 (so only as of Clang 14).

I believe it makes sense to use the 'freebsd-14-0-snap' image instead to av=
oid
this problem and other such problems in the future
(https://cirrus-ci.org/guide/FreeBSD/).

(I have read UPDATING.)

>From 7159060cc02c12c29e853ad44f998e9ded342da8 Mon Sep 17 00:00:00 2001
From: obiwac <obiwac@gmail.com>
Date: Sat, 21 May 2022 12:12:38 +0200
Subject: [PATCH] Cirrus-CI: Switch to using `freebsd-14-0-snap`

In order to compile with newer versions of Clang (to provide e.g.
new `__c11_atomic_fetch_nand` builtin).
---
 .cirrus.yml | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/.cirrus.yml b/.cirrus.yml
index 6e1f7d24838a..641ac9fe55e6 100644
--- a/.cirrus.yml
+++ b/.cirrus.yml
@@ -1,11 +1,9 @@
 # $FreeBSD$

-compute_engine_instance:
+freebsd_instance:
   # Image list available via
   # gcloud compute images list --project freebsd-org-cloud-dev
--no-standard-images
-  platform: freebsd
-  image_project: freebsd-org-cloud-dev
-  image: freebsd-13-0-release-amd64
+  image_family: freebsd-14-0-snap
   cpu: 8
   memory: 8G
   disk: 40
--=20
2.35.1

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-264121-227>