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 a better way to define build dependencies between packages #22

Open
pzakha opened this issue Mar 7, 2019 · 0 comments
Open

Find a better way to define build dependencies between packages #22

pzakha opened this issue Mar 7, 2019 · 0 comments

Comments

@pzakha
Copy link
Contributor

pzakha commented Mar 7, 2019

Right now we have some build dependencies between a few packages: bcc & bpftrace, and java8 and the SSO app (to be coming soon).

The way we currently handle this is by installing the package that we have dependencies on after building it, or triggering a build for that package if we haven't built it yet. The code construct is a bit awkward, for instance for bpftrace we have:

	if ! dpkg-query --show libbcc >/dev/null 2>&1; then
		echo_bold "libbcc not installed. Building package 'bcc' first."
		logmust "$TOP/buildpkg.sh" bcc
	fi

We should be able to codify those dependencies in better ways.

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

No branches or pull requests

1 participant