-
-
Notifications
You must be signed in to change notification settings - Fork 43
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 utilities #234
Comments
Your link (currently) points to
Basically: we don't want consumers of packages compiled with llvmdev to have to pull in the whole shebang. That's why the library has a separate output, that's why Beyond that, there's no fundamental reason why normal usage of llvm shouldn't work in our setup, and if we can do it without breaking our other constraints, we should! In particular, despite the separation into separate outputs, llvmdev should be unifying everything back together as if it had all been installed in one piece. Can you be more specific about which pieces are in the wrong place for you? Also, can you please specify the output of your |
Apologies for the incorrect link line, that should be pointing to line 53 for the utils install directory Looking at the llvm-project I believe if unspecified these tools would end up in CMAKE_INSTALL_BINDIR. To be clear i'm not saying that this is wrong, but there might be assumptions in some of the LLVM internal cmake macros/functions about where these tools are placed as uncovered with the add_lit_testsuite function
|
OK, looking at There not much information to go by in that PR, perhaps Isuru can explain? Context here is that some utilities are broken with our setup here. |
That directory is chosen so that they don't interfere with the system binaries like |
Thanks for the quick response! I'm not proposing to change the current setup, just trying to understand if it's possible to fix stuff like It seems that LLVM itself is not ready to have LLVM_UTILS_INSTALL_DIR != LLVM_INSTALL_BINDIR? Guess there might be some inaccuracies in the upstream CMake files... |
I agree, upstream in LLVM where the fixes need to go. Thanks for discussing - I don't think there are any changes required on this project for this. |
BTW, it's possible to formulate a test here (some call to |
Hi, putting this on the top of the stack, I have the same issue being not able to run Running the tests ends with Why not packaging them either in a bundle of |
They are already in |
@isuruf, given that this seems to come up with some regularity, what do you think about an output That way the default remains safe (and people can point to libexec if they choose), and there'd be an opt-in for "give me those entry points on the default path". |
@isuruf thanks for the quick reply! Sorry for that I was searching for those utils in Thanks! |
We should make upstream export a |
Comment:
Hi I'm in the process of swapping out a from-source LLVM build with the llvmdev packages.
utilities (count, not, FileCheck etc) end up in a non default location here and that's caused some problems for us particularly with the cmake function
add_lit_testsuite
where FileCheck for example is a dependency that cannot otherwise be found. What's the rational with the current design?The text was updated successfully, but these errors were encountered: