This is an automated email from the ASF dual-hosted git repository.

raulcd 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 7e703aae55 GH-39588: [CI][Go] Add CGO_ENABLED=1 to cdata_integration 
build to fix macOS build with conda (#39589)
7e703aae55 is described below

commit 7e703aae55c150c3556fe0dc972b575460cfb86b
Author: Raúl Cumplido <[email protected]>
AuthorDate: Sun Jan 14 15:43:00 2024 +0100

    GH-39588: [CI][Go] Add CGO_ENABLED=1 to cdata_integration build to fix 
macOS build with conda (#39589)
    
    ### Rationale for this change
    
    CI job has been failing since we added integration tests.
    
    ### What changes are included in this PR?
    
    Add `CGO_ENABLED=1` to go build cdata_integration on the verification 
script.
    
    ### Are these changes tested?
    
    Yes via archery.
    
    ### Are there any user-facing changes?
    
    No
    * Closes: #39588
    
    Authored-by: Raúl Cumplido <[email protected]>
    Signed-off-by: Raúl Cumplido <[email protected]>
---
 dev/release/verify-release-candidate.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev/release/verify-release-candidate.sh 
b/dev/release/verify-release-candidate.sh
index f12a5dc8b8..ab5c476768 100755
--- a/dev/release/verify-release-candidate.sh
+++ b/dev/release/verify-release-candidate.sh
@@ -935,7 +935,7 @@ test_go() {
         go_lib="arrow_go_integration.dll"
         ;;
     esac
-    go build -buildvcs=false -tags cdata_integration,assert 
-buildmode=c-shared -o ${go_lib} .
+    CGO_ENABLED=1 go build -buildvcs=false -tags cdata_integration,assert 
-buildmode=c-shared -o ${go_lib} .
     popd
   fi
   go clean -modcache

Reply via email to