Created
March 27, 2019 09:11
-
-
Save andrewseidl/ae0c5d1879927ffad73e665b30a90402 to your computer and use it in GitHub Desktop.
Arch + MapD Core
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Maintainer: Guillaume Horel <[email protected]> | |
pkgname='arrow' | |
pkgver=0.12.1 | |
pkgrel=10 | |
pkgdesc="A columnar in-memory analytics layer for big data." | |
arch=('x86_64') | |
url="https://arrow.apache.org" | |
license=('Apache') | |
depends=('boost-libs' 'protobuf' 'rapidjson' 'google-glog') | |
checkdepends=('gflags') | |
optdepends=() | |
provides=('parquet-cpp') | |
conflicts=('parquet-cpp') | |
makedepends=('cmake' 'boost' 'gcc7') | |
source=("https://github.com/apache/arrow/archive/apache-arrow-$pkgver.tar.gz") | |
sha256sums=('aae68622edc3dcadaa16b2d25ae3f00290d5233100321993427b03bcf5b1dd3b') | |
prepare(){ | |
cd "${srcdir}/$pkgname-apache-$pkgname-$pkgver" | |
} | |
build(){ | |
cd "$srcdir" | |
mkdir -p build | |
cd "$srcdir/build" | |
# GCC 7 used to work around conflicts between Arrow and GCC 8.2.1 | |
CC=gcc-7 CXX=g++-7 ARROW_BUILD_TOOLCHAIN=/usr LZ4_HOME= ZSTD_HOME= BROTLI_HOME= DOUBLE_CONVERSION_HOME= SNAPPY_HOME= ZLIB_HOME= GFLAGS_HOME= GLOG_HOME=/usr FLATBUFFERS_HOME= cmake \ | |
../$pkgname-apache-$pkgname-$pkgver/cpp -DARROW_PARQUET=ON \ | |
-DARROW_PYTHON=ON \ | |
-DCMAKE_BUILD_TYPE=Release \ | |
-DARROW_BUILD_TESTS=OFF \ | |
-DARROW_ALTIVEC=OFF \ | |
-DCMAKE_INSTALL_PREFIX="/usr" \ | |
-DCMAKE_INSTALL_LIBDIR="lib" \ | |
-DARROW_JEMALLOC=OFF \ | |
-DARROW_ORC=OFF \ | |
-DARROW_PLASMA=ON \ | |
-DARROW_TENSORFLOW=OFF \ | |
-DARROW_USE_SIMD=ON \ | |
-DARROW_FLIGHT=OFF \ | |
-DARROW_GANDIVA=OFF \ | |
-DARROW_PROTOBUF_USE_SHARED=ON | |
make | |
} | |
package(){ | |
cd "$srcdir/build" | |
make DESTDIR="${pkgdir}" install | |
} | |
#check(){ | |
# cd "$srcdir/build" | |
# make test | |
#} | |
# vim:ts=2:sw=2:et: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Maintainer: Felix Yan <[email protected]> | |
# Contributor: Ian Yang <[email protected]> | |
pkgname=google-glog | |
pkgver=0.3.5 | |
pkgrel=2 | |
pkgdesc="Logging library for C++" | |
arch=('x86_64') | |
license=('custom:BSD3') | |
url='https://github.com/google/glog' | |
depends=('gcc-libs') | |
source=("glog-$pkgver.tar.gz::https://github.com/google/glog/archive/v$pkgver.tar.gz") | |
sha512sums=('a54a3b8b4b7660d7558ba5168c659bc3c8323c30908a4f6a4bbc6f9cd899350f3243aabc720daebfdeb799b276b51ba1eaa1a0f83149c4e1a038d552ada1ed72') | |
build() { | |
cd glog-$pkgver | |
./configure --prefix=/usr | |
make | |
} | |
package() { | |
cd glog-$pkgver | |
make DESTDIR="$pkgdir" install | |
# Lazy way of dealing with conflicting man and info pages... | |
rm -rf "$pkgdir"/usr/share | |
install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment