Skip to content
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

Find the build directory from kbuild.toml #51

Open
radumereuta opened this issue Jun 22, 2023 · 2 comments
Open

Find the build directory from kbuild.toml #51

radumereuta opened this issue Jun 22, 2023 · 2 comments

Comments

@radumereuta
Copy link
Contributor

Projects using the kbuild system store the kompiled directory in something like this:
/Users/user/.kbuild/mir-semantics/49061f8/target/v5.6.88-0-g4c09d86ed2/llvm
klsp should query kbuild and find that location.

@tothtamas28 can you explain how to do that?

@tothtamas28
Copy link

Command kbuild which <target> should give that output.

@radumereuta
Copy link
Contributor Author

If the definition hasn't been built yet, kbuild still returns the path, but it's going to be empty.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants