-
Notifications
You must be signed in to change notification settings - Fork 3.7k
[DNM] GH-46726: [CI][Dev] fix shellcheck errors in the ci/scripts/conan_build.sh #46727
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
[DNM] GH-46726: [CI][Dev] fix shellcheck errors in the ci/scripts/conan_build.sh #46727
Conversation
|
@github-actions crossbow submit -g conan |
ci/scripts/conan_build.sh
Outdated
conan_args+=(--options arrow/*:parquet=${ARROW_CONAN_PARQUET}) | ||
conan_args+=(--options arrow/*:with_thrift=${ARROW_CONAN_PARQUET}) | ||
conan_args+=(--options arrow/*:with_boost=${ARROW_CONAN_PARQUET}) | ||
conan_args+=(--options arrow/*:parquet="${ARROW_CONAN_PARQUET}") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
conan_args+=(--options arrow/*:parquet="${ARROW_CONAN_PARQUET}") | |
conan_args+=(--options "arrow/*:parquet=${ARROW_CONAN_PARQUET}") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I want to double check just in case.
Does the '*' character is just the character not a wildcard character ?
And suggested change means not only parquet
but also with_thrift
and with_boost
too?
conan_args+=(--options "arrow/*:parquet=${ARROW_CONAN_PARQUET}")
conan_args+=(--options "arrow/*:with_thrift=${ARROW_CONAN_PARQUET}")
conan_args+=(--options "arrow/*:with_boost=${ARROW_CONAN_PARQUET}")
and the rest of belows
if [ -n "${ARROW_CONAN_WITH_GLOG:-}" ]; then
conan_args+=(--options arrow/*:with_glog="${ARROW_CONAN_WITH_GLOG}")
fi
if [ -n "${ARROW_CONAN_WITH_JEMALLOC:-}" ]; then
conan_args+=(--options arrow/*:with_jemalloc="${ARROW_CONAN_WITH_JEMALLOC}")
fi
if [ -n "${ARROW_CONAN_WITH_JSON:-}" ]; then
conan_args+=(--options arrow/*:with_json="${ARROW_CONAN_WITH_JSON}")
fi
if [ -n "${ARROW_CONAN_WITH_LZ4:-}" ]; then
conan_args+=(--options arrow/*:with_lz4="${ARROW_CONAN_WITH_LZ4}")
fi
if [ -n "${ARROW_CONAN_WITH_SNAPPY:-}" ]; then
conan_args+=(--options arrow/*:with_snappy="${ARROW_CONAN_WITH_SNAPPY}")
fi
if [ -n "${ARROW_CONAN_WITH_ZSTD:-}" ]; then
conan_args+=(--options arrow/*:with_zstd="${ARROW_CONAN_WITH_ZSTD}")
fi
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks! done.
Revision: 07e75eb Submitted crossbow builds: ursacomputing/crossbow @ actions-fad6f67540
|
Co-authored-by: Sutou Kouhei <[email protected]>
It seems that https://github.com/ursacomputing/crossbow/actions/runs/15484349076/job/43595828887#step:6:1006
|
Let's fix the failure before this. |
…ipts/conan_build.sh" This reverts commit 07e75eb~1..
Thanks. I reverted all commits for testing conan-minimum build failure. After resolve build failure I will modify quote again. |
@github-actions crossbow submit -g conan |
Revision: c488ecb Submitted crossbow builds: ursacomputing/crossbow @ actions-e4ffbae60d
|
…ripts/conan_build.sh" This reverts commit c488ecb.
conan-minimum build failure unrelated this change. |
Rationale for this change
This is the sub issue #44748.
What changes are included in this PR?
Add quote like
"${ARROW_CONAN_PARQUET}"
Are these changes tested?
Yes.
Are there any user-facing changes?
No.