{"id":2867,"date":"2016-04-27T09:06:35","date_gmt":"2016-04-27T15:06:35","guid":{"rendered":"http:\/\/dev.iachieved.it\/iachievedit\/?p=2867"},"modified":"2016-09-17T14:10:49","modified_gmt":"2016-09-17T20:10:49","slug":"swift-for-arm-systems","status":"publish","type":"post","link":"https:\/\/dev.iachieved.it\/iachievedit\/swift-for-arm-systems\/","title":{"rendered":"Swift for ARM Systems"},"content":{"rendered":"<p><a href=\"http:\/\/blog.andrewmadsen.com\/post\/136137396480\/swift-on-raspberry-pi\">There<\/a> <a href=\"http:\/\/morimori.tokyo\/2016\/02\/09\/compiling-swift-on-a-raspberry-pi-2-february-2016-update-and-a-script-to-clone-and-build-open-source-swift\/\">has<\/a> <a href=\"http:\/\/www.housedillon.com\/?p=2287\">been<\/a> <a href=\"\">a lot of excitement<\/a> over using Swift on ARM devices such as the Raspberry Pi and BeagleBone.  Earlier this year a number of folks made tremendous progress in getting Swift 2.2 somewhat working on the Raspberry Pi 2.<\/p>\n<p>As the future of Swift looks ever brighter and the language is beginning to attract more fans its clear that a renewed focus on building a functioning Swift 3.0 toolchain for ARMv7 systems would be appreciated by the community.<\/p>\n<p>Now I&#8217;ll be clear:  the guy to lead the technical effort isn&#8217;t me.  What I can do though is help collect together all of the notes from those working on this, organize a <script async defer src=\"http:\/\/dev.iachieved.it:9909\/slackin.js\"><\/script> team for collaboration, and in some small part provide a bit of <a href=\"http:\/\/dev.iachieved.it\/iachievedit\/a-look-at-the-beagleboard-x15\/\">hardware<\/a> to help compile and test things.<\/p>\n<h3>What&#8217;s Being Built?<\/h3>\n<p>Swift 3.0 for armv7.  Note that this excludes the original Raspberry Pi and any other system using an armv6 processor.<\/p>\n<p>All of the repos currently being used to build are Apple&#8217;s, with one exception, and that&#8217;s llvm which uses the <code>hpux735<\/code> repository <code>arm<\/code> branch.  At the beginning of every build there is an information dump of what repositories make up the build, like this:<\/p>\n<pre class=\"crayon:false\">\nRepository,URL,Branch,Revision\nswift,https:\/\/github.com\/apple\/swift.git,master,0c011c328c\nllvm,https:\/\/github.com\/hpux735\/swift-llvm,arm,473f9137a9\nclang,https:\/\/github.com\/apple\/swift-clang.git,stable,1e6cba3ce3\ncompiler-rt,https:\/\/github.com\/apple\/swift-compiler-rt.git,stable,a897309947\nlldb,https:\/\/github.com\/apple\/swift-lldb.git,master,38dbc3b761\ncmark,https:\/\/github.com\/apple\/swift-cmark.git,master,5af77f3c1d\nllbuild,https:\/\/github.com\/apple\/swift-llbuild.git,master,437ce6ce0b\nswiftpm,https:\/\/github.com\/apple\/swift-package-manager.git,master,2d8ded119d\nswift-corelibs-xctest,https:\/\/github.com\/apple\/swift-corelibs-xctest.git,master,244507b687\nswift-corelibs-foundation,https:\/\/github.com\/apple\/swift-corelibs-foundation.git,master,d2dc9f3cf9\nswift-integration-tests,https:\/\/github.com\/apple\/swift-integration-tests.git,master,98f6c6d992\nswift-corelibs-libdispatch,https:\/\/github.com\/apple\/swift-corelibs-libdispatch.git,master,65330e06d9\n<\/pre>\n<h3>Build Status<\/h3>\n<p>I&#8217;ve put up a <a href=\"https:\/\/jenkins.io\">Jenkins CI<\/a> server at <a href=\"http:\/\/swift-arm.ddns.net\">swift-arm.ddns.net<\/a>.  There are two jobs at the moment:<\/p>\n<ul>\n<li><a href=\"http:\/\/swift-arm.ddns.net\/job\/Swift-3.0-ARM-Incremental\/\">Swift 3.0 ARM Incremental<\/a>\n<li><a href=\"http:\/\/swift-arm.ddns.net\/job\/Swift-3.0-ARM-Inc-w-Tests\/\">Swift 3.0 ARM Incremental w\/ Tests<\/a>\n<li><a href=\"http:\/\/swift-arm.ddns.net\/job\/Swift-3.0-ARM\/\">Swift 3.0 ARM<\/a>\n<\/ul>\n<p>The goal of the incremental builds is to not run a <code>make clean<\/code> prior to the build, as even with the X15 the compiles take quite some time (around 4 hours).<\/p>\n<p>For now the build will be issued on demand at the direction of folks doing the development.<\/p>\n<h3>Issues Being Tackled<\/h3>\n<p><b>Editor&#8217;s note:<\/b>  This list is going to be fluid.<\/p>\n<ul>\n<li><a href=\"https:\/\/bugs.swift.org\/issues\/?filter=10311\">Open ARM Issues<\/a>\n<li>Adding Swift Tests\n<li>REPL\n<\/ul>\n<h3>Get Involved<\/h3>\n<p>If you are interested in getting involved in helping the port of Swift to ARM devices, come join our <a href=\"http:\/\/dev.iachieved.it:9909\">Slack team<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>There has been a lot of excitement over using Swift on ARM devices such as the Raspberry Pi and BeagleBone. Earlier this year a number of folks made tremendous progress in getting Swift 2.2 somewhat working on the Raspberry Pi 2. As the future of Swift looks ever brighter and the language is beginning to [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":2877,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5],"tags":[61],"class_list":["post-2867","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-swift","tag-apple-swift-arm"],"_links":{"self":[{"href":"https:\/\/dev.iachieved.it\/iachievedit\/wp-json\/wp\/v2\/posts\/2867"}],"collection":[{"href":"https:\/\/dev.iachieved.it\/iachievedit\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/dev.iachieved.it\/iachievedit\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/dev.iachieved.it\/iachievedit\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/dev.iachieved.it\/iachievedit\/wp-json\/wp\/v2\/comments?post=2867"}],"version-history":[{"count":17,"href":"https:\/\/dev.iachieved.it\/iachievedit\/wp-json\/wp\/v2\/posts\/2867\/revisions"}],"predecessor-version":[{"id":2878,"href":"https:\/\/dev.iachieved.it\/iachievedit\/wp-json\/wp\/v2\/posts\/2867\/revisions\/2878"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/dev.iachieved.it\/iachievedit\/wp-json\/wp\/v2\/media\/2877"}],"wp:attachment":[{"href":"https:\/\/dev.iachieved.it\/iachievedit\/wp-json\/wp\/v2\/media?parent=2867"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/dev.iachieved.it\/iachievedit\/wp-json\/wp\/v2\/categories?post=2867"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/dev.iachieved.it\/iachievedit\/wp-json\/wp\/v2\/tags?post=2867"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}