{"push_id":1167234299,"size":2,"distinct_size":2,"ref":"refs/heads/swift-3.0-branch","head":"6b0447935c0da85799f8c53cbdf8da6fea044516","before":"7f828e31e74d65b48572ff118652da29dd5e7e0c","commits":[{"sha":"cf43df06708f77b50ff2e73af2eef76912c76ba4","author":{"name":"Michael Gottesman","email":"4db64bf1b10b871c56257ec0356c24737011518b@apple.com"},"message":"[lit] Refactor lit detection of macOS triples to use a centralized query in lit.util.isMacOSTriple.\n\nCurrently, lit assumes that a triple is a macOS triple if it contains the string\n'darwin' (pattern matching against $ARCH-apple-darwin$NUM). This is incorrect\nsince the $ARCH-apple-macosx$NUM triples are /also/ valid triples for\nmacOS. More importantly, turns out Swift is using this triple as well,\npreventing a build-script built llvm from passing all of its unit tests on a\nbot.\n\nGiven where we are in the schedule I don't want to touch the triples on either\nprojects, so instead I am adding this workaround, teaching lit that a triple\nwith macosx in it should have a 'darwin' supported_feature.\n\nThis commit centralizes all the places in LLVM to use the query,\nlit.util.isMacOSTriple, instead of checking if 'darwin' is in a triple directly.\n\nIn subsequent commits I will:\n\n1. Change clang/compiler-rt's lit to use this utility function as well.\n2. Update isMacOSTriple to recognize other valid triples for macOS such as\ntriples that replace darwin with macosx (i.e. x86_64-apple-darwin vs\nx86_64-apple-macosx).\n\nrdar://26780128\n(cherry picked from commit 01436117652b41eb389ddbad9c9fd8df0de9b4b2)","distinct":true,"url":"https://api.github.com/repos/apple/swift-llvm/commits/cf43df06708f77b50ff2e73af2eef76912c76ba4"},{"sha":"6b0447935c0da85799f8c53cbdf8da6fea044516","author":{"name":"Michael Gottesman","email":"4db64bf1b10b871c56257ec0356c24737011518b@apple.com"},"message":"{x86_64,i386,x86_64h}-apple-macosx should also be XFAILED when 'darwin' is XFAILED.\n\nSee 01436117652b41eb389ddbad9c9fd8df0de9b4b2 for more info.\n\nrdar://26780128\n(cherry picked from commit 9ecb0ea4b899f55f0d4a63fb3ca390203bec0204)","distinct":true,"url":"https://api.github.com/repos/apple/swift-llvm/commits/6b0447935c0da85799f8c53cbdf8da6fea044516"}]}
{"actor":{"display_login":"gottesmm"}}