Hey all, I got tired of constantly having to rebuild/reinstall LLVM, so I added a facility to scrape the commands from the README and offer to run them if llvm-config isn't found. I've attached the diff if anyone else is interested (don't know that I'd recommend this for general use, though). It's a git diff, but "git apply llvm_build.diff" will work even if you've checked out the repo using svn. Cheers, Josh
Whoops! Small mistake in that last patch. Use this one: - Josh On Aug 2, 2009, at 4:36 PM, Josh Ballanco wrote:
Hey all,
I got tired of constantly having to rebuild/reinstall LLVM, so I added a facility to scrape the commands from the README and offer to run them if llvm-config isn't found. I've attached the diff if anyone else is interested (don't know that I'd recommend this for general use, though). It's a git diff, but "git apply llvm_build.diff" will work even if you've checked out the repo using svn.
Cheers,
Josh
<llvm_build.diff>_______________________________________________ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
Hi Josh, I'm not super confortable with this patch, because it relies too much on README.rdoc, if we change it later it might break your change. Also, I don't like automatic scripts because the user doesn't really have the opportunity to customize what's happening. I think the best solution for this problem is to periodically pre- build LLVM and/or MacRuby. I may look at this next week, since I want to finally set up a continuous integration process for the project. Why do you constantly rebuild/install LLVM? In theory it should only be installed once... unless you do a clean re-install of your OS :-) Laurent On Aug 2, 2009, at 6:12 PM, Josh Ballanco wrote:
Whoops! Small mistake in that last patch. Use this one:
<llvm_build.diff>
- Josh
On Aug 2, 2009, at 4:36 PM, Josh Ballanco wrote:
Hey all,
I got tired of constantly having to rebuild/reinstall LLVM, so I added a facility to scrape the commands from the README and offer to run them if llvm-config isn't found. I've attached the diff if anyone else is interested (don't know that I'd recommend this for general use, though). It's a git diff, but "git apply llvm_build.diff" will work even if you've checked out the repo using svn.
Cheers,
Josh
<llvm_build.diff>_______________________________________________ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
_______________________________________________ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
Hey Laurent,
I'm not super confortable with this patch, because it relies too much on README.rdoc, if we change it later it might break your change. Also, I don't like automatic scripts because the user doesn't really have the opportunity to customize what's happening.
Right. I didn't mean to imply that I wanted this merged into the source tree. I just thought I'd share this in case anyone else was having the same issue I was and might find this useful.
I think the best solution for this problem is to periodically pre- build LLVM and/or MacRuby. I may look at this next week, since I want to finally set up a continuous integration process for the project.
Sounds good.
Why do you constantly rebuild/install LLVM? In theory it should only be installed once... unless you do a clean re-install of your OS :-)
;-) - Josh
participants (3)
-
Josh Ballanco
-
Joshua Ballanco
-
Laurent Sansonetti