[PATCH] ci: Disable optimization on macos-12

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This enables our CI to run tests on on macos-12 after commit
7944700b4037.

Signed-off-by: Martin Kletzander <mkletzan@xxxxxxxxxx>
---
The pipeline can be seen here:

https://gitlab.com/nertpinx/libvirt/-/pipelines/816876889

 ci/gitlab/builds.yml | 1 +
 ci/manifest.yml      | 2 ++
 2 files changed, 3 insertions(+)

diff --git a/ci/gitlab/builds.yml b/ci/gitlab/builds.yml
index 545478d3516d..f070db637c80 100644
--- a/ci/gitlab/builds.yml
+++ b/ci/gitlab/builds.yml
@@ -865,6 +865,7 @@ aarch64-macos-12:
   needs: []
   allow_failure: false
   variables:
+    CFLAGS: -O0
     CIRRUS_VM_IMAGE_NAME: ghcr.io/cirruslabs/macos-monterey-base:latest
     CIRRUS_VM_IMAGE_SELECTOR: image
     CIRRUS_VM_INSTANCE_TYPE: macos_instance
diff --git a/ci/manifest.yml b/ci/manifest.yml
index b68c7361abb4..2f631376b24b 100644
--- a/ci/manifest.yml
+++ b/ci/manifest.yml
@@ -179,6 +179,8 @@ targets:
         variables:
           PATH_EXTRA: /usr/local/opt/ccache/libexec:/usr/local/opt/gettext/bin:/usr/local/opt/libpcap/bin:/usr/local/opt/libxslt/bin:/usr/local/opt/rpcgen/bin
           PKG_CONFIG_PATH: /usr/local/opt/curl/lib/pkgconfig:/usr/local/opt/libpcap/lib/pkgconfig:/usr/local/opt/libxml2/lib/pkgconfig:/usr/local/opt/ncurses/lib/pkgconfig:/usr/local/opt/readline/lib/pkgconfig
+          # Remove once macos has clang with -fsemantic-interposition
+          CFLAGS: -O0
 
   ubuntu-2004:
     jobs:
-- 
2.40.0




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux