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

Instructions on building compdb2line #76

Closed
mattgodbolt opened this issue May 13, 2022 · 4 comments
Closed

Instructions on building compdb2line #76

mattgodbolt opened this issue May 13, 2022 · 4 comments

Comments

@mattgodbolt
Copy link

When running manyclangs-build-month it says "Note that compdb2line is part of this project and needs installing." - I can't find any reference on how to do this.

There's some .go files in contrib/compdb2line. I install eflshaker from source with cargo install --path . There's no other reference to compdb2line in the repo I can find - how might I build and install this tool?

@veselink1
Copy link
Member

Hey Matt, so glad to see you're giving elfshaker a test run. Sorry about the missing instructions. You will need a go toolchain (the Ubuntu package is golang-go) and just run go build in contrib/compdb2line and you should get a statically-linked executable.

@mattgodbolt
Copy link
Author

Perfect; thanks!

@mattgodbolt
Copy link
Author

And then presumably to "install" I need to copy it into my path?

@mattgodbolt
Copy link
Author

NM that's it :)

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