Package Details: scylla-git r12846.3077416ec-1

Git Clone URL: https://aur.archlinux.org/scylla-git.git (read-only)
Package Base: scylla-git
Description: Scylla is an open source NoSQL drop-in replacement for Apache Cassandra with fast throughput and low latency
Upstream URL: http://www.scylladb.com/
Licenses: AGPL
Conflicts: scylla
Provides: scylla
Submitter: Argenet
Maintainer: Argenet
Last Packager: Argenet
Votes: 1
Popularity: 0.000000
First Submitted: 2017-08-10 06:39
Last Updated: 2017-12-25 00:53

Required by (1)

Sources (7)

Latest Comments

erai commented on 2019-08-19 09:28

This patch builds successfully

--- PKGBUILD.old    2019-08-19 05:27:02.000000000 -0400
+++ PKGBUILD    2019-08-19 05:19:14.946875191 -0400
@@ -2,7 +2,7 @@

    # Main package information
    pkgname=scylla-git
-   pkgver=r12846.3077416ec
+   pkgver=r19254.20aed3398
    pkgrel=1
    pkgdesc="Scylla is an open source NoSQL drop-in replacement for Apache Cassandra with fast throughput and low latency"
    arch=('x86_64')
@@ -18,7 +18,8 @@
                    'lz4' 'zlib' 'snappy' 'jsoncpp' 'gnutls' 'ninja'
                    'ragel' 'libaio' 'crypto++' 'xfsprogs' 'jre8-openjdk-headless'
                    'numactl' 'libpciaccess' 'libxml2' 'thrift-0.10.0' 'lksctp-tools'
-                   'protobuf' 'libunwind' 'systemtap' 'make' 'libtool' 'cmake')
+                   'protobuf' 'libunwind' 'systemtap' 'make' 'libtool' 'cmake'
+           'stow' 'fmt')
    # Relations
    provides=('scylla')
    conflicts=('scylla')
@@ -41,9 +42,12 @@
        'git+https://github.com/scylladb/fmt.git'
        'git+https://github.com/scylladb/dpdk.git'
        'git+https://github.com/scylladb/c-ares.git'
+       'git+https://github.com/scylladb/libdeflate'
+       'git+https://github.com/scylladb/xxHash'
+       'git+https://github.com/scylladb/zstd'
    )

-   md5sums=('SKIP' 'SKIP' 'SKIP' 'SKIP' 'SKIP' 'SKIP' 'SKIP')
+   md5sums=('SKIP' 'SKIP' 'SKIP' 'SKIP' 'SKIP' 'SKIP' 'SKIP' 'SKIP' 'SKIP' 'SKIP')

    pkgver() {
        cd "$srcdir/${pkgname%-git}"
@@ -61,7 +65,8 @@
        # Since DPDK doesn't build well with _FORTIFY_SOURCE=2 
        unset CPPFLAGS
        ./configure.py --mode=release --enable-dpdk
-       ninja -j`nproc --all` build/release/scylla build/release/iotune
+       JOBS=`awk '/MemAvailable/{nram=int($2/1024/1024/5)} END{"nproc --all" |& getline ncpu; print (nram < ncpu ? nram : ncpu)}' /proc/meminfo`
+       ninja -j$JOBS build/release/scylla build/release/iotune
        cp dist/common/systemd/scylla-server.service.in build/scylla-server.service
        sed -i -e "s#@@SYSCONFDIR@@#${_sysconfdir}/sysconfig#g" build/scylla-server.service
    }

erai commented on 2019-08-19 09:10

A few dependencies are missing. Namely, gnu stow, fmt and the submodules: libdeflate, xxhash, zstd. Also it might be a good idea to limit the number of jobs since building this package takes lots of ram. My system started swapping with 32G of ram and 8 parallel jobs, so maybe limit jobs to RAM/4 GB or nproc.