Package Details: libdispatch 5.2.3-1

Git Clone URL: https://aur.archlinux.org/libdispatch.git (read-only, click to copy)
Package Base: libdispatch
Description: Comprehensive support for concurrent code execution on multicore hardware
Upstream URL: https://apple.github.io/swift-corelibs-libdispatch
Licenses: Apache
Conflicts: libdispatch-git, swift, swift-development
Submitter: aperez
Maintainer: aperez
Last Packager: aperez
Votes: 1
Popularity: 0.20
First Submitted: 2020-02-13 22:23
Last Updated: 2020-05-12 10:55

Latest Comments

aperez commented on 2020-05-12 10:57

@Ugzuzg: Thanks for the heads up, I have updated the package in a slightly different way to ensure that it links against the system-installed libBlocksRuntime.so instead of building its own, and also removing -Werror instead unsetting CPPFLAGS =)

Ugzuzg commented on 2020-05-11 20:58

Here is what I used to install 5.2.3 version:

pkgname=libdispatch
pkgver=5.2.3
pkgrel=1
pkgdesc='Comprehensive support for concurrent code execution on multicore hardware'
arch=(i686 x86_64 arm armv6h armv7h aarch64)
url=https://apple.github.io/swift-corelibs-libdispatch
license=(Apache)
depends=()
makedepends=(git clang cmake)
conflicts=(libdispatch-git swift swift-development)
source=("${pkgname}::git+https://github.com/apple/swift-corelibs-libdispatch.git#tag=swift-${pkgver}-RELEASE")
sha512sums=(SKIP)

prepare () {
    cd "${pkgname}"
}

build () {
    unset CPPFLAGS
    CC=clang CXX=clang++ cmake -H"${pkgname}" -Bbuild \
        -DCMAKE_INSTALL_PREFIX=/usr \
        "../${pkgname}"
    cmake --build build -j $(nproc)
}

check () {
    cmake --build build --target test
}

package () {
    DESTDIR="${pkgdir}" cmake --install build
}