From 717456007c588a33f6cc9032e83c91cbe7906e0d Mon Sep 17 00:00:00 2001 From: commitay Date: Fri, 21 Sep 2018 14:49:07 +1000 Subject: [PATCH] swift: fix component order --- Formula/swift.rb | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/Formula/swift.rb b/Formula/swift.rb index aabef818b4..73a1f319e2 100644 --- a/Formula/swift.rb +++ b/Formula/swift.rb @@ -18,6 +18,13 @@ class Swift < Formula # https://github.com/apple/swift#system-requirements depends_on :xcode => ["9.3", :build] + # According to the official llvm readme, GCC 4.7+ is required + fails_with :gcc_4_0 + fails_with :gcc + ("4.3".."4.6").each do |n| + fails_with :gcc => n + end + # This formula is expected to have broken/missing linkage to # both UIKit.framework and AssetsLibrary.framework. This is # simply due to the nature of Swift's SDK Overlays. @@ -51,13 +58,6 @@ class Swift < Formula sha256 "7b655c994c092bf88245775e77d4c4d39f6d880cab59b67d2290df02505ed355" end - # According to the official llvm readme, GCC 4.7+ is required - fails_with :gcc_4_0 - fails_with :gcc - ("4.3".."4.6").each do |n| - fails_with :gcc => n - end - def install workspace = buildpath.parent build = workspace/"build"