Package Base Details: swift-language

Git Clone URL: (read-only)
Submitter: Zrax
Maintainer: Zrax
Last Packager: Zrax
Votes: 31
Popularity: 0.082155
First Submitted: 2016-01-08 23:39
Last Updated: 2019-05-04 21:38

Packages (2)

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 8 Next › Last »

Zrax commented on 2017-01-26 02:14

In short, to make swift 3.0.x work with clang 3.9, you'd have to backport a number of fixes from Apple's main development branch. I've tried this a couple of times, but unfortunately have yet to produce a successful build. Unfortunately, the developers have not tried to keep the 3.0 branch working with newer clang versions, so the work to fix it has not been backported.

Another option I've considered but haven't tried yet is to make a clang38 package that can be installed alongside the system clang, so you at least don't have to downgrade your existing clang just for compiling swift.

strikr commented on 2017-01-26 00:43

is there a workaround to build the package, without having to downgrade clang to 'clang=3.8.1' ?

Zrax commented on 2017-01-18 20:59

Hi @Tuetuopay: I've incorporated your patch. Thanks.

Tuetuopay commented on 2017-01-18 09:53

Here is a patch that implements commit 09cbffb. Without it, swift fails to compile. Is it possible to integrate it in the package ?

SuhairZain commented on 2017-01-16 19:55

Any way to build this package without downgrading clang and the associated tools?

Zrax commented on 2016-12-06 16:52

You can find the older packages in the Arch package archive:

tarasis commented on 2016-12-06 14:44

For those of us without an old version of clang hanging around, whats the easiest way to get 3.8.1 for building this package?

Zrax commented on 2016-11-23 22:17

Hmm, I had patched the preview releases (, but I don't remember encountering it here... Sorry about that; should be fixed now.

papodaca commented on 2016-11-23 21:54

Not sure how this has been working for everyone else but there is a typo in the build script of the 3.0.1 release and it is impossible to build for me.

Added a patch to fix the typo:

Zrax commented on 2016-11-20 18:23

You'll need to downgrade the whole set (clang, llvm, llvm-libs, plus lib32-llvm-libs if you have it installed too). You can re-upgrade them after building swift, since the old version is only needed for building it.