gnu: apache-arrow: Update to 6.0.1.

* gnu/packages/databases.scm (apache-arrow): Update to 6.0.1.
[arguments]: Add configuration options to disable micro-architecture
optimizations; also set ARROW_PACKAGE_KIND to Guix.
[inputs]: Move apache-thrift, lz4, zlib, and zstd from here...
[propagated-inputs]: ...to here.
This commit is contained in:
Ricardo Wurmus 2021-11-23 10:17:00 +01:00
parent 7f974548ac
commit b60089e837
No known key found for this signature in database
GPG Key ID: 197A5888235FACAC

View File

@ -3746,7 +3746,7 @@ the SQL language using a syntax that reflects the resulting query.")
(define-public apache-arrow (define-public apache-arrow
(package (package
(name "apache-arrow") (name "apache-arrow")
(version "5.0.0") (version "6.0.1")
(source (source
(origin (origin
(method git-fetch) (method git-fetch)
@ -3756,7 +3756,7 @@ the SQL language using a syntax that reflects the resulting query.")
(file-name (git-file-name name version)) (file-name (git-file-name name version))
(sha256 (sha256
(base32 (base32
"0275aayzy78nbxzbj93w5152sv5q2c7020ijxnf8b58v9qwfxzz0")))) "0mcw361akqw4sxnnpnr9c9v1zk4hphk6gcq763pcb19yzljh88ig"))))
(build-system cmake-build-system) (build-system cmake-build-system)
(arguments (arguments
`(#:tests? #f `(#:tests? #f
@ -3795,6 +3795,10 @@ the SQL language using a syntax that reflects the resulting query.")
"-DARROW_DEPENDENCY_SOURCE=SYSTEM" "-DARROW_DEPENDENCY_SOURCE=SYSTEM"
"-Dxsimd_SOURCE=SYSTEM" "-Dxsimd_SOURCE=SYSTEM"
"-DARROW_RUNTIME_SIMD_LEVEL=NONE"
"-DARROW_SIMD_LEVEL=NONE"
"-DARROW_PACKAGE_KIND=Guix"
;; Split output into its component packages. ;; Split output into its component packages.
(string-append "-DCMAKE_INSTALL_PREFIX=" (string-append "-DCMAKE_INSTALL_PREFIX="
(assoc-ref %outputs "lib")) (assoc-ref %outputs "lib"))
@ -3836,23 +3840,25 @@ the SQL language using a syntax that reflects the resulting query.")
;;"-DBENCHMARK_ENABLE_TESTING=OFF" ;;"-DBENCHMARK_ENABLE_TESTING=OFF"
"-DARROW_BUILD_STATIC=OFF"))) "-DARROW_BUILD_STATIC=OFF")))
(inputs (inputs
`(("apache-thrift" ,apache-thrift "lib") `(("boost" ,boost)
("boost" ,boost)
("brotli" ,brotli) ("brotli" ,brotli)
("bzip2" ,bzip2) ("bzip2" ,bzip2)
("double-conversion" ,double-conversion) ("double-conversion" ,double-conversion)
("gflags" ,gflags) ("gflags" ,gflags)
("glog" ,glog) ("glog" ,glog)
("grpc" ,grpc) ("grpc" ,grpc)
("lz4" ,lz4)
("protobuf" ,protobuf) ("protobuf" ,protobuf)
("python-3" ,python) ("python-3" ,python)
("python-numpy" ,python-numpy) ("python-numpy" ,python-numpy)
("rapidjson" ,rapidjson) ("rapidjson" ,rapidjson)
("re2" ,re2) ("re2" ,re2)
("snappy" ,snappy) ("snappy" ,snappy)
("xsimd" ,xsimd)))
;; These are all listed under Requires.private in arrow.pc
(propagated-inputs
`(("apache-thrift" ,apache-thrift "lib")
("lz4" ,lz4)
("utf8proc" ,utf8proc) ("utf8proc" ,utf8proc)
("xsimd" ,xsimd)
("zlib" ,zlib) ("zlib" ,zlib)
("zstd" ,zstd "lib"))) ("zstd" ,zstd "lib")))
(native-inputs (native-inputs