-
Notifications
You must be signed in to change notification settings - Fork 581
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
[LLVM_full] Add LLVM_full, LLVM_full_assert 20 recipes #10747
base: master
Are you sure you want to change the base?
Conversation
Not related to the upgrade but might as well save on rebuilding
I'll wait for pkgeval on the new llvm commit before pushing. |
Ok, I guess |
#define GET_FUNCTION_ADDRESS(fn) &fn | ||
#else | ||
-#define GET_FUNCTION_ADDRESS(fn) __builtin_function_start(fn) | ||
+#define GET_FUNCTION_ADDRESS(fn) (void *)(&fn) |
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.
This is a new patch, without it the compilation fails without any message. Maybe a compiler bug, I'm not sure.
@@ -122,6 +123,7 @@ else | |||
fi | |||
if [[ "${LLVM_MAJ_VER}" -gt "13" ]]; then | |||
CMAKE_FLAGS+=(-DMLIR_BUILD_MLIR_C_DYLIB:BOOL=ON) | |||
CMAKE_FLAGS+=(-DMLIR_LINK_MLIR_DYLIB:BOOL=OFF) |
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.
We used to not set this nor did LLVM, now LLVM sets this to LLVM_LINK_LLVM_DYLIB
. We set that to true so disable this explicitly to prevent some issues on windows, llvm/llvm-project#119408 (comment). Maybe we want to only disable this on windows/ try and fix the windows issue?
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 don't have a strong opinion honestly.
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 don't think this should affect functionality for users of mlir, so not worried
Feel free to merge this when you're ready, this looks good for me. |
I'll try and see if I can figure out the Darwin issue before merging, JuliaLang/julia#57658 (comment). |
No description provided.