Dependency support #16

Merged
merged 3 commits into from Mar 22, 2012

Projects

None yet

3 participants

@lpetre

I'm trying to setup a custom buildpack that can provide libzmq if necessary. The issue I ran into is that libzmq requires uuid-dev, which is in utils-linux. I can use vulcan to build utils-linux, but then was faced with the question: how do I get that version of utils-linux onto the machine that is building libzmq.

Rather than setup a custom buildpack for vulcan that included utils-linux, I added an option to vulcan build that lets me include any number of vulcan built dependencies. These dependencies get pulled down via http and expanded into a deps folder, which is then added to the LDFLAGS/CFLAGS/etc environment variables.

This also includes my other pull request, to fix the cradle errors.

lpetre added some commits Mar 22, 2012
@lpetre lpetre Fixing cradle api fab44be
@lpetre lpetre Fixing dependency versions 24c1a17
@lpetre lpetre adding support for vulcan build -d <dep1>,...,<depN>
 dependencies are other vulcan built libraries which are required for the current build
24bf5ba
@ddollar ddollar merged commit b39363c into heroku:master Mar 22, 2012
@tjwebb

When I try to use this, I simply get this output:

$ vulcan build -v -d "https://s3.amazonaws.com/gisio-geoserver/tools/fuse-2.9.vulcan.tgz"
Packaging local directory... done
Uploading source package... Internal Server Error!! Unknown error, no build output given
@tjwebb

Wow finally figured this out. This works:

vulcan build -v --deps '["https://s3.amazonaws.com/gisio-geoserver/tools/fuse-2.9.vulcan.tgz"]'

This is documented precisely nowhere. But although it downloads my dependency, it doesn't seem to work. That is, I don't think it's being properly extracted and installed. Can someone comment on this?

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