From 9d4dcc903e84732a6e14d61aece1f9a1d096f7c9 Mon Sep 17 00:00:00 2001 From: Benjamin Kietzman Date: Mon, 19 Aug 2024 14:01:57 -0500 Subject: [PATCH] GH-38847: [Documentation][C++] Explicitly note that compute is optional (#43629) ### Rationale for this change A user didn't know from reading just the compute documentation that compute is an optional feature. We can make that explicit ### What changes are included in this PR? Added a cross-reference to the optional features section ### Are these changes tested? No ### Are there any user-facing changes? No * GitHub Issue: #38847 Authored-by: Benjamin Kietzman Signed-off-by: Benjamin Kietzman --- docs/source/cpp/tutorials/compute_tutorial.rst | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/docs/source/cpp/tutorials/compute_tutorial.rst b/docs/source/cpp/tutorials/compute_tutorial.rst index a650865d75ce4..72ebc35650d5c 100644 --- a/docs/source/cpp/tutorials/compute_tutorial.rst +++ b/docs/source/cpp/tutorials/compute_tutorial.rst @@ -39,7 +39,9 @@ Pre-requisites Before continuing, make sure you have: -1. An Arrow installation, which you can set up here: :doc:`/cpp/build_system` +1. An Arrow installation, which you can set up here: :doc:`/cpp/build_system`. + If you're compiling Arrow yourself, be sure you compile with the compute module + enabled (i.e., ``-DARROW_COMPUTE=ON``), see :ref:`cpp_build_optional_components`. 2. An understanding of basic Arrow data structures from :doc:`/cpp/tutorials/basic_arrow` @@ -50,7 +52,7 @@ Before running some computations, we need to fill in a couple gaps: 1. We need to include necessary headers. -2. ``A main()`` is needed to glue things together. +2. A ``main()`` is needed to glue things together. 3. We need data to play with.