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

Provide statically-linked prebuild binaries #473

Open
matklad opened this issue Jan 16, 2025 · 3 comments
Open

Provide statically-linked prebuild binaries #473

matklad opened this issue Jan 16, 2025 · 3 comments

Comments

@matklad
Copy link

matklad commented Jan 16, 2025

Currently, the binaries published to GitHub releases are dynamically linked. This is helpful, but not as helpful as a statically linked binary would be! For various CI setups, it would be really nice to be able to pull kcov from GitHub releases and just run it, without installing any extra dependencies.

This might become a bit more important now, as, as far as I can tell, Ubuntu 24 stopped packaging kcov, so it can't be just apt-get installed anymore sadly.

Some previous attempts at static builds are here: #289 (comment)

@SimonKagstrom
Copy link
Owner

I don't remember quite what the problem was, but one of the libraries kcov links to unfortunately prevents a completely static build. I'm mostly on Mac these days, so don't regularly try the Linux build.

As for Ubuntu, @williamdes has done some very good work at modernizing the Debian kcov packaging, https://tracker.debian.org/pkg/kcov, so kcov should re-appear in Ubuntu with an up-to-date version for (I guess) the next LTS.

@SimonKagstrom
Copy link
Owner

... sorry, saw in the link you added that the dependency issues were investigated.

@williamdes
Copy link
Contributor

Indeed you still can find it for Ubuntu Focal/Jammy and the current version in development https://launchpad.net/ubuntu/+source/kcov

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

3 participants