diff --git a/PKGBUILD b/PKGBUILD index 4bbcd34..b825ca3 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -8,12 +8,11 @@ pkgdesc="Columnar in-memory analytics layer for big data." arch=(x86_64) url="https://arrow.apache.org" license=(Apache) -depends=(apache-orc boost-libs brotli bzip2 double-conversion c-ares gflags - grpc google-glog jemalloc libutf8proc lz4 openssl protobuf rapidjson re2 - snappy thrift uriparser xsimd zlib zstd) +depends=(apache-orc brotli bzip2 gflags grpc google-glog libutf8proc + lz4 openssl protobuf re2 snappy thrift zlib zstd) provides=(parquet-cpp) conflicts=(parquet-cpp) -makedepends=(boost cmake flatbuffers gmock python-numpy git clang) +makedepends=(boost clang cmake flatbuffers git gmock rapidjson xsimd) source=(https://archive.apache.org/dist/${pkgname}/${pkgname}-${pkgver}/apache-${pkgname}-${pkgver}.tar.gz{,.asc} arrow-10.0.1-gRPC-use-find_package.patch git+https://github.com/apache/parquet-testing.git @@ -33,9 +32,6 @@ prepare() { build(){ CC=clang \ CXX=clang++ \ - ARROW_BUILD_TOOLCHAIN=/usr \ - ORC_HOME=/usr \ - DOUBLE_CONVERSION_HOME=/usr \ cmake \ -B build -S apache-${pkgname}-${pkgver}/cpp \ -DCMAKE_INSTALL_PREFIX="/usr" \ @@ -45,6 +41,7 @@ build(){ -DARROW_DEPENDENCY_SOURCE=SYSTEM \ -DARROW_BUILD_TESTS=ON \ -DARROW_COMPUTE=ON \ + -DARROW_CSV=ON \ -DARROW_SUBSTRAIT=ON \ -DARROW_FLIGHT=ON \ -DARROW_FLIGHT_SQL=ON \ @@ -55,7 +52,6 @@ build(){ -DARROW_ORC=ON \ -DARROW_PARQUET=ON \ -DARROW_PLASMA=ON \ - -DARROW_PYTHON=ON \ -DARROW_TENSORFLOW=ON \ -DARROW_USE_GLOG=ON \ -DARROW_WITH_BROTLI=ON \ @@ -64,7 +60,8 @@ build(){ -DARROW_WITH_SNAPPY=ON \ -DARROW_WITH_ZLIB=ON \ -DARROW_WITH_ZSTD=ON \ - -DPARQUET_REQUIRE_ENCRYPTION=ON + -DPARQUET_REQUIRE_ENCRYPTION=ON \ + -Wno-dev make -C build } @@ -73,10 +70,10 @@ check(){ ARGS="-E parquet-internals-test" \ PARQUET_TEST_DATA="${srcdir}"/parquet-testing/data \ ARROW_TEST_DATA="${srcdir}"/arrow-testing/data \ - make -C build test + ctest --test-dir build --output-on-failure } package(){ - make -C build DESTDIR="${pkgdir}" install + DESTDIR="$pkgdir" cmake --install build find "${pkgdir}"/usr/lib/ -name '*testing*' -delete }