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

   ### Rationale for this change
   
   GitHub Actions self-hosted runner for macOS has
   /usr/local/include/openssl/ provided by OpenSSL 3 (`openssl@3`). Our include 
paths have `... -isystem /usr/local/include -isystem 
/usr/local/opt/[email protected]/include ...`. It means that 
`/usr/local/include/openssl/...` is used for `#include <openssl/...>`.
   
   If we mix OpenSSL 3 headers and OpenSSL 1.1 libraries, we may get some 
problems such as a link error.
   
   ### What changes are included in this PR?
   
   This uses OpenSSL 3 instead of OpenSSL 1.1 because GitHub Actions 
self-hosted runner for macOS provides OpenSSL 3 by /usr/local/include/openssl/. 
Note that `$(brew --prefix openssl@3)/include` isn't linked as 
/usr/local/include/openssl` by default. So I think that Homebrew GitHub Actions 
self-hosted runner for macOS does it explicitly.
   
   Other solution: Unlinking `/usr/local/include/openssl` by `brew unlink 
openssl@3`. But there is no reason to use OpenSSL 1.1 for us. So this PR 
doesn't use this solution.
   
   ### Are these changes tested?
   
   Yes.
   
   ### Are there any user-facing changes?
   
   Yes.


-- 
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