Skip to content

Conversation

@kou
Copy link
Member

@kou kou commented Jan 17, 2023

Rationale for this change

If bzip2 is installed for debug build and release build on Windows, find_package(BZip2)
returns both static library paths of them.

What changes are included in this PR?

We should use one of detected library paths in arrow.pc.

The bzip2's official build system doesn't provide bzip2.pc but vcpkg provides bzip2.pc. We can use it instead of detecting bzip2's static library path by ourselves.

Are these changes tested?

Yes. We test these changes in #15139 manually.

Are there any user-facing changes?

No.

@github-actions
Copy link

… arrow.pc

If bzip2 is installed for debug build and release build on Windows,
find_package(BZip2) returns both static library paths of them. We
should use one of them in arrow.pc.

The bzip2's official build system doesn't provide bzip2.pc but vcpkg
provides bzip2.pc. We can use it instead of detecting bzip2's static
library path by ourselves.
@kou
Copy link
Member Author

kou commented Jan 18, 2023

+1

@kou kou merged commit 359f28b into apache:master Jan 18, 2023
@kou kou deleted the cpp-pc-bzip2 branch January 18, 2023 14:21
@ursabot
Copy link

ursabot commented Jan 20, 2023

Benchmark runs are scheduled for baseline = e837f73 and contender = 359f28b. 359f28b is a master commit associated with this PR. Results will be available as each benchmark for each run completes.
Conbench compare runs links:
[Finished ⬇️0.0% ⬆️0.0%] ec2-t3-xlarge-us-east-2
[Failed] test-mac-arm
[Finished ⬇️1.28% ⬆️0.0%] ursa-i9-9960x
[Finished ⬇️0.19% ⬆️0.0%] ursa-thinkcentre-m75q
Buildkite builds:
[Finished] 359f28ba ec2-t3-xlarge-us-east-2
[Failed] 359f28ba test-mac-arm
[Finished] 359f28ba ursa-i9-9960x
[Finished] 359f28ba ursa-thinkcentre-m75q
[Finished] e837f73b ec2-t3-xlarge-us-east-2
[Finished] e837f73b test-mac-arm
[Finished] e837f73b ursa-i9-9960x
[Finished] e837f73b ursa-thinkcentre-m75q
Supported benchmarks:
ec2-t3-xlarge-us-east-2: Supported benchmark langs: Python, R. Runs only benchmarks with cloud = True
test-mac-arm: Supported benchmark langs: C++, Python, R
ursa-i9-9960x: Supported benchmark langs: Python, R, JavaScript
ursa-thinkcentre-m75q: Supported benchmark langs: C++, Java

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[C++] arrow.pc is missing dependencies with Windows static builds

2 participants