Thanks,

I upgraded cmake to the latest version thinking that perhaps the find
script was bad, but that made no difference, so I disabled OpenMP as
suggested.

On Mon, Jan 5, 2026 at 12:51 PM Even Rouault <[email protected]>
wrote:

> Our Mac instances must use the Apple-provided compiler I suppose. We also
> have a Linux CI config using a recent clang (from Fedora:rawhide, so
> cutting edge)
>
> OpenMP detection is done through the CMake provided FindOpenMP module:
> https://cmake.org/cmake/help/latest/module/FindOpenMP.html
>
> But I would expect your compiler to support it although it is not cutting
> edge.
>
> You can explicitly disable it by setting -DGDAL_USE_OPENMP=OFF
> Le 05/01/2026 à 18:41, Andrew Bell a écrit :
>
> Hi,
>
> It looks like CI is way ahead of my config. Are you using an
> Apple-provided compiler or one from clang or elsewhere?
>
> [sd-integration] (gdal) $ clang++ --version
> Apple clang version 14.0.3 (clang-1403.0.22.14.1)
> Target: x86_64-apple-darwin22.5.0
> Thread model: posix
> InstalledDir:
> /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
> On Mon, Jan 5, 2026 at 12:32 PM Even Rouault <[email protected]>
> wrote:
>
>> Hi Andrew,
>>
>> openmp is enabled when available since
>> https://github.com/OSGeo/gdal/commit/2a3f06b90f2d68da446451a44090aa38fd6f4b5a#diff-c6d7b93ff4bf010c2c6218c9329af9afb9a00aab7871175046a9b50f26826452R435
>> .  What is your clang version ?  That warning are not shown on our clang
>> based CI configurations up to now.
>>
> Even
>> Le 05/01/2026 à 18:25, Andrew Bell via gdal-dev a écrit :
>>
>> Hi,
>>
>> I updated to the latest master and am now seeing the following warning
>> during compilation:
>>
>> [156/1486] Building CXX object
>> alg/CMakeFiles/alg.dir/thinplatespline.cpp.o
>> clang: warning: argument unused during compilation: '-Xclang -fopenmp'
>> [-Wunused-command-line-argument]
>>
>> If anyone has some info on this, please let me know.
>>
>> --
>> Andrew Bell
>> [email protected]
>>
>> _______________________________________________
>> gdal-dev mailing 
>> [email protected]https://lists.osgeo.org/mailman/listinfo/gdal-dev
>>
>> -- http://www.spatialys.com
>> My software is free, but my time generally not.
>>
>>
>
> --
> Andrew Bell
> [email protected]
>
> -- http://www.spatialys.com
> My software is free, but my time generally not.
>
>

-- 
Andrew Bell
[email protected]
_______________________________________________
gdal-dev mailing list
[email protected]
https://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to