Skip to content

GH-41396: [Ruby] Add workaround for re2.pc on Ubuntu 20.04 - #43721

Merged
kou merged 1 commit into
apache:mainfrom
kou:ruby-old-re2-c++11
Aug 16, 2024
Merged

kou merged 1 commit into
apache:mainfrom
kou:ruby-old-re2-c++11

Conversation

@kou

@kou kou commented Aug 16, 2024 •

Copy link
Copy Markdown
Member

Rationale for this change

Old re2.pc add "-std=c++11" but it causes a build error. Because Apache Arrow C++ requires C++17.

What changes are included in this PR?

Remove "-std=c++11" as workaround. We can remove this workaround when we drop support for Ubuntu 20.04.

Are these changes tested?

Yes.

Are there any user-facing changes?

Yes.

Old re2.pc add "-std=c++11" but it causes a build error. Because
Apache Arrow C++ requires C++17.

We can remove "-std=c++11" as workaround.
@github-actions

Copy link
Copy Markdown

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

@kou

kou commented Aug 16, 2024

Copy link
Copy Markdown
Member Author

+1

@kou
kou merged commit e9767c1 into apache:main Aug 16, 2024
@kou
kou deleted the ruby-old-re2-c++11 branch August 16, 2024 02:43
@conbench-apache-arrow

Copy link
Copy Markdown

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

There was 1 benchmark result indicating a performance regression:

The full Conbench report has more details. It also includes information about 3 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.

1 participant