Re: fixing AC_OPENMP for Apple clang

Ben Boeckel <[email protected]> Mon, 2 Mar 2026 12:55:43 -0500
Newsgroups gmane.comp.sysutils.autoconf.general
Message-ID <[email protected]>
On Mon, Mar 02, 2026 at 19:07:26 +0200, Andrew W. Nosenko wrote:
> On Mon, 2 Mar 2026 at 18:14, Dima Pasechnik <[email protected]> wrote:
> > Homebrew is the de-facto macOS package manager (supported by Apple, in
> > fact, albeit not
> > too publicly), see https://brew.sh/
> 
> Sorry, but I slightly confused now, what OS do you targeting?  Because I
> use Clang (installed from MacPorts) + Autotools on macOS without any extra
> dances, just with regular AC_OPENMP, which results in plain -fopenmp, for
> years (just since Clang obtained OpenMP support)

Xcode's Clang build uses its own versioning scheme. MacPorts' Clang is
upstream Clang and its versioning scheme.

--Ben