Opened 15 years ago
Closed 3 years ago
#5360 closed enhancement (fixed)
Ryan's awesome Jamfile-engine should be included in the Haiku nightlies / releases
Reported by: | kallisti5 | Owned by: | leavengood |
---|---|---|---|
Priority: | normal | Milestone: | R1/beta4 |
Component: | Build System | Version: | R1/Development |
Keywords: | Cc: | ||
Blocked By: | Blocking: | ||
Platform: | All |
Description
Makefile-engine is included, it only makes sense that Jamfile-engine also be included in the Haiku source tree. /boot/develop/etc/
http://www.haiku-os.org/documents/dev/the_art_of_jamming_all_parts
http://open-beos.sourceforge.net/samples/Jamfile-engine.zip
Change History (12)
comment:1 by , 15 years ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
comment:2 by , 15 years ago
Updating the Jamfile-engine is one of those long term but apparently low priority tasks of mine that I've been meaning to do, but haven't made the time for yet. I think the current version works to some extent, but I know it has bugs, and I want to rewrite parts of it based on all we have learned in the Haiku Jam build system. Maybe I can knock this out this weekend, since I want to do some Haiku work anyhow.
comment:3 by , 15 years ago
even if it is only partially complete it would be nice to have in the source tree so changes could be tracked. :)
follow-up: 6 comment:4 by , 15 years ago
OK that is a good point. I'll see about adding the existing version to our repo then when I get time I can try to refactor it.
follow-up: 7 comment:6 by , 15 years ago
Replying to leavengood:
OK that is a good point. I'll see about adding the existing version to our repo then when I get time I can try to refactor it.
Any thoughts on including this in r1a2, to get some additional exposure?
comment:8 by , 15 years ago
Status: | assigned → in-progress |
---|
I'm sorry for dropping the ball on this guys. Obviously I haven't had the motivation to work on Haiku stuff lately (other things have been higher on my list.) But I've finally put the above Jamfile-engine in the Haiku repo, where the makefile-engine is (trunk/data/develop) in hrev36796. I'll leave this ticket open until I've at least done some testing and have added it to the image as well.
Regarding bugs, one I remember off-hand is that the OBJ directory cannot be created properly before building by the Jamfile-engine. In other words you have to run jam once to create it (for the first run when it doesn't exist) and then run jam again to actually build the project. Annoying, but not critical. For any other bugs I would need to test more.
comment:10 by , 14 years ago
Not really. I have used the Jamfile-engine on a few small projects and it still has at least the bug about failing to build the first time if there is no build directory. It isn't yet included in the Haiku image either.
I'm spending most of my Haiku time these days on WebPositive, and even on that I haven't had much time lately.
Honestly the priority of this probably won't increase until closer to the R1 release, when having this as a developer tool would be more useful for third party developers. There just aren't all that many third party Haiku developers yet.
comment:12 by , 3 years ago
Milestone: | Unscheduled → R1/beta4 |
---|---|
Resolution: | → fixed |
Status: | in-progress → closed |
I moved it to a separate repository and added an haikuports recipe.
Change to remove it again from Haiku sources since that's not needed anymore: https://review.haiku-os.org/c/haiku/+/4720
IIRC Ryan mentioned that it still has some problems, which is AFAIK the reason it isn't included yet.