swiftlang / swift-corelibs-libdispatch

The libdispatch Project, (a.k.a. Grand Central Dispatch), for concurrency on multicore hardware
swift.org
Apache License 2.0
2.47k stars 460 forks source link

Support compiling on MSYS2 #814

Closed qmfrederik closed 9 months ago

qmfrederik commented 9 months ago

This patch consists of two commits:

If this project doesn't want to use GitHub actions, I can remove the second commit.

qmfrederik commented 9 months ago

@MaxDesiatov Roger that, removed the GitHub actions.

qmfrederik commented 9 months ago

@compnerd I've used CMake checks for pid_t and mode_t, and refined the usage of -fms-extensions. Let me know if this helps.

compnerd commented 9 months ago

@swift-ci please test

qmfrederik commented 9 months ago

OK - looks like CI for Windows passed: https://ci-external.swift.org/job/swift-corelibs-libdispatch-PR-windows/55/consoleFull

MaxDesiatov commented 9 months ago

@swift-ci test windows