-
Notifications
You must be signed in to change notification settings - Fork 44
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
Bad idea to bundle gtest #35
Comments
This patch to Makefile makes it use the standard googletest install.
|
One of the reasons I didn't bundle google test years ago, is because it was kind of a mess in the open source world. It didn't really have a properly released autoconf project where you could run pkgconfig or anything like that. There were some other things weird about it I couldn't quite remember. Hopefully things are better now. In all seriousness, I'm actually considering migrating this project to Bazel. What would you think about that? |
Hm, Bazel looks a bit over-engineered to me. Gigantic, requires Java. I realize bazel is the tool used in google. But it seems like an overkill for this project. When I used bazel it also often left the background processes running after you stop it. |
Yep! That's Bazel. It's what we use at Google to compile a repository with literally petabytes of code. But since this repo doesn't have petabytes of code, maybe I should keep it traditional and just set up a proper autotools build system. Thoughts on that? |
Yes, I think autotools fits hiptext well. |
I just migrated to GNU autotools. PTAL? I'm still bundling gtest. I took a look at Reading your diff @yurivict, it sounds like FreeBSD packages gtest in a friendly way. So I'm not sure how I'd unbundle gtest and be able to support all distros. Is there a way to force clang/gcc to make my |
I had to remove the bundle in the freebsd port: https://svnweb.freebsd.org/ports/head/graphics/hiptext/Makefile?revision=417308&view=markup Bundles only cause trouble in general. I know, in this case it is a faulty distro(s) problem. |
Thanks for packaging this for FreeBSD. When you get a chance to look at the new autotools setup, let me know if you approve. Otherwise I'll change it. |
You welcome! I look at a875509. You expect .pc from libgflags, but gflags-2.1.2 doesn't provide .pc, despite gflags/gflags#50 saying it was committed in 1.4, and gflags/gflags#120 asking for it again. They need to sort it out there. |
You probably should just wait for them to fix it, no need to change hiptext itself. |
I'm assuming then that the Debian maintainers wrote their own pkgconfig On Fri, Jun 24, 2016 at 2:23 PM yurivict notifications@github.com wrote:
|
Hi @jart , gflags now provides .pc file: /usr/local/libdata/pkgconfig/gflags.pc Cheers, |
That's great news. Kudos on gflags maintainer for doing the right thing. Would anyone be interested in sending a pull request to this project, helping it use the new pkgconfig file? |
Test fails on the system with pre-installed googletest-1.7.0:
It's better to just say in the README that test requires googletest and not bundle it.
The text was updated successfully, but these errors were encountered: