Package Details: swift-bin 6.0.3-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://www.swift.org/
Keywords: apple language swift swiftlang
Licenses: Apache
Provides: swift-language
Replaces: swift-language-bin
Submitter: ashleyis
Maintainer: susurri
Last Packager: susurri
Votes: 90
Popularity: 1.21
First Submitted: 2015-12-04 17:31 (UTC)
Last Updated: 2024-12-13 09:52 (UTC)

Dependencies (5)

Required by (16)

Sources (2)

Pinned Comments

Latest Comments

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

tanner0101 commented on 2020-07-20 19:45 (UTC)

This works great, thank you!

typoisovok commented on 2020-06-10 19:15 (UTC) (edited on 2020-06-10 19:54 (UTC) by typoisovok)

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 (UTC)

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 (UTC) (edited on 2020-06-09 18:25 (UTC) by typoisovok)

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 (UTC)

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 (UTC)

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 (UTC)

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 (UTC)

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 (UTC)

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 (UTC)

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')