Project

General

Profile

ยซ Previous | Next ยป 

Revision a10a0d0c

Added by alanwu (Alan Wu) over 1 year ago

CI: Pass -O2 for annocheck

Because optflags is pasted into the invocation line after CC, we were
building with -O1 unintentionally. You can see this in the configuration
summary: https://github.com/ruby/ruby/actions/runs/3933391169/jobs/6727044423#step:9:753

The check actually fails with -O2. To make it pass, upstream suggest
that we use the annocheck GCC plugin. Since it requires building from
source as the debian package for it isn't ready yet, punt on it for now
and use --skip-gaps.

Co-authored-by: Jun Aruga