Package Details: swift-bin 5.3.1-1

Git Clone URL: https://aur.archlinux.org/swift-bin.git (read-only, click to copy)
Package Base: swift-bin
Description: Binary builds of the Swift programming language
Upstream URL: https://swift.org
Keywords: apple language swift swiftlang
Licenses: Apache
Provides: swift-language
Replaces: swift-language-bin
Submitter: ashleyis
Maintainer: refi.64
Last Packager: refi.64
Votes: 72
Popularity: 0.33
First Submitted: 2015-12-04 17:31
Last Updated: 2020-12-06 03:20

Required by (6)

Sources (1)

Latest Comments

1 2 3 4 5 6 ... Next › Last »

chris200x9 commented on 2020-12-13 23:53

I had a heck of a time getting this to work with clion but I found this:

https://caelis.medium.com/install-and-configure-swift-on-arch-linux-for-clion-ee72908bc105

Don't know if I'm being helpful or cluttering things up, feel free to delete.

Also, I used symlinks instead and it works well.

refi.64 commented on 2020-10-26 01:39

@soloturn: sorry for the delay, should be fixed now @ShinoYasx: added, thanks

soloturn commented on 2020-10-07 17:40

@refi.64 swift-language-git is now updated to provide "swift-language-git", and it installs into /usr/lib/swift-git. can you pls remove the "conflicts" so both can be installed?

as https://aur.archlinux.org/packages/swift-language-git builds an eternity there is a binary build here now: https://github.com/soloturn/swift-aur/releases/tag/latest

ShinoYasx commented on 2020-10-03 21:52

Hello, I think it would be great to create a ldconfig file. Something like

echo '/usr/lib/swift/lib/swift/linux' >> /etc/ld.so.conf.d/swift.conf

And add a post install script to run ldconfig.

It would be useful for running swift applications where the shared libraries aren't in the same place for building system and user system.

refi.64 commented on 2020-09-14 01:13

carsme: sorry for the delayed reply, just fixed that, it was still set to depend on py3 from the previously used Fedora binaries vs the current official CentOS ones.

kaguya commented on 2020-09-13 04:54

@typoisovok thanks a lot, also I guess you mean symlinking /usr/lib/swift rather than /usr/bin/swift.

carsme commented on 2020-07-20 20:21

At least the REPL seems to depend on Python 2:

> swift
/usr/lib/swift/bin/lldb: error while loading shared libraries: libpython2.7.so.1.0: cannot open shared object file: No such file or directory

After installing python2 it works, maybe this should be added as a (optional?) dependency?

tanner0101 commented on 2020-07-20 19:45

This works great, thank you!

typoisovok commented on 2020-06-10 19:15

So, guys. I played around with Clion and VS Code.

To use Clion plugin you have to make smth like this, so Swift folder will be yours toolchain:

mkdir ~/Swift
cd ~/Swift
ln -s /usr/bin/swift usr

To use VS Code install [S]wift [D]evelopment [E]nvironment plugin,however you'll see that sourcekit-lsp is extremely slow.

https://github.com/vknabel/vscode-swift-development-environment/issues/73

chrbayer commented on 2020-06-08 23:36

Thanks for providing this :-) Can you please include swift-lldb or make an additional package? Thank you very much in advance!