This is an automated email from the ASF dual-hosted git repository.
kou 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 669830165a GH-49493: [C++][Python] Add OpenTelemetry to our
CMakePresets when bulding python-maximal (#49494)
669830165a is described below
commit 669830165a26eaa8169b3f5bef07137aec6f0711
Author: Raúl Cumplido <[email protected]>
AuthorDate: Thu Mar 12 07:18:38 2026 +0100
GH-49493: [C++][Python] Add OpenTelemetry to our CMakePresets when bulding
python-maximal (#49494)
### Rationale for this change
OpenTelemetry can be enabled when building Python. It is currently missing
from the `CMakePresets.json`
### What changes are included in this PR?
Add a `features-opentelemetry` which is added as part of
`features-python-maximal`. This one is used for `ninja-debug-maximal` or other
maximal features.
### Are these changes tested?
I tested locally with `ninja-debug-maximal` and validated that
OpenTelemetry was enabled. I don't think we test our presets on CI (at least I
haven't been able to find any `--preset ` presence)
### Are there any user-facing changes?
If a user is building using presets, now OpenTelemetry will be built, as
expected.
* GitHub Issue: #49493
Authored-by: Raúl Cumplido <[email protected]>
Signed-off-by: Sutou Kouhei <[email protected]>
---
cpp/CMakePresets.json | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/cpp/CMakePresets.json b/cpp/CMakePresets.json
index c3499f6b00..17f6317e17 100644
--- a/cpp/CMakePresets.json
+++ b/cpp/CMakePresets.json
@@ -131,6 +131,14 @@
"ARROW_GANDIVA": "ON"
}
},
+ {
+ "name": "features-opentelemetry",
+ "inherits": "features-basic",
+ "hidden": true,
+ "cacheVariables": {
+ "ARROW_WITH_OPENTELEMETRY": "ON"
+ }
+ },
{
"name": "features-python-minimal",
"inherits": [
@@ -162,6 +170,7 @@
"features-filesystems",
"features-flight-sql",
"features-gandiva",
+ "features-opentelemetry",
"features-python"
],
"hidden": true,