Package Details: swift-bin 5.2.4-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
Conflicts: swift-language-git
Provides: swift-language
Replaces: swift-language-bin
Submitter: ashleyis
Maintainer: refi.64
Last Packager: refi.64
Votes: 66
Popularity: 1.09
First Submitted: 2015-12-04 17:31
Last Updated: 2020-06-07 20:25

Required by (5)

Sources (1)

Latest Comments

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

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!

typoisovok commented on 2020-06-08 20:28

Wow! Finally without building icu63, thanks :)

======

I successfully installed new version of package, however I still can't configure clion to run with it, I've tried to set tool-chain path to "/" as was suggested by @adfjjv but with no luck :c

upd: I searched a bit and found this https://youtrack.jetbrains.com/issue/CPP-9470

upd2: I've tried using centos8 toolchain from swift.org as it used as source, it's recognized by clion but getting error with libncurses.so.6, meh

upd3: Fixing libncurses.so.6 with symbolic link to libncursesw.so.6.2 causes new issue with libform.so.6, meh[2]

upd4: fixing all symlinks makes clion to properly create project struct, however editing source code causes crush, screw it

upd5: it appears that clion is looking for /usr/bin/swift-package when creating projects, however all files are located under /usr/lib/swift/*. If we set /usr/lib/swift as tool-chain than clion will concat /usr/lib/swift + /usr/bin/swift-package

so symlink solves this problem ~/Swift/usr -> /usr/bin/swift

refi.64 commented on 2020-06-07 20:26

Okay I've switched successfully to the CentOS 8 builds, this also comes with the advantage of fewer dependencies and will avoid issues where the package becomes uninstallable later on. Please let me know if anything broke from the transition.

soloturn commented on 2020-06-07 09:25

this means that one needs to install glibc-git? https://aur.archlinux.org/packages/glibc-git/

refi.64 commented on 2020-06-07 06:05

Sadly, this is going to out of date for a bit longer. One of the annoying parts of following Fedora here is that dependency releases may not perfectly be in sync, and in particular right now, rawhide has a newer glibc than Arch does. I'll be looking into maybe making the package instead rely on the recently added CentOS 8 packages from the official Swift website, which should help avoid a lot of these issues. Please hang tight!

refi.64 commented on 2020-05-04 00:28

Sorry for all the delays! Fedora redid the entire package structure, which requires some serious changes over here to accommodate. However, this does come with a nice advantage: no libexec is needed now, so your /usr tree will be completely clean. There's also no more weird symlinking of ncurses required now.

coltfred commented on 2020-04-28 20:09

This package appears to be broken. According to what I could see on http://fedora.mirror.constant.com/fedora/linux/development/rawhide/Everything/x86_64/os/Packages/s/ the 5.2.2 is all that's on there. Also the runtime isn't on there with the same name.

LaberLu commented on 2020-03-28 02:25

Fedora removed 5.1.4. These are the updated values for 5.1.5:

pkgver=5.1.5
_fullver="$pkgver-0.3.20200305git30c042c.fc33.x86_64"
sha256sums=('359f43fe3455f3ab8da37cb98796c6740e3defce335f0133b933945a239f6b95'
            '030723fd4639eb04a466544f5536b060353c5567f4b56ecc0dbff7964e90ceb6')

adfjjv commented on 2020-03-27 06:58

FYI, the "Swift toolchain path" for configuring Clion is simply "/"