You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "Will Jones (Jira)" <ji...@apache.org> on 2021/11/17 20:50:00 UTC

[jira] [Commented] (ARROW-14714) [C++] Improve and document CMake presets

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

Will Jones commented on ARROW-14714:
------------------------------------

Here is what I got for a minimal R build:

{code:json}
      {
        "name": "ninja-r-minimal",
        "description": "Build for R package",
        "inherits": "ninja-release",
        "cacheVariables": {
          "ARROW_DATASET": "ON",
          "ARROW_EXTRA_ERROR_CONTEXT": "ON",
          "ARROW_FILESYSTEM": "ON",
          "ARROW_INSTALL_NAME_RPATH": "OFF",
          "ARROW_JEMALLOC": "ON",
          "ARROW_JSON": "ON",
          "ARROW_PARQUET": "ON",
          "ARROW_WITH_SNAPPY": "ON",
          "ARROW_WITH_ZLIB": "ON",
          "CMAKE_INSTALL_PREFIX": {
            "type": "PATH",
            "value": "$env{ARROW_HOME}"
          }
        }
      }
{code}

ARROW-14678 introduced build directory of {code}"${sourceDir}/build/${presetName}"{code}, thought the developer docs typically just directly use a "build" directory. 


> [C++] Improve and document CMake presets
> ----------------------------------------
>
>                 Key: ARROW-14714
>                 URL: https://issues.apache.org/jira/browse/ARROW-14714
>             Project: Apache Arrow
>          Issue Type: Task
>          Components: C++, Developer Tools, Documentation
>            Reporter: Antoine Pitrou
>            Assignee: Antoine Pitrou
>            Priority: Minor
>             Fix For: 7.0.0
>
>
> As a followup to ARROW-14678, we should try to ensure that CMake presets address the usual developer workflows. We should also minimally document them to guide the user towards them.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)