Skip to content
This repository has been archived by the owner on Jul 3, 2024. It is now read-only.

Add a proper README to show how to build & run the lifetime checks #67

Open
WallStProg opened this issue Oct 9, 2019 · 3 comments
Open

Comments

@WallStProg
Copy link

I've been building clang succesfully for a while from svn, but when I build this project I don't get e.g., clang in bin.

I see that the clang project redirects here, so I'm assuming that it is not needed.

TIA for any hints!

build.txt

@mgehre mgehre changed the title how to build? Add a proper README to show how to build & run the lifetime checks Oct 9, 2019
@mgehre
Copy link
Owner

mgehre commented Oct 9, 2019

I think you are missing -DLLVM_ENABLE_PROJECTS=clang on cmake commandline. See
https://github.com/mgehre/llvm-project/blob/lifetime/.github/workflows/ccpp.yml for how we built in the CI.

@WallStProg
Copy link
Author

Thanks! That did the trick, and I can see "-Wdangling-gsl" warnings in the output (thankfully just a few ;-)

Are there any specific compiler flags that should be used to generate addl. warnings, or is the default set also the most stringent?

Thanks again for the help -- really cool stuff!

@mgehre
Copy link
Owner

mgehre commented Oct 10, 2019

I appreciate it! I added more information to README.md. Let me know if you have more questions!

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

No branches or pull requests

2 participants