Repository navigation
GH-46159: [CI][C++] Stop using possibly missing boost/process/v2.hpp on boost 1.88 and use individual includes - #46160
Conversation
…2.hpp on boost 1.88 and use individual includes
|
|
|
@github-actions crossbow submit verify-rc-source-integration-macos-amd64 |
|
Revision: 50dbdac Submitted crossbow builds: ursacomputing/crossbow @ actions-ed56ead6bc
|
|
The job is now using bootst 1.87 |
kou
left a comment
There was a problem hiding this comment.
+1
But how about this?
diff --git a/cpp/src/arrow/testing/process.cc b/cpp/src/arrow/testing/process.cc
index b1c4fa5550..a94da86c94 100644
--- a/cpp/src/arrow/testing/process.cc
+++ b/cpp/src/arrow/testing/process.cc
@@ -39,10 +39,19 @@
# ifdef __APPLE__
# include <sys/sysctl.h>
# endif
-# include <boost/process/v2.hpp>
+# endif
+# include <boost/process/v2/environment.hpp>
+# include <boost/process/v2/error.hpp>
+# include <boost/process/v2/execute.hpp>
+# include <boost/process/v2/exit_code.hpp>
+# include <boost/process/v2/pid.hpp>
+# include <boost/process/v2/popen.hpp>
+# include <boost/process/v2/process.hpp>
+# include <boost/process/v2/process_handle.hpp>
+# include <boost/process/v2/start_dir.hpp>
+# include <boost/process/v2/stdio.hpp>
+# ifdef BOOST_PROCESS_NEED_SOURCE
# include <boost/process/v2/src.hpp>
-# else
-# include <boost/process/v2.hpp>
# endif
# include <unordered_map>
# else|
@github-actions crossbow submit verify-rc-source-integration-macos-amd64 |
|
Revision: 3ade5dd Submitted crossbow builds: ursacomputing/crossbow @ actions-4e85a276e1
|
|
After merging your PR, Conbench analyzed the 4 benchmarking runs that have been run so far on merge-commit 0ae5c86. There were no benchmark performance regressions. 🎉 The full Conbench report has more details. |
…on boost 1.88 and use individual includes (#46160) ### Rationale for this change Similar to #46113 but for boost v2. The files `v1.hpp` and `v2.hpp` have been removed from `include/boost/process` on `1.88`: https://github.com/boostorg/process/tree/develop/include/boost/process but were available on `1.87`: https://github.com/boostorg/process/blob/boost-1.87.0/include/boost/process/v1.hpp https://github.com/boostorg/process/blob/boost-1.87.0/include/boost/process/v2.hpp ### What changes are included in this PR? Stop using include for possible missing file and add individual includes ### Are these changes tested? Via CI ### Are there any user-facing changes? No * GitHub Issue: #46159 Authored-by: Raúl Cumplido <raulcumplido@gmail.com> Signed-off-by: Jacob Wujciak-Jens <jacob@wujciak.de>
gitmodimo
left a comment
There was a problem hiding this comment.
<boost/process/v2/src.hpp> should also be removed. Is does not exist since boost 1.86.
boostorg/process#411
Rationale for this change
Similar to #46113 but for boost v2.
The files
v1.hppandv2.hpphave been removed frominclude/boost/processon1.88:https://github.com/boostorg/process/tree/develop/include/boost/process
but were available on
1.87:https://github.com/boostorg/process/blob/boost-1.87.0/include/boost/process/v1.hpp
https://github.com/boostorg/process/blob/boost-1.87.0/include/boost/process/v2.hpp
What changes are included in this PR?
Stop using include for possible missing file and add individual includes
Are these changes tested?
Via CI
Are there any user-facing changes?
No