Skip to content

PR for llvm/llvm-project#57037#286

Merged
tru merged 1 commit intorelease/16.xfrom
llvm-issue57037
Feb 9, 2023
Merged

PR for llvm/llvm-project#57037#286
tru merged 1 commit intorelease/16.xfrom
llvm-issue57037

Conversation

@llvmbot
Copy link
Copy Markdown
Member

@llvmbot llvmbot commented Feb 8, 2023

If you are missing the iOS SDK on your macOS (for example you don't have
full Xcode but just CommandLineTools) then CMake currently errors
out without a helpful message. This patch disables iOS support in
compiler-rt if the iOS SDK is not found. This can be overriden by
passing -DCOMPILER_RT_ENABLE_IOS=ON.

Reviewed By: delcypher, thetruestblue

Differential Revision: https://reviews.llvm.org/D133273

(cherry picked from commit 78fb021)
@llvmbot
Copy link
Copy Markdown
Member Author

llvmbot commented Feb 8, 2023

@danliew-apple What do you think about merging this PR to the release branch?

@tru
Copy link
Copy Markdown
Contributor

tru commented Feb 8, 2023

@rorth do you have time to give this change a spin - and I can merge it to 16.x

@rorth
Copy link
Copy Markdown
Contributor

rorth commented Feb 9, 2023

@rorth do you have time to give this change a spin - and I can merge it to 16.x

Sure: I've just successfully completed a build on top of LLVM 16.0.0 rc2 on arm64-apple-darwin21.6.0 with Command Line Tools for Xcode 14.2.

Had to disable openmp and flang, though: Issue #54596 also affects native builds.

@tru tru merged commit 21fc8d0 into release/16.x Feb 9, 2023
@tru tru deleted the llvm-issue57037 branch February 9, 2023 12:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

LLVM 15.0.0-rc2: compiler_rt does not build out of the box on older macOS: Failed to determine SDK version for "iphonesimulator" SDK

3 participants