Cloudy & Associates

Skip to content

Update Makefile for LLVM on Apple M1 chip

Chatzikos, Marios requested to merge apple_m1 into master

Cloudy did not work out-of-the-box when compiling on an Apple M1 chip with Clang++.

This branch fixes that, for the most part. It modifies the Makefile in sys_llvm to the correct compiler options, and the capabilities.pl script to skip checking for PIE-related options for this chip / compiler.

There is one outstanding issue relating to 'unsupported use of floating exceptions' that occurs when compiling in source/. See posts on the cloudy-dev channel on mattermost.

Clang++ version is:

$ clang++ --version Apple clang version 13.0.0 (clang-1300.0.27.3) Target: arm64-apple-darwin21.5.0

Merge request reports