[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
36/93: gnu: apache-arrow: Build with ORC.
From: |
guix-commits |
Subject: |
36/93: gnu: apache-arrow: Build with ORC. |
Date: |
Sun, 5 May 2024 16:44:51 -0400 (EDT) |
rekado pushed a commit to branch wip-python-team
in repository guix.
commit 8647aaaa1404b2dd3931b53489178e79de40fa6c
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Tue Apr 30 18:36:35 2024 +0200
gnu: apache-arrow: Build with ORC.
* gnu/packages/databases.scm (apache-arrow)[arguments]: Set options needed
to
build with ORC support; remove unused options
-DBENCHMARK_ENABLE_GTEST_TESTS=OFF and -DARROW_GLOG=ON.
[inputs]: Add apache-orc.
Change-Id: Icabe6e3a73478c8464ea1e8efc103899da8e5a86
---
gnu/packages/databases.scm | 123 +++++++++++++++++++++++----------------------
1 file changed, 62 insertions(+), 61 deletions(-)
diff --git a/gnu/packages/databases.scm b/gnu/packages/databases.scm
index 8ad73e400a..fd9a0a6d97 100644
--- a/gnu/packages/databases.scm
+++ b/gnu/packages/databases.scm
@@ -4626,68 +4626,69 @@ with integrated support for finding required rows
quickly.")
(setenv "BROTLI_HOME" #$(this-package-input "brotli"))
(setenv "FLATBUFFERS_HOME" #$(this-package-input "flatbuffers"))
(setenv "RAPIDJSON_HOME" #$(this-package-input "rapidjson")))))
- #:build-type "Release"
- #:configure-flags
- #~(list "-DARROW_PYTHON=ON"
- "-DARROW_GLOG=ON"
- ;; Parquet options
- "-DARROW_PARQUET=ON"
- "-DPARQUET_BUILD_EXECUTABLES=ON"
- ;; The maintainers disallow using system versions of
- ;; jemalloc:
- ;; https://issues.apache.org/jira/browse/ARROW-3507. This
- ;; is unfortunate because jemalloc increases performance:
- ;; https://arrow.apache.org/blog/2018/07/20/jemalloc/.
- "-DARROW_JEMALLOC=OFF"
-
- ;; The CMake option ARROW_DEPENDENCY_SOURCE is a global
- ;; option that instructs the build system how to resolve
- ;; each dependency. SYSTEM = Finding the dependency in
- ;; system paths using CMake's built-in find_package
- ;; function, or using pkg-config for packages that do not
- ;; have this feature
- "-DARROW_DEPENDENCY_SOURCE=SYSTEM"
- "-Dxsimd_SOURCE=SYSTEM"
-
- "-DARROW_RUNTIME_SIMD_LEVEL=NONE"
- "-DARROW_SIMD_LEVEL=NONE"
- "-DARROW_PACKAGE_KIND=Guix"
-
- ;; Split output into its component packages.
- (string-append "-DCMAKE_INSTALL_PREFIX=" #$output:lib)
- (string-append "-DCMAKE_INSTALL_RPATH=" #$output:lib "/lib")
- (string-append "-DCMAKE_INSTALL_BINDIR=" #$output "/bin")
- (string-append "-DCMAKE_INSTALL_INCLUDEDIR=" #$output:include
- "/share/include")
-
- "-DARROW_WITH_SNAPPY=ON"
- "-DARROW_WITH_ZLIB=ON"
- "-DARROW_WITH_ZSTD=ON"
- "-DARROW_WITH_LZ4=ON"
- "-DARROW_COMPUTE=ON"
- "-DARROW_CSV=ON"
- "-DARROW_DATASET=ON"
- "-DARROW_FILESYSTEM=ON"
- "-DARROW_HDFS=ON"
- "-DARROW_JSON=ON"
- ;; Arrow Python C++ integration library (required for
- ;; building pyarrow). This library must be built against
- ;; the same Python version for which you are building
- ;; pyarrow. NumPy must also be installed. Enabling this
- ;; option also enables ARROW_COMPUTE, ARROW_CSV,
- ;; ARROW_DATASET, ARROW_FILESYSTEM, ARROW_HDFS, and
- ;; ARROW_JSON.
- "-DARROW_PYTHON=ON"
-
- ;; Building the tests forces on all the
- ;; optional features and the use of static
- ;; libraries.
- "-DARROW_BUILD_TESTS=OFF"
- "-DBENCHMARK_ENABLE_GTEST_TESTS=OFF"
- ;;"-DBENCHMARK_ENABLE_TESTING=OFF"
- "-DARROW_BUILD_STATIC=OFF")))
+ #:build-type "Release"
+ #:configure-flags
+ #~(list "-DARROW_PYTHON=ON"
+ ;; Parquet options
+ "-DARROW_PARQUET=ON"
+ "-DPARQUET_BUILD_EXECUTABLES=ON"
+ ;; The maintainers disallow using system versions of
+ ;; jemalloc:
+ ;; https://issues.apache.org/jira/browse/ARROW-3507. This
+ ;; is unfortunate because jemalloc increases performance:
+ ;; https://arrow.apache.org/blog/2018/07/20/jemalloc/.
+ "-DARROW_JEMALLOC=OFF"
+
+ ;; The CMake option ARROW_DEPENDENCY_SOURCE is a global
+ ;; option that instructs the build system how to resolve
+ ;; each dependency. SYSTEM = Finding the dependency in
+ ;; system paths using CMake's built-in find_package
+ ;; function, or using pkg-config for packages that do not
+ ;; have this feature
+ "-DARROW_DEPENDENCY_SOURCE=SYSTEM"
+ "-Dxsimd_SOURCE=SYSTEM"
+
+ "-DARROW_RUNTIME_SIMD_LEVEL=NONE"
+ "-DARROW_SIMD_LEVEL=NONE"
+ "-DARROW_PACKAGE_KIND=Guix"
+
+ ;; Split output into its component packages.
+ (string-append "-DCMAKE_INSTALL_PREFIX=" #$output:lib)
+ (string-append "-DCMAKE_INSTALL_RPATH=" #$output:lib "/lib")
+ (string-append "-DCMAKE_INSTALL_BINDIR=" #$output "/bin")
+ (string-append "-DCMAKE_INSTALL_INCLUDEDIR=" #$output:include
+ "/share/include")
+
+ "-DARROW_WITH_SNAPPY=ON"
+ "-DARROW_WITH_ZLIB=ON"
+ "-DARROW_WITH_ZSTD=ON"
+ "-DARROW_WITH_LZ4=ON"
+ "-DARROW_COMPUTE=ON"
+ "-DARROW_CSV=ON"
+ "-DARROW_DATASET=ON"
+ "-DARROW_FILESYSTEM=ON"
+ "-DARROW_HDFS=ON"
+ "-DARROW_JSON=ON"
+ ;; Arrow Python C++ integration library (required for
+ ;; building pyarrow). This library must be built against
+ ;; the same Python version for which you are building
+ ;; pyarrow. NumPy must also be installed. Enabling this
+ ;; option also enables ARROW_COMPUTE, ARROW_CSV,
+ ;; ARROW_DATASET, ARROW_FILESYSTEM, ARROW_HDFS, and
+ ;; ARROW_JSON.
+ "-DARROW_PYTHON=ON"
+ "-DARROW_ORC=ON"
+ "-DORC_SOURCE=SYSTEM"
+
+ ;; Building the tests forces on all the
+ ;; optional features and the use of static
+ ;; libraries.
+ "-DARROW_BUILD_TESTS=OFF"
+ ;;"-DBENCHMARK_ENABLE_TESTING=OFF"
+ "-DARROW_BUILD_STATIC=OFF")))
(inputs
- (list boost
+ (list apache-orc
+ boost
brotli
bzip2
double-conversion
- 55/93: gnu: python-pandas-stubs: Accept numpy 1.23., (continued)
- 55/93: gnu: python-pandas-stubs: Accept numpy 1.23., guix-commits, 2024/05/05
- 57/93: gnu: python-umap-learn: Disable failing test., guix-commits, 2024/05/05
- 58/93: gnu: python-dask: Propagate python-dask-expr., guix-commits, 2024/05/05
- 15/93: gnu: Add python-clarabel., guix-commits, 2024/05/05
- 56/93: gnu: python-umap-learn: Update to 0.5.6., guix-commits, 2024/05/05
- 80/93: gnu: python-statmake: Adjust tests and version checks., guix-commits, 2024/05/05
- 86/93: gnu: python-plotnine: Disable test because of harmless warning., guix-commits, 2024/05/05
- 89/93: gnu: python-pingouin: Update to 0.5.4., guix-commits, 2024/05/05
- 30/93: gnu: python-cython-3: Update to 3.0.8., guix-commits, 2024/05/05
- 33/93: gnu: python-tabulate: Update to 0.9.0., guix-commits, 2024/05/05
- 36/93: gnu: apache-arrow: Build with ORC.,
guix-commits <=
- 39/93: gnu: python-dask: Update to 2024.4.2., guix-commits, 2024/05/05
- 40/93: gnu: python-partd: Update to 1.4.1., guix-commits, 2024/05/05
- 45/93: gnu: Add python-awkward., guix-commits, 2024/05/05
- 47/93: gnu: python-anndata: Update to 0.10.7., guix-commits, 2024/05/05
- 48/93: gnu: python-biom-format: Untangle from python-scikit-bio., guix-commits, 2024/05/05
- 50/93: gnu: python-pandas-stubs: Update tests., guix-commits, 2024/05/05
- 54/93: gnu: python-dask: Disable all tokenize tests., guix-commits, 2024/05/05
- 62/93: gnu: tadbit: Update to 1.0.1-2.2838129., guix-commits, 2024/05/05
- 12/93: gnu: Add python-multiscale-spatial-image., guix-commits, 2024/05/05
- 16/93: gnu: Add python-fastcluster., guix-commits, 2024/05/05