This is an automated email from the ASF dual-hosted git repository.
alenka pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/arrow.git
The following commit(s) were added to refs/heads/main by this push:
new 52704cbb4e MINOR: [Docs] Add note to Windows docs about patch util
(#47839)
52704cbb4e is described below
commit 52704cbb4e6c0275b36e5ffc6a395361be05c262
Author: Bryce Mecum <[email protected]>
AuthorDate: Mon Oct 20 23:11:43 2025 -0700
MINOR: [Docs] Add note to Windows docs about patch util (#47839)
### Rationale for this change
For certain C++ build configurations, we require `patch` to be in the
user's `PATH`. This was introduced in
https://github.com/apache/arrow/commit/e1f727cbb447d2385949a54d8f4be2fdc6cefe29
and a [Discussion pointed this
out](https://github.com/apache/arrow/discussions/47829#discussioncomment-14702132).
For Linux and macOS, it's pretty reasonable for us to assume `patch` is
available but not on Windows.
### What changes are included in this PR?
Adds a note in the "Debug" section of the Windows docs.
### Are these changes tested?
Yes, I'll add a screenshot to make review easier.
### Are there any user-facing changes?
No.
Authored-by: Bryce Mecum <[email protected]>
Signed-off-by: AlenkaF <[email protected]>
---
docs/source/developers/cpp/windows.rst | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/docs/source/developers/cpp/windows.rst
b/docs/source/developers/cpp/windows.rst
index f128157627..21bde92d0b 100644
--- a/docs/source/developers/cpp/windows.rst
+++ b/docs/source/developers/cpp/windows.rst
@@ -327,6 +327,12 @@ The command line to build Arrow in Debug mode will look
something like this:
-DBOOST_LIBRARYDIR=C:/local/boost_1_63_0/lib64-msvc-14.0
cmake --build . --config Debug
+Depending on the CMake variables or preset you use, you may need to have the
+``patch`` utility in your ``PATH``. There are a number of ways to do this. For
+example, if you're already using `Git for Windows
+<https://git-scm.com/downloads/win>`_, you could add ``C:\Program
+Files\Git\usr\bin`` to your ``PATH``.
+
Windows dependency resolution issues
====================================