alexdesiqueira opened a new pull request, #13094:
URL: https://github.com/apache/arrow/pull/13094

   The instructions on [Building Arrow C++ > CMake 
presets](https://arrow.apache.org/docs/developers/cpp/building.html#cmake-presets)
 will not run properly on Linux (tested on Debian 11):
   
   ```bash
   ❯ cmake --list-presets
   CMake Error: The source directory 
"/home/alex/projects/arrow/cpp/build/--list-presets" does not exist.
   Specify --help for usage, or press the help button on the CMake GUI.
   
   ❯ cmake .. --preset ninja-debug-minimal
   CMake Error: The source directory 
"/home/alex/projects/arrow/cpp/build/ninja-debug-minimal" does not exist.
   Specify --help for usage, or press the help button on the CMake GUI.
   
   ❯  cmake .. --preset ninja-debug-minimal -DCMAKE_INSTALL_PREFIX=/usr/local
   CMake Error: The source directory 
"/home/alex/projects/arrow/cpp/build/ninja-debug-minimal" does not exist.
   Specify --help for usage, or press the help button on the CMake GUI.
   ```
   
   According to cmake,
   
   ```bash
   ❯ cmake --help
   Usage
   
     cmake [options] <path-to-source>
     cmake [options] <path-to-existing-build>
     cmake [options] -S <path-to-source> -B <path-to-build>
   ```
   
   we would need to define the folder at the end of the command, or explicitly 
use `-S`. I'm going with the first option here.
   @pitrou since this is small change in my mind, I didn't open a ticket on 
Jira. Please let me know if I'm wrong :slightly_smiling_face: 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to