File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -63,7 +63,7 @@ func makeFile() throws {
6363 }
6464
6565 /// Ensure we have llvm-config in the PATH
66- guard let llvmConfig = which ( " llvm-config-3.9 " ) ?? which ( " llvm-config " ) ?? brewLLVMConfig ( ) else {
66+ guard let llvmConfig = which ( " llvm-config-6.0 " ) ?? which ( " llvm-config " ) ?? brewLLVMConfig ( ) else {
6767 throw " Failed to find llvm-config. Ensure llvm-config is installed and " +
6868 " in your PATH "
6969 }
@@ -84,8 +84,8 @@ func makeFile() throws {
8484
8585 let version = ( components [ 0 ] , components [ 1 ] , components [ 2 ] )
8686
87- guard version > ( 3 , 9 , 0 ) else {
88- throw " LLVMSwift requires LLVM version >=3.9 .0, but you have \( versionStr) "
87+ guard version >= ( 6 , 0 , 0 ) else {
88+ throw " LLVMSwift requires LLVM version >=6.0 .0, but you have \( versionStr) "
8989 }
9090
9191 print ( " LLVM version is \( versionStr) " )
You can’t perform that action at this time.
0 commit comments