<div dir="ltr"><div class="gmail_default" style="font-family:verdana,sans-serif">Wait... are you sure that&#39;s the appropriate configuration? Shouldn&#39;t the xctoolchain destination be in /Library/Developer/Toolchains/ rather than the xcode directory proper? Or is the actual end destination handled entirely by `toolchain-installer&#39;?</div><div class="gmail_default" style="font-family:verdana,sans-serif"><br></div><div class="gmail_default" style="font-family:verdana,sans-serif"><br></div><div class="gmail_default"><font face="verdana, sans-serif">Only somewhat related: SRC_DIR isn&#39;t defined, so I have my version looking like this so far (and will add toolchain-installer afterwards after verifying the install and figuring out how things work there).</font></div><div class="gmail_default"><font face="verdana, sans-serif"><br></font></div><div class="gmail_default"><span class="" style="color:rgb(51,51,51);font-weight:bold;font-family:Hack;font-size:12px;white-space:pre"><br class="">function</span><span style="color:rgb(51,51,51);font-family:Hack;font-size:12px;white-space:pre;background-color:rgb(248,248,248)"> </span><span class="" style="color:rgb(51,51,51);font-family:Hack;font-size:12px;white-space:pre"><span class="" style="color:rgb(153,0,0);font-weight:bold">build_osx_package</span></span><span style="color:rgb(51,51,51);font-family:Hack;font-size:12px;white-space:pre;background-color:rgb(248,248,248)">() {
    YEAR=$(date +</span><span class="" style="color:rgb(221,17,68);font-family:Hack;font-size:12px;white-space:pre">&quot;%Y&quot;</span><span style="color:rgb(51,51,51);font-family:Hack;font-size:12px;white-space:pre;background-color:rgb(248,248,248)">)
    MONTH=$(date +</span><span class="" style="color:rgb(221,17,68);font-family:Hack;font-size:12px;white-space:pre">&quot;%m&quot;</span><span style="color:rgb(51,51,51);font-family:Hack;font-size:12px;white-space:pre;background-color:rgb(248,248,248)">)
    DAY=$(date +</span><span class="" style="color:rgb(221,17,68);font-family:Hack;font-size:12px;white-space:pre">&quot;%d&quot;</span><span style="color:rgb(51,51,51);font-family:Hack;font-size:12px;white-space:pre;background-color:rgb(248,248,248)">)
    TOOLCHAIN_VERSION=</span><span class="" style="color:rgb(221,17,68);font-family:Hack;font-size:12px;white-space:pre">&quot;swift-2.2-SNAPSHOT-<span class="" style="color:rgb(0,128,128)">${YEAR}</span>-<span class="" style="color:rgb(0,128,128)">${MONTH}</span>-<span class="" style="color:rgb(0,128,128)">${DAY}</span>-a&quot;</span><span style="color:rgb(51,51,51);font-family:Hack;font-size:12px;white-space:pre;background-color:rgb(248,248,248)">
    ARCHIVE_DIR=</span><span class="" style="color:rgb(221,17,68);font-family:Hack;font-size:12px;white-space:pre">&quot;<span class="" style="color:rgb(0,128,128)">${TOOLCHAIN_VERSION}</span>-<span class="" style="color:rgb(0,128,128)">${BUILD_NUMBER}</span>&quot;</span><span style="color:rgb(51,51,51);font-family:Hack;font-size:12px;white-space:pre;background-color:rgb(248,248,248)">
    ARCHIVE=</span><span class="" style="color:rgb(221,17,68);font-family:Hack;font-size:12px;white-space:pre">&quot;<span class="" style="color:rgb(0,128,128)">${TOOLCHAIN_VERSION}</span>-osx.tar.gz&quot;</span><span style="color:rgb(51,51,51);font-family:Hack;font-size:12px;white-space:pre;background-color:rgb(248,248,248)">
    SYM_ARCHIVE=</span><span class="" style="color:rgb(221,17,68);font-family:Hack;font-size:12px;white-space:pre">&quot;<span class="" style="color:rgb(0,128,128)">${TOOLCHAIN_VERSION}</span>-osx-symbols.tar.gz&quot;</span><span style="color:rgb(51,51,51);font-family:Hack;font-size:12px;white-space:pre;background-color:rgb(248,248,248)">
    BUNDLE_IDENTIFIER=</span><span class="" style="color:rgb(221,17,68);font-family:Hack;font-size:12px;white-space:pre">&quot;org.swift.<span class="" style="color:rgb(0,128,128)">${YEAR}</span><span class="" style="color:rgb(0,128,128)">${MONTH}</span><span class="" style="color:rgb(0,128,128)">${DAY}</span>&quot;</span><span style="color:rgb(51,51,51);font-family:Hack;font-size:12px;white-space:pre;background-color:rgb(248,248,248)">
    DISPLAY_NAME=</span><span class="" style="color:rgb(221,17,68);font-family:Hack;font-size:12px;white-space:pre">&quot;Swift 2.2 Development Snapshot&quot;</span><span style="color:rgb(51,51,51);font-family:Hack;font-size:12px;white-space:pre;background-color:rgb(248,248,248)">
    TOOLCHAIN_NAME=</span><span class="" style="color:rgb(221,17,68);font-family:Hack;font-size:12px;white-space:pre">&quot;<span class="" style="color:rgb(0,128,128)">${TOOLCHAIN_VERSION}</span>&quot;</span><span style="color:rgb(51,51,51);font-family:Hack;font-size:12px;white-space:pre;background-color:rgb(248,248,248)">

    SRC_DIR=</span><span class="" style="color:rgb(221,17,68);font-family:Hack;font-size:12px;white-space:pre">&quot;<span class="" style="color:rgb(0,128,128)">$(pwd)</span>&quot;</span><span style="color:rgb(51,51,51);font-family:Hack;font-size:12px;white-space:pre;background-color:rgb(248,248,248)">

    SWIFT_SOURCE_ROOT=</span><span class="" style="color:rgb(221,17,68);font-family:Hack;font-size:12px;white-space:pre">&quot;<span class="" style="color:rgb(0,128,128)">${SRC_DIR}</span>&quot;</span><span style="color:rgb(51,51,51);font-family:Hack;font-size:12px;white-space:pre;background-color:rgb(248,248,248)">
    SWIFT_BUILD_ROOT=</span><span class="" style="color:rgb(221,17,68);font-family:Hack;font-size:12px;white-space:pre">&quot;<span class="" style="color:rgb(0,128,128)">${SRC_DIR}</span>/build&quot;</span><span style="color:rgb(51,51,51);font-family:Hack;font-size:12px;white-space:pre;background-color:rgb(248,248,248)">
    SWIFT_INSTALLABLE_PACKAGE=</span><span class="" style="color:rgb(221,17,68);font-family:Hack;font-size:12px;white-space:pre">&quot;<span class="" style="color:rgb(0,128,128)">${SRC_DIR}</span>/<span class="" style="color:rgb(0,128,128)">${ARCHIVE}</span>&quot;</span><span style="color:rgb(51,51,51);font-family:Hack;font-size:12px;white-space:pre;background-color:rgb(248,248,248)">
    SWIFT_INSTALL_DIR=</span><span class="" style="color:rgb(221,17,68);font-family:Hack;font-size:12px;white-space:pre">&quot;<span class="" style="color:rgb(0,128,128)">${SRC_DIR}</span>/swift-nightly-install&quot;</span><span style="color:rgb(51,51,51);font-family:Hack;font-size:12px;white-space:pre;background-color:rgb(248,248,248)">
    SWIFT_INSTALL_SYMROOT=</span><span class="" style="color:rgb(221,17,68);font-family:Hack;font-size:12px;white-space:pre">&quot;<span class="" style="color:rgb(0,128,128)">${SRC_DIR}</span>/swift-nightly-symroot&quot;</span><span style="color:rgb(51,51,51);font-family:Hack;font-size:12px;white-space:pre;background-color:rgb(248,248,248)">
    SWIFT_TOOLCHAIN_DIR=</span><span class="" style="color:rgb(221,17,68);font-family:Hack;font-size:12px;white-space:pre">&quot;/Applications/Xcode.app/Contents/Developer/Toolchains/<span class="" style="color:rgb(0,128,128)">${TOOLCHAIN_NAME}</span>.xctoolchain&quot;</span><span style="color:rgb(51,51,51);font-family:Hack;font-size:12px;white-space:pre;background-color:rgb(248,248,248)">
    SYMBOLS_PACKAGE=</span><span class="" style="color:rgb(221,17,68);font-family:Hack;font-size:12px;white-space:pre">&quot;<span class="" style="color:rgb(0,128,128)">${SRC_DIR}</span>/<span class="" style="color:rgb(0,128,128)">${SYM_ARCHIVE}</span>&quot;</span><span style="color:rgb(51,51,51);font-family:Hack;font-size:12px;white-space:pre;background-color:rgb(248,248,248)">

    ./swift/utils/build-script --preset=</span><span class="" style="color:rgb(221,17,68);font-family:Hack;font-size:12px;white-space:pre">&quot;buildbot_osx_package&quot;</span><span style="color:rgb(51,51,51);font-family:Hack;font-size:12px;white-space:pre;background-color:rgb(248,248,248)"> \
      install_destdir=</span><span class="" style="color:rgb(221,17,68);font-family:Hack;font-size:12px;white-space:pre">&quot;<span class="" style="color:rgb(0,128,128)">${SWIFT_INSTALL_DIR}</span>&quot;</span><span style="color:rgb(51,51,51);font-family:Hack;font-size:12px;white-space:pre;background-color:rgb(248,248,248)"> \
      installable_package=</span><span class="" style="color:rgb(221,17,68);font-family:Hack;font-size:12px;white-space:pre">&quot;<span class="" style="color:rgb(0,128,128)">${SWIFT_INSTALLABLE_PACKAGE}</span>&quot;</span><span style="color:rgb(51,51,51);font-family:Hack;font-size:12px;white-space:pre;background-color:rgb(248,248,248)"> \
      install_toolchain_dir=</span><span class="" style="color:rgb(221,17,68);font-family:Hack;font-size:12px;white-space:pre">&quot;<span class="" style="color:rgb(0,128,128)">${SWIFT_TOOLCHAIN_DIR}</span>&quot;</span><span style="color:rgb(51,51,51);font-family:Hack;font-size:12px;white-space:pre;background-color:rgb(248,248,248)"> \
      install_symroot=</span><span class="" style="color:rgb(221,17,68);font-family:Hack;font-size:12px;white-space:pre">&quot;<span class="" style="color:rgb(0,128,128)">${SWIFT_INSTALL_SYMROOT}</span>&quot;</span><span style="color:rgb(51,51,51);font-family:Hack;font-size:12px;white-space:pre;background-color:rgb(248,248,248)"> \
      symbols_package=</span><span class="" style="color:rgb(221,17,68);font-family:Hack;font-size:12px;white-space:pre">&quot;<span class="" style="color:rgb(0,128,128)">${SYMBOLS_PACKAGE}</span>&quot;</span><span style="color:rgb(51,51,51);font-family:Hack;font-size:12px;white-space:pre;background-color:rgb(248,248,248)"> \
      darwin_toolchain_bundle_identifier=</span><span class="" style="color:rgb(221,17,68);font-family:Hack;font-size:12px;white-space:pre">&quot;<span class="" style="color:rgb(0,128,128)">${BUNDLE_IDENTIFIER}</span>&quot;</span><span style="color:rgb(51,51,51);font-family:Hack;font-size:12px;white-space:pre;background-color:rgb(248,248,248)"> \
      darwin_toolchain_display_name=</span><span class="" style="color:rgb(221,17,68);font-family:Hack;font-size:12px;white-space:pre">&quot;<span class="" style="color:rgb(0,128,128)">${DISPLAY_NAME}</span>&quot;</span><span style="color:rgb(51,51,51);font-family:Hack;font-size:12px;white-space:pre;background-color:rgb(248,248,248)"> \
      darwin_toolchain_xctoolchain_name=</span><span class="" style="color:rgb(221,17,68);font-family:Hack;font-size:12px;white-space:pre">&quot;<span class="" style="color:rgb(0,128,128)">${TOOLCHAIN_NAME}</span>&quot;</span><span style="color:rgb(51,51,51);font-family:Hack;font-size:12px;white-space:pre;background-color:rgb(248,248,248)"> \
      darwin_toolchain_version=</span><span class="" style="color:rgb(221,17,68);font-family:Hack;font-size:12px;white-space:pre">&quot;<span class="" style="color:rgb(0,128,128)">${TOOLCHAIN_VERSION}</span>&quot;</span><span style="color:rgb(51,51,51);font-family:Hack;font-size:12px;white-space:pre;background-color:rgb(248,248,248)">
}

build_osx_package
</span></div><div><span style="color:rgb(51,51,51);font-family:Hack;font-size:12px;white-space:pre;background-color:rgb(248,248,248)"><br></span></div><div class="gmail_default"><font face="verdana, sans-serif"><br></font></div><div class="gmail_default" style="font-family:verdana,sans-serif"><br></div><div class="gmail_default" style="font-family:verdana,sans-serif">-Travis Tilley</div><div class="gmail_default" style="font-family:verdana,sans-serif"><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Dec 14, 2015 at 11:42 PM, Mish Awadah <span dir="ltr">&lt;<a href="mailto:mawadah@apple.com" target="_blank">mawadah@apple.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div style="word-wrap:break-word">I’m sorry for the experience Travis, but this is certainly one of our pain points. There’s a lot at play and we haven’t finished setting up our public CI either. Here’s what I do locally to build a toolchain on OS X:<div><br></div><div><div style="margin:0px;font-size:12px;line-height:normal;font-family:Menlo;color:rgb(95,135,135);background-color:rgb(228,228,228)"><span style="color:rgb(135,135,0)"><b>function</b></span> <span style="color:rgb(1,135,215)">build_osx_package</span><span style="color:rgb(0,175,135)">()</span> <span style="color:rgb(0,175,135)">{</span>                                                                                                                                                         </div><p style="margin:0px;font-size:12px;line-height:normal;font-family:Menlo;color:rgb(95,135,135);min-height:14px;background-color:rgb(255,254,215)">                                                                                                                                                                                       <br></p><div style="margin:0px;font-size:12px;line-height:normal;font-family:Menlo;color:rgb(95,135,135);background-color:rgb(255,254,215)">    <span style="color:rgb(1,135,215)">YEAR</span>=$<span style="color:rgb(175,135,0)">(</span><span style="color:rgb(95,95,215)"><b>date</b></span> +<span style="color:rgb(0,175,135)">&quot;%Y&quot;</span><span style="color:rgb(175,135,0)">)</span>                                                                                                                                                                 </div><div style="margin:0px;font-size:12px;line-height:normal;font-family:Menlo;color:rgb(95,135,135);background-color:rgb(255,254,215)">    <span style="color:rgb(1,135,215)">MONTH</span>=$<span style="color:rgb(175,135,0)">(</span><span style="color:rgb(95,95,215)"><b>date</b></span> +<span style="color:rgb(0,175,135)">&quot;%m&quot;</span><span style="color:rgb(175,135,0)">)</span>                                                                                                                                                                </div><div style="margin:0px;font-size:12px;line-height:normal;font-family:Menlo;color:rgb(95,135,135);background-color:rgb(255,254,215)">    <span style="color:rgb(1,135,215)">DAY</span>=$<span style="color:rgb(175,135,0)">(</span><span style="color:rgb(95,95,215)"><b>date</b></span> +<span style="color:rgb(0,175,135)">&quot;%d&quot;</span><span style="color:rgb(175,135,0)">)</span>                                                                                                                                                                  </div><div style="margin:0px;font-size:12px;line-height:normal;font-family:Menlo;color:rgb(95,135,135);background-color:rgb(255,254,215)">    <span style="color:rgb(1,135,215)">TOOLCHAIN_VERSION</span>=<span style="color:rgb(0,175,135)">&quot;swift-2.2-SNAPSHOT-${YEAR}-${MONTH}-${DAY}-a&quot;</span>                                                                                                                   </div><div style="margin:0px;font-size:12px;line-height:normal;font-family:Menlo;color:rgb(95,135,135);background-color:rgb(255,254,215)">    <span style="color:rgb(1,135,215)">ARCHIVE_DIR</span>=<span style="color:rgb(0,175,135)">&quot;${TOOLCHAIN_VERSION}-${BUILD_NUMBER}&quot;</span>                                                                                                                                 </div><div style="margin:0px;font-size:12px;line-height:normal;font-family:Menlo;color:rgb(95,135,135);background-color:rgb(255,254,215)">    <span style="color:rgb(1,135,215)">ARCHIVE</span>=<span style="color:rgb(0,175,135)">&quot;${TOOLCHAIN_VERSION}-osx.tar.gz&quot;</span>                                                                                                                                          </div><div style="margin:0px;font-size:12px;line-height:normal;font-family:Menlo;color:rgb(95,135,135);background-color:rgb(255,254,215)">    <span style="color:rgb(1,135,215)">SYM_ARCHIVE</span>=<span style="color:rgb(0,175,135)">&quot;${TOOLCHAIN_VERSION}-osx-symbols.tar.gz&quot;</span>                                                                                                                              </div><div style="margin:0px;font-size:12px;line-height:normal;font-family:Menlo;color:rgb(95,135,135);background-color:rgb(255,254,215)">    <span style="color:rgb(1,135,215)">BUNDLE_IDENTIFIER</span>=<span style="color:rgb(0,175,135)">&quot;org.swift.${YEAR}${MONTH}${DAY}&quot;</span>                                                                                                                                </div><div style="margin:0px;font-size:12px;line-height:normal;font-family:Menlo;color:rgb(95,135,135);background-color:rgb(255,254,215)">    <span style="color:rgb(1,135,215)">DISPLAY_NAME</span>=<span style="color:rgb(0,175,135)">&quot;Swift 2.2 Development Snapshot&quot;</span>                                                                                                                                      </div><div style="margin:0px;font-size:12px;line-height:normal;font-family:Menlo;color:rgb(95,135,135);background-color:rgb(255,254,215)">    <span style="color:rgb(1,135,215)">TOOLCHAIN_NAME</span>=<span style="color:rgb(0,175,135)">&quot;${TOOLCHAIN_VERSION}&quot;</span>                                                                                                                                              </div><p style="margin:0px;font-size:12px;line-height:normal;font-family:Menlo;color:rgb(95,135,135);min-height:14px;background-color:rgb(255,254,215)">                                                                                                                                                                                       <br></p><div style="margin:0px;font-size:12px;line-height:normal;font-family:Menlo;color:rgb(95,135,135);background-color:rgb(255,254,215)">    <span style="color:rgb(1,135,215)">SWIFT_SOURCE_ROOT</span>=<span style="color:rgb(0,175,135)">&quot;${SRC_DIR}&quot;</span>                                                                                                                                                     </div><div style="margin:0px;font-size:12px;line-height:normal;font-family:Menlo;color:rgb(95,135,135);background-color:rgb(255,254,215)">    <span style="color:rgb(1,135,215)">SWIFT_BUILD_ROOT</span>=<span style="color:rgb(0,175,135)">&quot;${SRC_DIR}/build&quot;</span>                                                                                                                                                </div><div style="margin:0px;font-size:12px;line-height:normal;font-family:Menlo;color:rgb(95,135,135);background-color:rgb(255,254,215)">    <span style="color:rgb(1,135,215)">SWIFT_INSTALLABLE_PACKAGE</span>=<span style="color:rgb(0,175,135)">&quot;${SRC_DIR}/${ARCHIVE}&quot;</span>                                                                                                                                  </div><div style="margin:0px;font-size:12px;line-height:normal;font-family:Menlo;color:rgb(95,135,135);background-color:rgb(255,254,215)">    <span style="color:rgb(1,135,215)">SWIFT_INSTALL_DIR</span>=<span style="color:rgb(0,175,135)">&quot;${SRC_DIR}/swift-nightly-install&quot;</span>                                                                                                                               </div><div style="margin:0px;font-size:12px;line-height:normal;font-family:Menlo;color:rgb(95,135,135);background-color:rgb(255,254,215)">    <span style="color:rgb(1,135,215)">SWIFT_INSTALL_SYMROOT</span>=<span style="color:rgb(0,175,135)">&quot;${SRC_DIR}/swift-nightly-symroot&quot;</span>                                                                                                                           </div><div style="margin:0px;font-size:12px;line-height:normal;font-family:Menlo;color:rgb(0,175,135);background-color:rgb(255,254,215)"><span style="color:rgb(95,135,135)">    </span><span style="color:rgb(1,135,215)">SWIFT_TOOLCHAIN_DIR</span><span style="color:rgb(95,135,135)">=</span>&quot;/Applications/Xcode.app/Contents/Developer/Toolchains/${TOOLCHAIN_NAME}.xctoolchain&quot;<span style="color:rgb(95,135,135)">                                                                          </span></div><div style="margin:0px;font-size:12px;line-height:normal;font-family:Menlo;color:rgb(95,135,135);background-color:rgb(255,254,215)">    <span style="color:rgb(1,135,215)">SYMBOLS_PACKAGE</span>=<span style="color:rgb(0,175,135)">&quot;${SRC_DIR}/${SYM_ARCHIVE}&quot;</span>                                                                                                                                        </div><p style="margin:0px;font-size:12px;line-height:normal;font-family:Menlo;color:rgb(95,135,135);min-height:14px;background-color:rgb(255,254,215)">                                                                                                                                                                                       <br></p><div style="margin:0px;font-size:12px;line-height:normal;font-family:Menlo;color:rgb(0,175,135);background-color:rgb(255,254,215)"><span style="color:rgb(95,135,135)">    ./swift/utils/build-script --preset=</span>&quot;buildbot_osx_package&quot;<span style="color:rgb(95,135,135)"> </span><span style="color:rgb(1,135,215)">install_destdir</span><span style="color:rgb(95,135,135)">=</span>&quot;${SWIFT_INSTALL_DIR}&quot;<span style="color:rgb(95,135,135)"> </span><span style="color:rgb(1,135,215)">installable_package</span><span style="color:rgb(95,135,135)">=</span>&quot;${SWIFT_INSTALLABLE_PACKAGE}&quot;<span style="color:rgb(95,135,135)"> </span><span style="color:rgb(1,135,215)">install_toolchain_dir</span><span style="color:rgb(95,135,135)">=</span>&quot;${SWIF<span style="color:rgb(95,135,135)">\</span></div><div style="margin:0px;font-size:12px;line-height:normal;font-family:Menlo;color:rgb(1,135,215);background-color:rgb(255,254,215)"><span style="color:rgb(0,175,135)">T_TOOLCHAIN_DIR}&quot;</span><span style="color:rgb(95,135,135)"> </span>install_symroot<span style="color:rgb(95,135,135)">=</span><span style="color:rgb(0,175,135)">&quot;${SWIFT_INSTALL_SYMROOT}&quot;</span><span style="color:rgb(95,135,135)"> </span>symbols_package<span style="color:rgb(95,135,135)">=</span><span style="color:rgb(0,175,135)">&quot;${SYMBOLS_PACKAGE}&quot;</span><span style="color:rgb(95,135,135)"> </span>darwin_toolchain_bundle_identifier<span style="color:rgb(95,135,135)">=</span><span style="color:rgb(0,175,135)">&quot;${BUNDLE_IDENTIFIER}&quot;</span><span style="color:rgb(95,135,135)"> </span>darwin_toolchain_display_n<span style="color:rgb(95,135,135)">\</span></div><div style="margin:0px;font-size:12px;line-height:normal;font-family:Menlo;color:rgb(95,135,135);background-color:rgb(255,254,215)"><span style="color:rgb(1,135,215)">ame</span>=<span style="color:rgb(0,175,135)">&quot;${DISPLAY_NAME}&quot;</span> <span style="color:rgb(1,135,215)">darwin_toolchain_xctoolchain_name</span>=<span style="color:rgb(0,175,135)">&quot;${TOOLCHAIN_NAME}&quot;</span> <span style="color:rgb(1,135,215)">darwin_toolchain_version</span>=<span style="color:rgb(0,175,135)">&quot;${TOOLCHAIN_VERSION}&quot;</span>                                                            </div><div style="margin:0px;font-size:12px;line-height:normal;font-family:Menlo;color:rgb(0,175,135);background-color:rgb(255,254,215)">}</div><div><br></div><div>It should work. If not, please file a bug with your output and configuration and let us know about it. </div><span class=""><font color="#888888"><div><br></div><div>- mish</div></font></span><div><div class="h5"><div><br><div><blockquote type="cite"><div>On Dec 14, 2015, at 8:32 PM, Dmitri Gribenko &lt;<a href="mailto:gribozavr@gmail.com" target="_blank">gribozavr@gmail.com</a>&gt; wrote:</div><br><div><div dir="ltr" style="font-family:Helvetica;font-size:14px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">+Mishal Awadah, Mishal Shah<br><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Dec 14, 2015 at 8:04 PM, Travis Tilley via swift-dev<span> </span><span dir="ltr">&lt;<a href="mailto:swift-dev@swift.org" target="_blank">swift-dev@swift.org</a>&gt;</span><span> </span>wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr"><div><div style="font-family:verdana,sans-serif;font-size:12.8px">Is there any documentation somewhere on what the exact commands are that the buildbot CI performs and how the packages on <a href="http://swift.org/" target="_blank">swift.org</a> are created?</div><div style="font-family:verdana,sans-serif;font-size:12.8px"><br></div><div style="font-family:verdana,sans-serif;font-size:12.8px">I&#39;ve noticed that:</div><div style="font-family:verdana,sans-serif;font-size:12.8px"><br></div><div style="font-family:verdana,sans-serif;font-size:12.8px">1) LLDB doesn&#39;t compile on either OSX or ubuntu 15 via the normal script for various reasons (codesign on OSX, no idea on ubuntu) in the default configuration. This seems highly counter-intuitive.</div><div style="font-family:verdana,sans-serif;font-size:12.8px"><br></div><div style="font-family:verdana,sans-serif;font-size:12.8px">2) The buildbot presets don&#39;t have sane defaults and I can&#39;t find any documentation on what &quot;sane&quot; might mean for those builds.</div><div style="font-family:verdana,sans-serif;font-size:12.8px"><br></div><div style="font-family:verdana,sans-serif;font-size:12.8px">3) I still can&#39;t build the full suite using the following command (which, again, may or may not be sane):</div><div style="font-family:verdana,sans-serif;font-size:12.8px"><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><span style="font-size:12.8px"><font face="monospace, monospace">nice ./swift/utils/build-script \<br></font></span><span style="font-size:12.8px"><font face="monospace, monospace"> <span> </span>--preset=buildbot_osx_package \<br></font></span><span style="font-size:12.8px"><font face="monospace, monospace"> <span> </span>installable_package=/tmp/swift.tar.gz \<br></font></span><span style="font-size:12.8px"><font face="monospace, monospace"> <span> </span>install_destdir=/Library/Developer/Toolchains/swift-2.2-SNAPSHOT-2015-12-14/ \<br></font></span><span style="font-size:12.8px"><font face="monospace, monospace"> <span> </span>install_toolchain_dir=/Library/Developer/Toolchains/swift-2.2-SNAPSHOT-2015-12-14.xctoolchain \<br></font></span><span style="font-size:12.8px"><font face="monospace, monospace"> <span> </span>install_symroot=/Library/Developer/Toolchains/swift-2.2-SNAPSHOT-2015-12-14/ \<br></font></span><span style="font-size:12.8px"><font face="monospace, monospace"> <span> </span>symbols_package=/tmp/swift-symbols.tar.gz \<br></font></span><span style="font-size:12.8px"><font face="monospace, monospace"> <span> </span>darwin_toolchain_bundle_identifier=org.swift.20151214 \<br></font></span><span style="font-size:12.8px"><font face="monospace, monospace"> <span> </span>darwin_toolchain_display_name=20151214 \<br></font></span><span style="font-size:12.8px"><font face="monospace, monospace"> <span> </span>darwin_toolchain_xctoolchain_name=swift darwin_toolchain_version=swift</font></span></blockquote><div><font face="verdana, sans-serif"><span style="font-size:12.8px"><br></span></font></div><div style="font-family:arial,sans-serif;font-size:12.8px"><div><font face="verdana, sans-serif">​All that I actually -want- to do is start xcode using a freshly built swift toolchain. That is it. I don&#39;t even need any of the SDKs other than OSX built. But the build directory install structure doesn&#39;t have anything like what `​launch-with-toolchain` appears to expect...</font></div></div><div style="font-family:arial,sans-serif;font-size:12.8px"><font face="verdana, sans-serif"><br></font></div><div style="font-family:arial,sans-serif;font-size:12.8px"><font face="verdana, sans-serif">Not sure where i&#39;m going wrong. Please feel free to tell me to RTFM if there is a FM to read.</font></div><div style="font-family:arial,sans-serif;font-size:12.8px"><font face="verdana, sans-serif"><br></font></div><div style="font-family:arial,sans-serif;font-size:12.8px"><font face="verdana, sans-serif"><br></font></div><div style="font-family:arial,sans-serif;font-size:12.8px"><font face="verdana, sans-serif">-Travis Tilley</font></div><div style="font-family:arial,sans-serif;font-size:12.8px"><font face="verdana, sans-serif"><br></font></div></div></div><img src="https://u2002410.ct.sendgrid.net/wf/open?upn=HvbB2rNqe6WERAH1f5iSygoap13wP4MPscYBJZE6r41Dy-2F82U-2FpUMV9g-2Bx6EPlEG-2FnmmPHVo-2B9iXuj59yoSbAy1qmC-2BMkE4Z6gUphQb2R0I94UjUHyt5iqnsIvgpKfAqcJwzC6hepLZs1YfJeMbDMAmy2Q3RtKVz6lXLfdhHFeDDWamRHT8THWXhxGE9kNprJ9sucRrCs2VemosOzDVa1Q5nylV6GuddCo7Hx7R97hQ-3D" alt="" width="1" height="1" border="0" style="min-height: 1px !important; width: 1px !important; border-width: 0px !important; margin: 0px !important; padding: 0px !important; display: none !important;"><span> </span><br>_______________________________________________<br>swift-dev mailing list<br><a href="mailto:swift-dev@swift.org" target="_blank">swift-dev@swift.org</a><br><a href="https://lists.swift.org/mailman/listinfo/swift-dev" rel="noreferrer" target="_blank">https://lists.swift.org/mailman/listinfo/swift-dev</a><br><br></blockquote></div><br><br clear="all"><div><br></div>--<span> </span><br><div>main(i,j){for(i=2;;i++){for(j=2;j&lt;i;j++){if(!(i%j)){j=0;break;}}if<br>(j){printf(&quot;%d\n&quot;,i);}}} /*Dmitri Gribenko &lt;<a href="mailto:gribozavr@gmail.com" target="_blank">gribozavr@gmail.com</a>&gt;*/</div></div></div></div></blockquote></div></div></div></div></div></div></blockquote></div>
</div></div>