That is great :)
Search Criteria
Package Details: swift-language 5.10.1-1
Package Actions
Git Clone URL: | https://aur.archlinux.org/swift-language.git (read-only, click to copy) |
---|---|
Package Base: | swift-language |
Description: | The Swift programming language and debugger |
Upstream URL: | https://github.com/apple/swift |
Licenses: | Apache-2.0 |
Submitter: | Zrax |
Maintainer: | soloturn (fanjiang, refi.64, spacecowgirl, medzik, KyleYe, xiota) |
Last Packager: | xiota |
Votes: | 45 |
Popularity: | 0.000051 |
First Submitted: | 2016-01-08 23:39 (UTC) |
Last Updated: | 2024-07-02 17:33 (UTC) |
Dependencies (17)
- icu (icu-gitAUR)
- libbsd (libbsd-gitAUR)
- libedit
- libxml2 (libxml2-gitAUR, libxml2-2.9AUR)
- ncurses (ncurses-gitAUR)
- python (python37AUR, python311AUR, python310AUR)
- clang (llvm-rocm-gitAUR, llvm-gitAUR, clang-minimal-gitAUR, clang17-binAUR) (make)
- cmake (cmake-gitAUR) (make)
- git (git-gitAUR, git-glAUR) (make)
- lld (llvm-rocm-gitAUR, llvm-gitAUR) (make)
- llvm (llvm-rocm-gitAUR, llvm-gitAUR, llvm-minimal-gitAUR) (make)
- ninja (ninja-kitwareAUR, ninja-memAUR, ninja-fuchsia-gitAUR, ninja-gitAUR, ninja-jobserverAUR) (make)
- patch (patch-gitAUR) (make)
- python-six (make)
- rsync (rsync-gitAUR, rsync-reflinkAUR, rsync-reflink-gitAUR) (make)
- swift-languageAUR (swift-language-gitAUR, swift-bin-developmentAUR, swiftly-binAUR, swift-binAUR) (make)
- swig (swig-gitAUR) (make)
Required by (17)
- clion (optional)
- clion-eap (optional)
- cookcli-git
- fabricversions
- fcitx5-hazkey (make)
- memorize (make)
- sourcekitten
- sourcekitten (make)
- swift-format
- swift-format-git
- swift-language (make)
- swift-language-git (make)
- swift-mesonlsp (make)
- swiftformat-bin
- swiftlint
- vapor-toolbox
- vapor-toolbox-git
Sources (35)
- 0001-arch-aur-patches.patch
- apple-indexstore-db
- apple-llvm-project
- apple-sourcekit-lsp
- git+https://github.com/apple/swift#tag=swift-5.10.1-RELEASE
- swift-argument-parser
- swift-asn1
- swift-atomics
- swift-certificates
- swift-cmark
- swift-collections
- swift-corelibs-foundation
- swift-corelibs-libdispatch
- swift-corelibs-xctest
- swift-crypto
- swift-docc-render-artifact
- swift-docc-symbolkit
- swift-docc
- swift-driver
- swift-format
- swift-installer-scripts
- swift-integration-tests
- swift-llbuild
- swift-lmdb
- swift-markdown
- swift-nio-ssl
- swift-nio
- swift-numerics
- swift-package-manager
- swift-stress-tester
- swift-syntax
- swift-system
- swift-tools-support-core
- swift-xcode-playground-support
- yams
Latest Comments
« First ‹ Previous 1 2 3 4 5 6 7 8 9 10 .. 15 Next › Last »
fanjiang commented on 2020-07-06 21:01 (UTC)
soloturn commented on 2020-07-06 19:29 (UTC)
i created a continues build now on github which should build it once a day: https://github.com/soloturn/swift-aur/actions
fanjiang commented on 2020-07-06 16:40 (UTC) (edited on 2020-07-06 18:43 (UTC) by fanjiang)
@soloturn I managed to go pass SR-13083 with the following patch:
build() {
cd "$srcdir/swift"
# By default in /etc/makepkg.conf this is "-D_FORTIFY_SOURCE=2"
# Which will break `compiler-rt`
unset CPPFLAGS
unset CFLAGS
unset CXXFLAGS
unset LDFLAGS
export SWIFT_SOURCE_ROOT="$srcdir"
export PATH="$PATH:/usr/bin/core_perl"
utils/build-script -R "${_common_build_params[@]}"
EDIT: I got it to compile, but it still failed at building SwiftPM.
soloturn commented on 2020-07-05 10:07 (UTC) (edited on 2020-07-05 10:19 (UTC) by soloturn)
thanks for testing this fanjiang, i added you as contributor to swift, and swift-language-git. i do not get this error with the git version and do report bugs in the hope we get a working version in a couple of months.
with 5.3-DEVELOPMENT i get: https://bugs.swift.org/browse/SR-13083
fanjiang commented on 2020-07-04 21:50 (UTC)
Failed in:
/home/fan/AUR/swift-language/src/llvm/include/llvm/Demangle/MicrosoftDemangleNodes.h:14:19: error: unknown type name 'uint8_t'
enum Qualifiers : uint8_t {
^
/home/fan/AUR/swift-language/src/llvm/include/llvm/Demangle/MicrosoftDemangleNodes.h:25:27: error: unknown type name 'uint8_t'
enum class StorageClass : uint8_t {
^
/home/fan/AUR/swift-language/src/llvm/include/llvm/Demangle/MicrosoftDemangleNodes.h:38:26: error: unknown type name 'uint8_t'
enum class CallingConv : uint8_t {
^
/home/fan/AUR/swift-language/src/llvm/include/llvm/Demangle/MicrosoftDemangleNodes.h:51:28: error: unknown type name 'uint8_t'
enum class ReferenceKind : uint8_t { None, LValueRef, RValueRef };
^
/home/fan/AUR/swift-language/src/llvm/include/llvm/Demangle/MicrosoftDemangleNodes.h:90:36: error: unknown type name 'uint8_t'
enum class IntrinsicFunctionKind : uint8_t {
^
/home/fan/AUR/swift-language/src/llvm/include/llvm/Demangle/MicrosoftDemangleNodes.h:181:18: error: unknown type name 'uint16_t'
enum FuncClass : uint16_t {
^
/home/fan/AUR/swift-language/src/llvm/include/llvm/Demangle/MicrosoftDemangleNodes.h:239:8: error: no type named 'string' in namespace 'std'
No idea what is happening...
gwpl commented on 2020-06-22 22:43 (UTC)
swig3 dependency not available
fanjiang commented on 2020-05-03 17:15 (UTC)
Anybody here with the error in libdispatch?
/home/fan/AUR/swift-language/src/swift-corelibs-libdispatch/src/semaphore.c:121:2: error: unannotated fall-through between switch labels [-Werror,-Wimplicit-fallthrough]
case DISPATCH_TIME_NOW:
^
/home/fan/AUR/swift-language/src/swift-corelibs-libdispatch/src/semaphore.c:121:2: note: insert '__attribute__((fallthrough));' to silence this warning
case DISPATCH_TIME_NOW:
^
__attribute__((fallthrough));
/home/fan/AUR/swift-language/src/swift-corelibs-libdispatch/src/semaphore.c:121:2: note: insert 'break;' to avoid fall-through
case DISPATCH_TIME_NOW:
^
break;
/home/fan/AUR/swift-language/src/swift-corelibs-libdispatch/src/semaphore.c:131:2: error: unannotated fall-through between switch labels [-Werror,-Wimplicit-fallthrough]
case DISPATCH_TIME_FOREVER:
^
/home/fan/AUR/swift-language/src/swift-corelibs-libdispatch/src/semaphore.c:131:2: note: insert '__attribute__((fallthrough));' to silence this warning
case DISPATCH_TIME_FOREVER:
^
__attribute__((fallthrough));
/home/fan/AUR/swift-language/src/swift-corelibs-libdispatch/src/semaphore.c:131:2: note: insert 'break;' to avoid fall-through
case DISPATCH_TIME_FOREVER:
^
break;
varagrawal commented on 2020-04-21 01:15 (UTC)
Can we please update the package with the correct checksum?
LaberLu commented on 2020-03-28 10:05 (UTC)
The checksum for the swift-package-manager-5.1.5 is incorrect. sed -i s/24384389af1edba64b2abc08e3a19f949b95ac2ece3099da1d8bda89ffe780fb/073df9514e7ae9a4226af00b79ce8a79ab068ad491b46f7cae4bd23fbd72bb24/ PKGBUILD
fixes it.
Pinned Comments
xiota commented on 2023-12-31 14:56 (UTC) (edited on 2024-07-13 07:31 (UTC) by xiota)
While I was able to build this in a clean chroot, consider this package to be a wip.
According to this comment, swift does need swift to build. So if you haven't previously built this package, you'll need
aur/swift-bin
.This package attempts to install only
swift
to/usr/lib/swift
.cmark
andllvm
are built, but not installed. If they are installed, space requirement increases to 20GB, package is 2GB, and installed size 7GB.swift-bin
, especially since it's already needed to build this.)This package does not make debug symbols. With debugging enabled, over 70GB would be required to build. I don't know package or install size because I hadn't figured out how to install at that time.
soloturn commented on 2020-09-06 22:25 (UTC) (edited on 2023-02-05 07:39 (UTC) by soloturn)
to speed up check out of the repositories, use shallow or sparse clone, e.g.:
other options to install swift are currently:
swift-bin, which repackages tachoknights official released centos8 build: https://aur.archlinux.org/packages/swift-bin/. the install is quick, no hours of waiting until everything is compiled.
latest from git, in swift-language-git. there is a binary built with github actions, but this build is not particularly stable, sometimes it uses more resources than github allows, sometimes it fails for a change upstream. the version number is taken out of the official tag on apple/swift main branch: e.g. swift-language-git-swift.DEVELOPMENT.SNAPSHOT.2020.09.28.a.r208.g6651f6e55d4-1-x86_64.pkg.tar.zst. so this one is the development tag from sep 28 + 208 commits, the commit hash is g6651f: aur - https://aur.archlinux.org/packages/swift-language-git. gh-actions: https://github.com/soloturn/swift-aur/releases/tag/latest
there was an 5.4.1 binary build, native arch, by fanjiang, built on GCE: https://github.com/ProfFan/swift-aur/releases