Skip to content

Commit

Permalink
apacheGH-39588: [CI][Go] Add CGO_ENABLED=1 to cdata_integration build…
Browse files Browse the repository at this point in the history
… to fix macOS build with conda (apache#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: apache#39588

Authored-by: Raúl Cumplido <raulcumplido@gmail.com>
Signed-off-by: Raúl Cumplido <raulcumplido@gmail.com>
  • Loading branch information
raulcd authored and thisisnic committed Mar 8, 2024
1 parent 7f07a06 commit b0b844b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dev/release/verify-release-candidate.sh
Expand Up @@ -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
Expand Down

0 comments on commit b0b844b

Please sign in to comment.