kszucs commented on pull request #10659:
URL: https://github.com/apache/arrow/pull/10659#issuecomment-879953917


   @kou @xhochy seems like openssl [doesn't provide a build 
preset](https://github.com/openssl/openssl/blob/1c0eede9827b0962f1d752fa4ab5d436fa039da4/Configurations/10-main.conf#L1581)
 for universal2 macOS binaries yet, so setting `VCPKG_OSX_ARCHITECTURES` can't 
propagate the necessary settings to the OpenSSL build. 
   I managed to overcome the issue by [merging the arm64 and x86_64 static 
binaries manually using 
lipo](https://github.com/apache/arrow/pull/10659/files#diff-5be10d80211782bf839174974e27e5b2a964889513433244f6916e91df9802c9R69-R86).
   
   Another option would be to use the 
[delocate-fuse](https://github.com/matthew-brett/delocate/blob/master/delocate/fuse.py)
 utility, but since the `VCPKG_OSX_ARCHITECTURES` approach works for the rest 
of the dependencies I chose to stick with it.
   


-- 
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: github-unsubscr...@arrow.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to