Uploaded image for project: 'Apache Arrow'
  1. Apache Arrow
  2. ARROW-7940

[C++] Unable to generate cmake build with settings other than default

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.16.0
    • 0.17.0
    • C++
    • Windows 10
      Visual Studio 2019 Build Tools 16.4.5

    Description

      Steps to reproduce:

      1. Install conda-forge as described here: https://arrow.apache.org/docs/developers/cpp/windows.html#using-conda-forge-for-build-dependencies
      2. Install ninja+clcache https://arrow.apache.org/docs/developers/cpp/windows.html#building-with-ninja-and-clcache
      3. (git bash) git clone https://github.com/apache/arrow.git
        cd arrow/
        git checkout apache-arrow-0.16.0
      4. (cmd)
        call C:\Users\vvv\Miniconda3\Scripts\activate.bat C:\Users\vvv\Miniconda3
        call "C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Auxiliary\Build\vcvarsall.bat" x64
        call conda activate arrow-dev
      5. cd arrow\cpp
        mkdir build
        cd build
      6. cmake -G "Ninja" -DARROW_BUILD_EXAMPLES=ON -DARROW_BUILD_UTILITIES=ON -DARROW_FLIGHT=ON -DARROW_GANDIVA=ON -DARROW_PARQUET=ON ..
      7. cmake --build . --config Release

      Expected results: Examples, utilities, flight, gandiva, parquet built.

      Actual results: Default configuration and none of the above built. cmake_summary.json indicates all these features OFF. Following lines in the output of cmake:

      -- Configuring done
      You have changed variables that require your cache to be deleted.
      Configure will be re-run and you may have to reset some variables.
      The following variables have changed:
      CMAKE_CXX_COMPILER= C:/Program Files (x86)/Microsoft Visual Studio/2019/BuildTools/VC/Tools/MSVC/14.24.28314/bin/Hostx64/x64/cl.exe
      -- Building using CMake version: 3.16.4 

      Full cmake output attached

      Attachments

        1. log.txt
          28 kB
          Valery Vybornov

        Issue Links

          Activity

            People

              vvybornov Valery Vybornov
              vvybornov Valery Vybornov
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 1.5h
                  1.5h