-
Notifications
You must be signed in to change notification settings - Fork 13.3k
build llvm with systemz backend enabled, and link to related libraries #36080
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -131,12 +131,19 @@ LLVMRustAddPass(LLVMPassManagerRef PM, LLVMPassRef rust_pass) { | |
#define SUBTARGET_PPC | ||
#endif | ||
|
||
#ifdef LLVM_COMPONENT_SYSTEMZ | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
this fixes the travis builds. We could add a build slave that tests building rust against system llvm to avoid these in the future There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
I meant bors. Travis doesn't block PRs. |
||
#define SUBTARGET_SYSTEMZ SUBTARGET(SystemZ) | ||
#else | ||
#define SUBTARGET_SYSTEMZ | ||
#endif | ||
|
||
#define GEN_SUBTARGETS \ | ||
SUBTARGET_X86 \ | ||
SUBTARGET_ARM \ | ||
SUBTARGET_AARCH64 \ | ||
SUBTARGET_MIPS \ | ||
SUBTARGET_PPC | ||
SUBTARGET_PPC \ | ||
SUBTARGET_SYSTEMZ | ||
|
||
#define SUBTARGET(x) namespace llvm { \ | ||
extern const SubtargetFeatureKV x##FeatureKV[]; \ | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not sure why bors didn't catch this... Are all the build slaves using rustbuild now?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hm no there's still many slaves using the makefiles. I thought we had enough support though to work with an LLVM that was missing some targets...