Skip to content
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-44994: [C++][CMake] Use librt only for Linux #44984

Merged
merged 2 commits into from
Dec 11, 2024
Merged

Conversation

brad0
Copy link
Contributor

@brad0 brad0 commented Dec 9, 2024

Rationale for this change

OpenBSD does not have librt.so.

What changes are included in this PR?

Use librt.so only for Linux

Are these changes tested?

Yes.

Are there any user-facing changes?

Yes.

OpenBSD does not have librt.

Signed-off-by: Brad Smith <brad@comstyle.com>
Copy link

github-actions bot commented Dec 9, 2024

❌ GitHub issue #undefined could not be retrieved.

@github-actions github-actions bot added the awaiting review Awaiting review label Dec 9, 2024
@pitrou pitrou requested a review from kou December 10, 2024 10:17
@kou kou changed the title MINOR: [C++][CMake] Fix building on OpenBSD GH-44994: [C++][CMake] Use librt only for Linux Dec 11, 2024
Copy link

⚠️ GitHub issue #44994 has been automatically assigned in GitHub to PR creator.

Copy link
Member

@kou kou left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you use our PR template instead of removing it entirely next time?

cpp/src/arrow/CMakeLists.txt Outdated Show resolved Hide resolved
Copy link

⚠️ GitHub issue #44994 has been automatically assigned in GitHub to PR creator.

Copy link
Member

@kou kou left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1

@kou kou merged commit e8a85dc into apache:main Dec 11, 2024
36 of 38 checks passed
@kou kou removed the awaiting review Awaiting review label Dec 11, 2024
@brad0 brad0 deleted the openbsd_librt branch December 11, 2024 02:07
Copy link

After merging your PR, Conbench analyzed the 3 benchmarking runs that have been run so far on merge-commit e8a85dc.

There were no benchmark performance regressions. 🎉

The full Conbench report has more details. It also includes information about 13 possible false positives for unstable benchmarks that are known to sometimes produce them.

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.

2 participants