#44559: CI: macOS builds failing: unsupported option '-fopenmp' Open Date: 2022-05-12 02:39 Last Update: 2022-05-13 04:10 URL for this Ticket: https://osdn.net//projects/freeciv/ticket/44559 RSS feed for this Ticket: https://osdn.net/ticket/ticket_rss.php?group_id=12505&tid=44559 --------------------------------------------------------------------- Last Changes/Comment on this Ticket: 2022-05-13 04:10 Updated by: cazfi * Component Update from (None) to Bootstrap Comment: Reply To cazfi There's no problem in a build configured with --disable-mapimg Making an CI emergency fix based on that fact. Will push attached patch as soon as I've confirmed that it works. Leaving the ticket open for implementing a proper fix. At the moment it seems that the "-fopenmp" commandline parameter gets injected (by libtool?) after we have no longer control over the commandline (we are not passing that parameter) --------------------------------------------------------------------- Ticket Status: Reporter: cazfi Owner: (None) Type: Bugs Status: Open Priority: 5 - Medium MileStone: 3.1.0 Component: Bootstrap Severity: 5 - Medium Resolution: None --------------------------------------------------------------------- Ticket details: macOS builds are currently failing in CI. E.g. https://github.com/freeciv/freeciv/actions/runs/2308170713 clang: error: unsupported option '-fopenmp' At the moment it seems that any build launched by freeciv organization (freeciv/freeciv repo) fail, the very same code in my own clone, launched by user cazfi, succeeds. -- Ticket information of Freeciv project Freeciv Project is hosted on OSDN Project URL: https://osdn.net/projects/freeciv/ OSDN: https://osdn.net URL for this Ticket: https://osdn.net/projects/freeciv/ticket/44559 RSS feed for this Ticket: https://osdn.net/ticket/ticket_rss.php?group_id=12505&tid=44559