OpenCilk / opencilk-project

Monorepo for the OpenCilk compiler. Forked from llvm/llvm-project and based on Tapir/LLVM.
Other
93 stars 29 forks source link

Fix multitarget builds on Darwin #245

Closed neboat closed 4 months ago

neboat commented 4 months ago

This PR fixes multitarget OpenCilk builds on macOS, as well as several miscellaneous issues.

In particular, this PR changes the OpenCilk compiler's behavior on macOS to include an architecture-specific bitcode file for the OpenCilk runtime system. This fix ensures that OpenCilk programs will compile and link properly when built for either x86-64 or aarch64 on macOS.

This change to OpenCilk on macOS requires the change to the runtime system in OpenCilk/cheetah#27.