[MacPorts] #35540: google-test: Update to 1.7.0
MacPorts
noreply at macports.org
Thu Oct 24 12:44:04 PDT 2013
#35540: google-test: Update to 1.7.0
--------------------------+--------------------------------
Reporter: pengyu.ut@… | Owner: macports-tickets@…
Type: update | Status: new
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: | Keywords:
Port: google-test |
--------------------------+--------------------------------
Changes (by ryandesign@…):
* cc: venabled@… (added)
Comment:
I updated the patch to use cmake, since that's the only supported build
system since 1.5.0, but it still doesn't have an install target.
I found a comment at the bottom of Makefile.am which says that "`make
install`" is disabled because "installing a compiled version of Google
Test can lead to undefined behavior due to violation of the
[http://en.wikipedia.org/wiki/One_Definition_Rule One-Definition Rule]."
They have a [https://code.google.com/p/googletest/wiki/FAQ
#Why_is_it_not_recommended_to_install_a_pre-compiled_copy_of_Goog FAQ
entry] about this too.
So we can either think we're smarter than Google and install it anyway
(and as a non-C++-programmer I don't feel competent to do that), or we can
delete google-test from MacPorts.
--
Ticket URL: <https://trac.macports.org/ticket/35540#comment:3>
MacPorts <http://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list