GNU bug report logs - #27983
[PATCH] gnu: googletest: Build shared libraries.

Previous Next

Package: guix-patches;

Reported by: manolis837 <at> gmail.com

Date: Sun, 6 Aug 2017 14:13:01 UTC

Severity: normal

Tags: patch

Done: Manolis Ragkousis <manolis837 <at> gmail.com>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 27983 in the body.
You can then email your comments to 27983 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#27983; Package guix-patches. (Sun, 06 Aug 2017 14:13:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to manolis837 <at> gmail.com:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Sun, 06 Aug 2017 14:13:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: manolis837 <at> gmail.com
To: guix-patches <at> gnu.org
Cc: Manolis Ragkousis <manolis837 <at> gmail.com>
Subject: [PATCH] gnu: googletest: Build shared libraries.
Date: Sun,  6 Aug 2017 17:12:17 +0300
From: Manolis Ragkousis <manolis837 <at> gmail.com>

* gnu/packages/check.scm (googletest)[arguments]: Pass "-DBUILD_SHARED_LIBS=ON"
  in #:configure-flags.
---
 gnu/packages/check.scm | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/gnu/packages/check.scm b/gnu/packages/check.scm
index 2ab5c0135..ddfcf1750 100644
--- a/gnu/packages/check.scm
+++ b/gnu/packages/check.scm
@@ -213,6 +213,8 @@ normally do not detect.  The goal is to detect only real errors in the code
         (base32
          "1n5p1m2m3fjrjdj752lf92f9wq3pl5cbsfrb49jqbg52ghkz99jq"))))
     (build-system cmake-build-system)
+    (arguments
+     `(#:configure-flags '("-DBUILD_SHARED_LIBS=ON")))
     (native-inputs
      `(("python-2" ,python-2)))
     (home-page "https://github.com/google/googletest/")
-- 
2.13.4





Information forwarded to guix-patches <at> gnu.org:
bug#27983; Package guix-patches. (Mon, 07 Aug 2017 18:23:01 GMT) Full text and rfc822 format available.

Message #8 received at 27983 <at> debbugs.gnu.org (full text, mbox):

From: Leo Famulari <leo <at> famulari.name>
To: manolis837 <at> gmail.com
Cc: 27983 <at> debbugs.gnu.org
Subject: Re: [bug#27983] [PATCH] gnu: googletest: Build shared libraries.
Date: Mon, 7 Aug 2017 14:22:48 -0400
[Message part 1 (text/plain, inline)]
On Sun, Aug 06, 2017 at 05:12:17PM +0300, manolis837 <at> gmail.com wrote:
> From: Manolis Ragkousis <manolis837 <at> gmail.com>
> 
> * gnu/packages/check.scm (googletest)[arguments]: Pass "-DBUILD_SHARED_LIBS=ON"
>   in #:configure-flags.

Does it still build the static library in this case? If not, do packages
that are currently using googletest need to be adjusted?
[signature.asc (application/pgp-signature, inline)]

Information forwarded to guix-patches <at> gnu.org:
bug#27983; Package guix-patches. (Tue, 08 Aug 2017 11:33:02 GMT) Full text and rfc822 format available.

Message #11 received at 27983 <at> debbugs.gnu.org (full text, mbox):

From: Manolis Ragkousis <manolis837 <at> gmail.com>
To: Leo Famulari <leo <at> famulari.name>
Cc: 27983 <at> debbugs.gnu.org
Subject: Re: [bug#27983] [PATCH] gnu: googletest: Build shared libraries.
Date: Tue, 8 Aug 2017 14:31:51 +0300
Hello Leo

On 08/07/2017 09:22 PM, Leo Famulari wrote:
> On Sun, Aug 06, 2017 at 05:12:17PM +0300, manolis837 <at> gmail.com wrote:
>> From: Manolis Ragkousis <manolis837 <at> gmail.com>
>>
>> * gnu/packages/check.scm (googletest)[arguments]: Pass "-DBUILD_SHARED_LIBS=ON"
>>   in #:configure-flags.
> 
> Does it still build the static library in this case? If not, do packages
> that are currently using googletest need to be adjusted?
> 

No it doesn't but I rebuilt all the packages that depend on googletest
and everything built and worked the same. No need for anything to be
adjusted.

Manolis




Information forwarded to guix-patches <at> gnu.org:
bug#27983; Package guix-patches. (Tue, 08 Aug 2017 13:59:02 GMT) Full text and rfc822 format available.

Message #14 received at 27983 <at> debbugs.gnu.org (full text, mbox):

From: Leo Famulari <leo <at> famulari.name>
To: Manolis Ragkousis <manolis837 <at> gmail.com>
Cc: 27983 <at> debbugs.gnu.org
Subject: Re: [bug#27983] [PATCH] gnu: googletest: Build shared libraries.
Date: Tue, 8 Aug 2017 09:58:03 -0400
[Message part 1 (text/plain, inline)]
On Tue, Aug 08, 2017 at 02:31:51PM +0300, Manolis Ragkousis wrote:
> Hello Leo
> 
> On 08/07/2017 09:22 PM, Leo Famulari wrote:
> > On Sun, Aug 06, 2017 at 05:12:17PM +0300, manolis837 <at> gmail.com wrote:
> >> From: Manolis Ragkousis <manolis837 <at> gmail.com>
> >>
> >> * gnu/packages/check.scm (googletest)[arguments]: Pass "-DBUILD_SHARED_LIBS=ON"
> >>   in #:configure-flags.
> > 
> > Does it still build the static library in this case? If not, do packages
> > that are currently using googletest need to be adjusted?
> > 
> 
> No it doesn't but I rebuilt all the packages that depend on googletest
> and everything built and worked the same. No need for anything to be
> adjusted.

Okay then, LGTM!
[signature.asc (application/pgp-signature, inline)]

Reply sent to Manolis Ragkousis <manolis837 <at> gmail.com>:
You have taken responsibility. (Wed, 09 Aug 2017 11:02:02 GMT) Full text and rfc822 format available.

Notification sent to manolis837 <at> gmail.com:
bug acknowledged by developer. (Wed, 09 Aug 2017 11:02:02 GMT) Full text and rfc822 format available.

Message #19 received at 27983-done <at> debbugs.gnu.org (full text, mbox):

From: Manolis Ragkousis <manolis837 <at> gmail.com>
To: Leo Famulari <leo <at> famulari.name>
Cc: 27983-done <at> debbugs.gnu.org
Subject: Re: [bug#27983] [PATCH] gnu: googletest: Build shared libraries.
Date: Wed, 9 Aug 2017 14:01:17 +0300
Pushed to master.

Thank you Leo!

Manolis




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Wed, 06 Sep 2017 11:24:05 GMT) Full text and rfc822 format available.

This bug report was last modified 7 years and 290 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.