-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
GH-37535: [C++][Parquet] Add missing "thrift" dependency in parquet.pc #37603
Conversation
@github-actions crossbow submit test-r-dev-duckdb |
|
Revision: e69b819 Submitted crossbow builds: ursacomputing/crossbow @ actions-ab2eef7c21
|
@github-actions crossbow submit test-r-gcc-* |
Revision: e69b819 Submitted crossbow builds: ursacomputing/crossbow @ actions-2be519e29b
|
Might now related, after #37461 , I changed some parquet generated thrift. Don't know would it affect the parquet.pc |
I don't think so. |
@@ -533,6 +533,9 @@ set(ARROW_TESTING_PC_LIBS "") | |||
set(ARROW_TESTING_PC_REQUIRES "") | |||
|
|||
# For parquet.pc. | |||
set(PARQUET_PC_CFLAGS "") | |||
set(PARQUET_PC_CFLAGS_PRIVATE " -DPARQUET_STATIC") |
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.
Is this a hack? Or Cflags.private
requires only static linking?
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.
This is not a hack.
This is a normal .pc
usage.
Or
Cflags.private
requires only static linking?
Right.
pkg-config --cflags parquet
uses only Cflags
and
pkg-config --cflags --static parquet
uses both of Cflags
and Cflags.private
.
#37461 isn't related. :-) |
bf110e9
to
b349d80
Compare
@github-actions crossbow submit test-r-dev-duckdb test-r-gcc-* |
Revision: b349d80 Submitted crossbow builds: ursacomputing/crossbow @ actions-4c4b8bc409
|
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.
@assignUser FYI: Changes for this file are for using pkg-config for not only arrow.pc
but also parquet.pc
/arrow-dataset.pc
/arrow-acero.pc
/arrow-substrait.pc
. libarrow.a
doesn't depend on Thrift. libparquet.a
depends on Thrift. So I removed thrift
from Requires.private
of arrow.pc
by #37399. But I forgot to add thrift
to Requires.private
of parquet.pc
. This is fixed by other changes in this PR. But R failures weren't fixed because r/configure
uses pkg-config only for arrow.pc
. Requires.private: thrift
in parquet.pc
wasn't used. So I also changed r/configure
to use pkg-config for parquet.pc
/arrow-dataset.pc
/arrow-acero.pc
/arrow-substrait.pc
too.
I'll merge this in the next week if nobody objects this. |
@github-actions crossbow submit -g r |
Revision: b349d80 Submitted crossbow builds: ursacomputing/crossbow @ actions-1ca961daae |
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.
The r failures are unrelated e.g. due to #37639
Thanks. |
After merging your PR, Conbench analyzed the 6 benchmarking runs that have been run so far on merge-commit c0c56e8. There were 5 benchmark results indicating a performance regression:
The full Conbench report has more details. It also includes information about possible false positives for unstable benchmarks that are known to sometimes produce them. |
…quet.pc (apache#37603) ### Rationale for this change apacheGH-37399 removed "thrift" pkg-config package dependency from "parquet" pkg-config package accidentally. Before apacheGH-37399, "arrow" pkg-config packages has "thrift" pkg-config package dependency as `Requires.private`. ### What changes are included in this PR? Add "thrift" to `Requires.private` of `parquet.pc`. ### Are these changes tested? Yes. ### Are there any user-facing changes? Yes. * Closes: apache#37535 Authored-by: Sutou Kouhei <kou@clear-code.com> Signed-off-by: Sutou Kouhei <kou@clear-code.com>
…quet.pc (apache#37603) ### Rationale for this change apacheGH-37399 removed "thrift" pkg-config package dependency from "parquet" pkg-config package accidentally. Before apacheGH-37399, "arrow" pkg-config packages has "thrift" pkg-config package dependency as `Requires.private`. ### What changes are included in this PR? Add "thrift" to `Requires.private` of `parquet.pc`. ### Are these changes tested? Yes. ### Are there any user-facing changes? Yes. * Closes: apache#37535 Authored-by: Sutou Kouhei <kou@clear-code.com> Signed-off-by: Sutou Kouhei <kou@clear-code.com>
Rationale for this change
GH-37399 removed "thrift" pkg-config package dependency from "parquet" pkg-config package accidentally.
Before GH-37399, "arrow" pkg-config packages has "thrift" pkg-config package dependency as
Requires.private
.What changes are included in this PR?
Add "thrift" to
Requires.private
ofparquet.pc
.Are these changes tested?
Yes.
Are there any user-facing changes?
Yes.