summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenda Xu <heroxbd@gentoo.org>2024-12-15 08:24:21 +0800
committerMichał Górny <mgorny@gentoo.org>2024-12-16 06:59:07 +0100
commit5c6388f051ed9d09af457aed18398d4340ad6c21 (patch)
tree530ce0fc38e8ddb0ea1f37edaa748c2871ccfcbf /dev-libs
parentdev-python/numexpr: Remove old (diff)
downloadgentoo-5c6388f051ed9d09af457aed18398d4340ad6c21.tar.gz
gentoo-5c6388f051ed9d09af457aed18398d4340ad6c21.tar.bz2
gentoo-5c6388f051ed9d09af457aed18398d4340ad6c21.zip
dev-libs/apache-arrow: use ON/OFF instead of yes/no in configure.
Arrow documents the build-time configuration in ArrowOptions.cmake. The file sets default options to ON/OFF. sci-CRAN/arrow from the R overlay using the R build system search the ArrowOptions.cmake file for line such as `set(ARROW_PARQUET "ON")` to determine which features are available in libarrow. Signed-off-by: Benda Xu <heroxbd@gentoo.org> Closes: https://github.com/gentoo/gentoo/pull/39716 Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-libs')
-rw-r--r--dev-libs/apache-arrow/apache-arrow-18.1.0-r1.ebuild (renamed from dev-libs/apache-arrow/apache-arrow-18.1.0.ebuild)26
1 files changed, 13 insertions, 13 deletions
diff --git a/dev-libs/apache-arrow/apache-arrow-18.1.0.ebuild b/dev-libs/apache-arrow/apache-arrow-18.1.0-r1.ebuild
index ba16c6ab26cc..e73d39b503a3 100644
--- a/dev-libs/apache-arrow/apache-arrow-18.1.0.ebuild
+++ b/dev-libs/apache-arrow/apache-arrow-18.1.0-r1.ebuild
@@ -84,27 +84,27 @@ src_prepare() {
src_configure() {
local mycmakeargs=(
-DARROW_BUILD_STATIC=OFF
- -DARROW_BUILD_TESTS=$(usex test)
- -DARROW_COMPUTE=$(usex compute)
+ -DARROW_BUILD_TESTS=$(usex test ON OFF)
+ -DARROW_COMPUTE=$(usex compute ON OFF)
-DARROW_CSV=ON
- -DARROW_DATASET=$(usex dataset)
+ -DARROW_DATASET=$(usex dataset ON OFF)
-DARROW_DEPENDENCY_SOURCE=SYSTEM
-DARROW_DOC_DIR=share/doc/${PF}
-DARROW_FILESYSTEM=ON
-DARROW_HDFS=ON
-DARROW_JEMALLOC=OFF
- -DARROW_JSON=$(usex json)
- -DARROW_PARQUET=$(usex parquet)
- -DPARQUET_REQUIRE_ENCRYPTION=$(usex ssl)
+ -DARROW_JSON=$(usex json ON OFF)
+ -DARROW_PARQUET=$(usex parquet ON OFF)
+ -DPARQUET_REQUIRE_ENCRYPTION=$(usex ssl ON OFF)
-DARROW_USE_CCACHE=OFF
-DARROW_USE_SCCACHE=OFF
- -DARROW_WITH_BROTLI=$(usex brotli)
- -DARROW_WITH_BZ2=$(usex bzip2)
- -DARROW_WITH_LZ4=$(usex lz4)
- -DARROW_WITH_RE2=$(usex re2)
- -DARROW_WITH_SNAPPY=$(usex snappy)
- -DARROW_WITH_ZLIB=$(usex zlib)
- -DARROW_WITH_ZSTD=$(usex zstd)
+ -DARROW_WITH_BROTLI=$(usex brotli ON OFF)
+ -DARROW_WITH_BZ2=$(usex bzip2 ON OFF)
+ -DARROW_WITH_LZ4=$(usex lz4 ON OFF)
+ -DARROW_WITH_RE2=$(usex re2 ON OFF)
+ -DARROW_WITH_SNAPPY=$(usex snappy ON OFF)
+ -DARROW_WITH_ZLIB=$(usex zlib ON OFF)
+ -DARROW_WITH_ZSTD=$(usex zstd ON OFF)
-DCMAKE_CXX_STANDARD=17
)
cmake_src_configure