[ 
https://issues.apache.org/jira/browse/ARROW-3265?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16762157#comment-16762157
 ] 

Kouhei Sutou commented on ARROW-3265:
-------------------------------------

I'm not sure the context but it's not important.

CPack can generate .deb, .rpm, .tar.gz, .zip (Windows binary package) and .exe 
(Windows installer) packages. (I just list packages what we are interested in.)

For .deb and .rpm, we already have them. And we can't use CPack based packages 
in the official Debian/Fedora repository. For example, MariaDB can use CPack 
for .rpmĀ https://mariadb.org/get-involved/packaging/ but Fedora doesn't use 
MariaDB's one: https://src.fedoraproject.org/rpms/mariadb/tree/master

For .tar.gz, we already have it.

For .zip (Windows binary package), we don't have it. CPack may be useful for 
this case. For example, I'm using CPack to generate .zip for PGroonga 
https://github.com/pgroonga/pgroonga/blob/master/CMakeLists.txt#L199 .
But we can do the same thing by {{cmake --build . --target install}} and {{7z a 
%INSTALL_FOLDER%}}:
https://github.com/groonga/groonga/blob/master/appveyor.yml#L94
https://github.com/groonga/groonga/blob/master/appveyor.yml#L119
In Groonga, I'm creating .zip for each commit on AppVeyor: 
https://ci.appveyor.com/project/groonga/groonga/builds/22159025/job/p6h7qxqgh2txgb9c/artifacts
For MSYS2 users, .zip is not needed. We should maintain 
https://github.com/Alexpux/MINGW-packages/tree/master/mingw-w64-arrow than .zip.
For Visual C++ users, vcpkg https://github.com/Microsoft/vcpkg support may be 
useful. But I don't use it yet.

For .exe (Windows installer), we don't have it. But I think that it's needless. 
Because Apache Arrow is a library not an application.

> [C++] Restore CPACK support for Parquet libraries
> -------------------------------------------------
>
>                 Key: ARROW-3265
>                 URL: https://issues.apache.org/jira/browse/ARROW-3265
>             Project: Apache Arrow
>          Issue Type: Improvement
>          Components: C++
>            Reporter: Wes McKinney
>            Priority: Major
>              Labels: parquet
>
> See https://github.com/apache/parquet-cpp/blob/master/CMakeLists.txt#L32



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to