Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Modify the compilation process to allow usage directly from the git repo #89

Closed
ignisf opened this Issue Mar 28, 2013 · 3 comments

Comments

Projects
None yet
2 participants
Collaborator

ignisf commented Mar 28, 2013

There two things I can think of that prevent this. First -- make dependencies is only called by the checkout rake task and it needs to be called when invoking extconf.rb. Second -- the patch application also needs to be carried out by extconf.rb.

Pros:

  • Users will be able to use the latest git version with gem "libv8", git: "git://github.com/cowboyd/libv8.git", submodules: true

Cons:

  • Will add a dependency on subversion (unless we can find a git mirror of gyp - then there will be no need to invoke make dependencies at all).

rikai commented May 7, 2013

Not quite sure if this is what you're looking for, but according to the gyp developers mailing list, the chromium project maintains a git mirror of gyp.

Collaborator

ignisf commented May 8, 2013

Thanks @rikai, you are awesome!

rikai commented May 8, 2013

No problem, @ignisf. Was poking around seeing about compiling on gcc 4.8 and ran across this, figured i'd help out by digging around a bit, since being able to build direct from git will be quite handy.

Hopefully it works, less dependencies are always better if it can be helped... :)

@ignisf ignisf closed this in ac29e71 Aug 5, 2013

ignisf added a commit that referenced this issue Aug 5, 2013

Allow compilation directly from git.
Fixes #89. Make sure to add submodules: true to your Gemfile.

ignisf added a commit that referenced this issue Dec 10, 2013

Allow compilation directly from git.
Fixes #89. Make sure to add submodules: true to your Gemfile.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment