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

antlr4-cpp-runtime: Remove additional gtest pkconfigs/includes #2852

Merged
merged 2 commits into from
Jun 6, 2024

Conversation

Staudey
Copy link
Member

@Staudey Staudey commented Jun 5, 2024

Summary

The build previously downloaded its own copy of googletest and installed its pkgconfigs/includes. This removes the fetching part, so it uses the system gtest instead, thus also no longer requiring networking.

Test Plan

Confirmed gtest/gmock files are no longer installed.

Checklist

  • Package was built and tested against unstable

**Summary**

The build previously downloaded its own copy of googletest and installed its pkgconfigs/includes.
This removes the fetching part, so it uses the system `gtest` instead, thus also no longer requiring networking.

Signed-off-by: Thomas Staudinger <[email protected]>
@GZGavinZhao
Copy link
Member

GZGavinZhao commented Jun 5, 2024

Have you tried passing -DINSTALL_GTEST=OFF to CMake?

@Staudey
Copy link
Member Author

Staudey commented Jun 5, 2024

That seems to work too, yes, thanks. I didn't know that switch would be in the upstream gtest project, only looked at the antlr4 files.

It does however require enabling networking again. So I'm not sure what would be the better approach.
On the upside it switches /usr/lib back to /usr/lib64. Not sure what I would have to change in the sed/patch approach to correct that as well.

@GZGavinZhao GZGavinZhao merged commit 4a19551 into getsolus:main Jun 6, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

2 participants