[PATCH] libgfortran: Set `enable_caf_shmem` to true for Cygwin and MinGW hosts
Jonathan Yong
10walls@gmail.com
Fri Oct 2 13:38:23 GMT 2026
On 10/2/26 05:56, LIU Hao wrote:
> 在 2026-9-25 17:13, LIU Hao 写道:
>> In libgfortran/caf/shmem/thread_support.{h,c}, pthread.h is included only
>> when `!defined(WIN32) && !defined(__CYGWIN__)`. For Cygwin and MinGW
>> hosts,
>> native named mutexes and semaphores are used and a pthread library is not
>> needed.
>>
>> This commit overrides the result of the previous check for pthread, so
>> libcaf_shmem is always built for these hosts even when a pthread library
>> isn't available.
>>
>> libgfortran/ChangeLog:
>>
>> * configure.ac: Set `enable_caf_shmem` to true for Cygwin and
>> MinGW hosts.
>> * configure: Regenerate.
>>
>> Signed-off-by: LIU Hao <lh_mouse@126.com>
>> ---
>> libgfortran/configure | 3 +++
>> libgfortran/configure.ac | 3 +++
>> 2 files changed, 6 insertions(+)
>>
>
> Ping.
>
>
Thanks, applied to master branch.
More information about the Gcc-patches
mailing list