-
Notifications
You must be signed in to change notification settings - Fork 221
build: define LLVM_ON_WIN32 when building LLVM on Windows
#678
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
@swift-ci please test |
|
seems reasonable to me, do we need to do the same for |
|
Yeah, I think that explicitly defining |
llbuild depends on LLVMSupport and LLVMDemangle. These libraries require that `LLVM_ON_WIN32` is defined when building them on Windows (and technically `LLVM_ON_UNIX` on Unicies). This is required when building llbuild with swift-package-manager on Windows.
9e9a8a2 to
1f45b11
Compare
|
@swift-ci please test |
1 similar comment
|
@swift-ci please test |
|
@swift-ci please smoke test |
|
@swift-ci please test |
|
@swift-ci please smoke test Linux platform |
|
@swift-ci please test |
|
@swift-ci please smoke test |
|
Please test with following PRs: @swift-ci please smoke test |
|
Please test with following PRs: @swift-ci please test |
|
lgtm, @ddunbar do you normally merge PRs here or someone else on your team? |
|
@dmbryson usually watches stuff these days |
|
Unfortunately, this breaks compiling llbuild as a package with SwiftPM 5.2 because of some bug with conditionals: Perhaps we can add these conditionally using |
|
I agree with Ankit here, we have a fix in master, but it's too late for 5.3 at this point and this would break contributors for a while, especially in Xcode where they don't have the remedy of building their own copy of SwiftPM or downloading a toolchain. |
llbuild depends on LLVMSupport and LLVMDemangle. These libraries
require that
LLVM_ON_WIN32is defined when building them on Windows(and technically
LLVM_ON_UNIXon Unicies). This is required whenbuilding llbuild with swift-package-manager on Windows.