https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=264121
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: [email protected]
Reporter: [email protected]
The Cirrus CI configuration (.cirrus.yml) currently creates a
'freebsd-13-0-release-amd64' compute engine instance, which comes with an older
version of Clang. This causes tasks to fail because the recently merged version
of LLVM makes use of the new '__c11_atomic_fetch_nand' builtin, which was only
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 avoid
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 <[email protected]>
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
--
2.35.1
--
You are receiving this mail because:
You are the assignee for the bug.