On Tue, 3 Mar 2026 at 00:39, Andrew W. Nosenko <[email protected]>
wrote:

>
> On Mon, 2 Mar 2026 at 22:48, Dima Pasechnik <[email protected]> wrote:
>
>> On Mon, Mar 02, 2026 at 09:45:35PM +0200, Andrew W. Nosenko wrote:
>> >
>> > Does modern Xcode includes libomp “out of the box” or it need to be
>> built
>> > separately from Homebrew/MacPorts/Git? (I have access to Catalina bot
>> not
>> > to more modern version, and on Catalina it doesn’t)
>> No, Xcode has no libomp. But Homebrew has a libomp package:
>> https://formulae.brew.sh/formula/libomp
>>
>> It's also provided by R Project:
>> https://mac.r-project.org/openmp/
>>
>> And, yes, naturally, one can build libomp as a part of the llvm
>> installation.
>>
>
>
> But then I’m confused again: if I need to build libomp separately from
> LLVM sources, then why I would to prefer XCode’s Clang instead of Clang
> from the same LLVM package, from which I’m going to build libomp anyway?
>

OpenMP is about compiler’s #pragmas plus runtime support library.  So I see
risks in de-synchronisation between frontend (compiler) and backend
(library).  But I see no benefits in using de-synchronised toolchain (Xcode
clang + non-Xcode llvm libomp).

>
  • fixing AC_O... Dima Pasechnik
    • Re: fi... Florian Weimer
    • Re: fi... Zack Weinberg
      • Re... Dima Pasechnik
        • ... Florian Weimer
          • ... Dima Pasechnik
            • ... Andrew W. Nosenko
              • ... Dima Pasechnik
                • ... Andrew W. Nosenko
                • ... Andrew W. Nosenko
                • ... Dima Pasechnik
        • ... Andrew W. Nosenko
          • ... Ben Boeckel
            • ... Dima Pasechnik
    • Re: fi... Bruno Haible via Discussion list for the autoconf build system
      • Re... Dima Pasechnik
        • ... Bruno Haible via Discussion list for the autoconf build system
      • Re... Dima Pasechnik
        • ... Bruno Haible via Discussion list for the autoconf build system
          • ... Dima Pasechnik

Reply via email to