Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Support Clang variants (including AppleClang) for cmake builds#586

Open
toptobes wants to merge 1 commit into
apache:trunk from
toptobes:clang-variants-support
Open

Support Clang variants (including AppleClang) for cmake builds #586
toptobes wants to merge 1 commit into
apache:trunk from
toptobes:clang-variants-support

Conversation

@toptobes

@toptobes toptobes commented Jun 18, 2026
edited
Loading

Copy link
Copy Markdown

With CMake 3.0, AppleClang is now a separate compiler target which needs to be explicitly accounted for to allow the driver to easily be built on Mac, and as per further discussion with Brett, we've decided to allow all clang variants here using "${CMAKE_CXX_COMPILER_ID}" MATCHES "Clang$", and if any of them end up having any unfortunate issues with flag compatibility, we can deal with them on a case-by-case basis

Build succeeds on

Apple clang version 17.0.0 (clang-1700013.5)
Target: arm64-apple-darwin24.6.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

1 participant

AltStyle によって変換されたページ (->オリジナル) /