{"id":136,"date":"2006-11-08T16:50:15","date_gmt":"2006-11-08T20:50:15","guid":{"rendered":"http:\/\/benjamin.smedbergs.us\/blog\/2006-11-08\/tamarin-build-system\/"},"modified":"2006-11-08T16:50:15","modified_gmt":"2006-11-08T20:50:15","slug":"tamarin-build-system","status":"publish","type":"post","link":"http:\/\/benjamin.smedbergs.us\/blog\/2006-11-08\/tamarin-build-system\/","title":{"rendered":"The Mozilla build system and Tamarin"},"content":{"rendered":"<p>As the owner of the Mozilla build system, I get to hear endless moaning about how byzantine the build system is and how it would be nice to use something more modern. I sympathize with the problem: our build system is difficult to set up, has a very steep learning curve, and uses lots of unusual languages. On the other hand, our build system works amazingly well: we have grown a set of rules that build an amazing variety of file types, and works on a wide variety of platforms. Out build system is complex for the very good reason that our needs are complex.<\/p>\n<p>A few of the more aware complainers have suggested alternatives such as <a href=\"http:\/\/www.scons.org\/\">SCons<\/a>. I have avoided making huge changes to our build system because it is overwhelming to contemplate migrating our existing build logic to a new build system. Any new build system would have to compare favorably to our existing system, which has years of bugfixes and features to its credit.<\/p>\n<p>I was excited when I was asked to help implement a cross-platform build system for the <a href=\"http:\/\/www.mozilla.org\/projects\/tamarin\/\">Tamarin<\/a> project. Tamarin was released with platform-specific Visual Studio and XCode project files. I thought that perhaps this was a perfect opportunity to try one of the newer build systems, without paying the cost of porting our entire existing build system over.<\/p>\n<p>I created a <a href=\"http:\/\/wiki.mozilla.org\/Build_System_Requirements\">requirements list<\/a>. Unfortunately, I don&#8217;t think that any of the existing tools are going to meet our needs without extensive customization. I&#8217;m going to continue to examine SCons and WAF more over the next few days, but it looks like the path of easiest success is still going to be an old-school autoconf + make build system. Hopefully at least I&#8217;ll be able to fix some issues with <a href=\"\/blog\/2006-09-29\/recursive-make-isnt-all-that-bad\/\">recursive make<\/a> while implementing the new system.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>As the owner of the Mozilla build system, I get to hear endless moaning about how byzantine the build system is and how it would be nice to use something more modern. I sympathize with the problem: our build system is difficult to set up, has a very steep learning curve, and uses lots of [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[30],"class_list":["post-136","post","type-post","status-publish","format-standard","hentry","category-mozilla","tag-build-system"],"_links":{"self":[{"href":"http:\/\/benjamin.smedbergs.us\/blog\/wp-json\/wp\/v2\/posts\/136","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/benjamin.smedbergs.us\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/benjamin.smedbergs.us\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/benjamin.smedbergs.us\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/benjamin.smedbergs.us\/blog\/wp-json\/wp\/v2\/comments?post=136"}],"version-history":[{"count":0,"href":"http:\/\/benjamin.smedbergs.us\/blog\/wp-json\/wp\/v2\/posts\/136\/revisions"}],"wp:attachment":[{"href":"http:\/\/benjamin.smedbergs.us\/blog\/wp-json\/wp\/v2\/media?parent=136"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/benjamin.smedbergs.us\/blog\/wp-json\/wp\/v2\/categories?post=136"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/benjamin.smedbergs.us\/blog\/wp-json\/wp\/v2\/tags?post=136"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}