-
Notifications
You must be signed in to change notification settings - Fork 12.2k
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
BUG: Build with LLVM_BUILD_LLVM_C_DYLIB=ON fails on osx #64657
Comments
Since the bot didn't tag any subscriber group here, I thought I'd do it by hand, but I actually cannot find a reasonable team for llvm overall, much less one specific to the shared libraries. Based on the person who last touched the code referenced in the OP: @davidbolvansky, are you still working on CC @tstellar @MaskRay @keith @jh7370 (based on people who are in several |
@h-vetinari, have you tried looking at the people who touch the llvm-c include folder? At a guess, those people might be able to help you, though I can't be certain. |
Hello, I am not working in this area so I would not be able to help you :/ |
Not familiar with LLVM_BUILD_LLVM_C_DYLIB on macOS and can't help ... |
Thanks for your responses @jh7370, @davidbolvansky, @MaskRay I don't have a use-case that's directly affected, so this isn't a burning issue (I repackage things, and someone wanted libllvm-c on windows, so it made sense to me to also build it on other platforms where it is ostensibly supported). Still, it's IMO not a great look to have an documented & selectable option that just fails to build. As suggested by @jh7370, some more CCs based on the recent commit history of |
Based on
llvm-project/llvm/tools/llvm-shlib/CMakeLists.txt
Lines 82 to 85 in 1c822e1
it looks like
LLVM_BUILD_LLVM_C_DYLIB=ON
should definitely be supported on osx, however, actually setting it results in a build failure (which might be a build ordering issue, because it cannot findlibLLVM.dylib
, which definitely gets built).The stack trace below is from 17.0.0.rc2, but it has been the same for the 16.x series, and I presume it's the same for
main
. Xref also #43487.CMake invocation
The text was updated successfully, but these errors were encountered: