Skip to content
This repository has been archived by the owner on Jul 4, 2023. It is now read-only.

Redact Google Test #14099

Closed
adamv opened this issue Aug 10, 2012 · 6 comments
Closed

Redact Google Test #14099

adamv opened this issue Aug 10, 2012 · 6 comments

Comments

@adamv
Copy link
Contributor

adamv commented Aug 10, 2012

From 1.6.0:

echo "'make install' is dangerous and not supported. Instead, see README for how to integrate Google Test into your build system."
test -z "/Users/adamv/homebrew/Cellar/gtest/1.6.0/lib" || build-aux/install-sh -c -d "/Users/adamv/homebrew/Cellar/gtest/1.6.0/lib"
'make install' is dangerous and not supported. Instead, see README for how to integrate Google Test into your build system.
@adamv adamv closed this as completed in b0b6081 Aug 10, 2012
@MikeMcQuaid
Copy link
Member

+1

@2bits
Copy link
Contributor

2bits commented Aug 13, 2012

I don't get this. gtest-1.6.0 README says to use CMake. It then only creates two libraries and some includes.

libgtest.a
libgtest_main.a
include/gtest/*

Why would you redact the formula instead of fixing it? I got it to work easily enough, and I got flann to build.

@mistydemeo
Copy link
Member

@Sharpie flann depends on a prebuild gtest for some of its tests. Is it important enough that we should provide a private gtest subformula in flann to make sure it can run those tests? It can build without.

See #14126

@Sharpie
Copy link
Contributor

Sharpie commented Aug 13, 2012

Is it important enough that we should provide a private gtest subformula in flann to make sure it can run those tests?

According to the info Jack linked to, it looks like gtest should be built with exactly the same flags as the rest of the software---i.e. integrated into the buildsystem for each project.

Because of this, I don't think adding a subformula will completely sidestep the issue. Probably the best we can do is pull the gtest dependency and kick this upstream to the flann project so that they can take the proper steps.

@mistydemeo
Copy link
Member

Removed flann's dep on gtest in b0ecaaa

fgeller pushed a commit to fgeller/homebrew that referenced this issue Aug 22, 2012
Google Test 1.6 explictly removes support for "make install".

It is recommended that projects compile this software explicitly as
part of their own build process, with appropriate options.

Closes Homebrew#14099.
Sharpie pushed a commit to Sharpie/homebrew that referenced this issue Sep 12, 2012
Google Test 1.6 explictly removes support for "make install".

It is recommended that projects compile this software explicitly as
part of their own build process, with appropriate options.

Closes Homebrew#14099.
snakeyroc3 pushed a commit to snakeyroc3/homebrew that referenced this issue Dec 17, 2012
Google Test 1.6 explictly removes support for "make install".

It is recommended that projects compile this software explicitly as
part of their own build process, with appropriate options.

Closes Homebrew#14099.
@Homebrew Homebrew locked and limited conversation to collaborators Feb 16, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

6 participants