You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "Benjamin Kietzman (JIRA)" <ji...@apache.org> on 2019/06/17 20:43:00 UTC

[jira] [Commented] (ARROW-5414) [C++] Using "Ninja" build system generator overrides default Release build type on Windows

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

Benjamin Kietzman commented on ARROW-5414:
------------------------------------------

I can reproduce with {{cmake -G Ninja ..}}. It seems {{CMAKE_BUILD_TYPE}} is set to debug before CMakeLists.txt is parsed; seems like a bug in CMake.

> [C++] Using "Ninja" build system generator overrides default Release build type on Windows
> ------------------------------------------------------------------------------------------
>
>                 Key: ARROW-5414
>                 URL: https://issues.apache.org/jira/browse/ARROW-5414
>             Project: Apache Arrow
>          Issue Type: Bug
>          Components: C++
>            Reporter: Wes McKinney
>            Assignee: Benjamin Kietzman
>            Priority: Major
>             Fix For: 0.14.0
>
>
> Ran into this infuriating issue today. See gist
> https://gist.github.com/wesm/c3dd87279ec20b2f2d12665fd264bfef
> The cmake invocation that produces this is
> {code}
> cmake -G "Ninja" ^
>       -DCMAKE_INSTALL_PREFIX=%ARROW_HOME% ^
>       -DARROW_BUILD_TESTS=on ^
>       -DARROW_CXXFLAGS="/WX /MP" ^
>       -DARROW_GANDIVA=on ^
>       -DARROW_PARQUET=on ^
>       -DARROW_PYTHON=on ^
>       ..
> {code}



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