pitrou commented on code in PR #37788:
URL: https://github.com/apache/arrow/pull/37788#discussion_r1335767143
##########
ci/scripts/go_build.sh:
##########
@@ -41,3 +41,22 @@ pushd ${source_dir}/parquet
go install -v ./...
popd
+
+if [[ -n "${ARROW_GO_INTEGRATION}" ]]; then
+ pushd ${source_dir}/arrow/internal/cdata_integration
+
+ case "$(uname)" in
+ Linux)
+ go_lib="arrow_go_integration.so"
+ ;;
+ Darwin)
+ go_lib="arrow_go_integration.so"
Review Comment:
Ok, according to https://stackoverflow.com/a/29226313, there's a theoretical
difference between the two which doesn't seem to matter in practice:
> The difference between .dylib and .so on mac os x is how they are
compiled. For .so files you use -shared and for .dylib you use -dynamiclib.
Both .so and .dylib are interchangeable as dynamic library files and either
have a type as DYLIB or BUNDLE. [...] The reason the two are equivalent on Mac
OS X is for backwards compatibility with other UNIX OS programs that compile to
the .so file type.
--
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]