all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [bug#28190] [PATCH] gnu: Build the shared library for yaml-cpp.
@ 2017-08-22 20:36 Christopher Baines
  2017-08-22 20:58 ` Marius Bakke
  0 siblings, 1 reply; 5+ messages in thread
From: Christopher Baines @ 2017-08-22 20:36 UTC (permalink / raw)
  To: 28190

* gnu/packages/serialization.scm (yaml-cpp)[arguments]: Add
  -DBUILD_SHARED_LIBS=ON to #:configure-flags.
---
 gnu/packages/serialization.scm | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/gnu/packages/serialization.scm b/gnu/packages/serialization.scm
index 3994191bd..8032e3181 100644
--- a/gnu/packages/serialization.scm
+++ b/gnu/packages/serialization.scm
@@ -249,6 +249,8 @@ that implements both the msgpack and msgpack-rpc specifications.")
                (base32
                 "1vk6pjh0f5k6jwk2sszb9z5169whmiha9ainbdpa1arxlkq7v3b6"))))
     (build-system cmake-build-system)
+    (arguments
+     '(#:configure-flags '("-DBUILD_SHARED_LIBS=ON")))
     (inputs
      `(("boost" ,boost)))
     (native-inputs
-- 
2.14.1

^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [bug#28190] [PATCH] gnu: Build the shared library for yaml-cpp.
  2017-08-22 20:36 [bug#28190] [PATCH] gnu: Build the shared library for yaml-cpp Christopher Baines
@ 2017-08-22 20:58 ` Marius Bakke
  2017-08-22 21:00   ` Christopher Baines
  0 siblings, 1 reply; 5+ messages in thread
From: Marius Bakke @ 2017-08-22 20:58 UTC (permalink / raw)
  To: Christopher Baines, 28190

[-- Attachment #1: Type: text/plain, Size: 265 bytes --]

Christopher Baines <mail@cbaines.net> writes:

> * gnu/packages/serialization.scm (yaml-cpp)[arguments]: Add
>   -DBUILD_SHARED_LIBS=ON to #:configure-flags.

Does this disable building the static library too?  If not, should we do
that while at it?  LGTM, anyway.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 487 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [bug#28190] [PATCH] gnu: Build the shared library for yaml-cpp.
  2017-08-22 20:58 ` Marius Bakke
@ 2017-08-22 21:00   ` Christopher Baines
  2017-08-22 21:10     ` Marius Bakke
  0 siblings, 1 reply; 5+ messages in thread
From: Christopher Baines @ 2017-08-22 21:00 UTC (permalink / raw)
  To: Marius Bakke; +Cc: 28190

[-- Attachment #1: Type: text/plain, Size: 719 bytes --]

On Tue, 22 Aug 2017 22:58:34 +0200
Marius Bakke <mbakke@fastmail.com> wrote:

> Christopher Baines <mail@cbaines.net> writes:
> 
> > * gnu/packages/serialization.scm (yaml-cpp)[arguments]: Add
> >   -DBUILD_SHARED_LIBS=ON to #:configure-flags.  
> 
> Does this disable building the static library too?  If not, should we
> do that while at it?  LGTM, anyway.

I'm not quite sure, but I think so, these are the files in lib now, and
the .a file that was there before has disappeared.

└── lib
    ├── libyaml-cpp.so -> libyaml-cpp.so.0.5
    ├── libyaml-cpp.so.0.5 -> libyaml-cpp.so.0.5.3
    ├── libyaml-cpp.so.0.5.3
    └── pkgconfig
        └── yaml-cpp.pc



[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 963 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [bug#28190] [PATCH] gnu: Build the shared library for yaml-cpp.
  2017-08-22 21:00   ` Christopher Baines
@ 2017-08-22 21:10     ` Marius Bakke
  2017-08-23  9:10       ` bug#28190: " Christopher Baines
  0 siblings, 1 reply; 5+ messages in thread
From: Marius Bakke @ 2017-08-22 21:10 UTC (permalink / raw)
  To: Christopher Baines; +Cc: 28190

[-- Attachment #1: Type: text/plain, Size: 900 bytes --]

Christopher Baines <mail@cbaines.net> writes:

> On Tue, 22 Aug 2017 22:58:34 +0200
> Marius Bakke <mbakke@fastmail.com> wrote:
>
>> Christopher Baines <mail@cbaines.net> writes:
>> 
>> > * gnu/packages/serialization.scm (yaml-cpp)[arguments]: Add
>> >   -DBUILD_SHARED_LIBS=ON to #:configure-flags.  
>> 
>> Does this disable building the static library too?  If not, should we
>> do that while at it?  LGTM, anyway.
>
> I'm not quite sure, but I think so, these are the files in lib now, and
> the .a file that was there before has disappeared.
>
> └── lib
>     ├── libyaml-cpp.so -> libyaml-cpp.so.0.5
>     ├── libyaml-cpp.so.0.5 -> libyaml-cpp.so.0.5.3
>     ├── libyaml-cpp.so.0.5.3
>     └── pkgconfig
>         └── yaml-cpp.pc

Great!  Static libraries cannot be reliably grafted, so it's good to
avoid them when we can.  Thanks!

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 487 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#28190: [PATCH] gnu: Build the shared library for yaml-cpp.
  2017-08-22 21:10     ` Marius Bakke
@ 2017-08-23  9:10       ` Christopher Baines
  0 siblings, 0 replies; 5+ messages in thread
From: Christopher Baines @ 2017-08-23  9:10 UTC (permalink / raw)
  To: Marius Bakke; +Cc: 28190-done

[-- Attachment #1: Type: text/plain, Size: 1099 bytes --]

On Tue, 22 Aug 2017 23:10:38 +0200
Marius Bakke <mbakke@fastmail.com> wrote:

> Christopher Baines <mail@cbaines.net> writes:
> 
> > On Tue, 22 Aug 2017 22:58:34 +0200
> > Marius Bakke <mbakke@fastmail.com> wrote:
> >  
> >> Christopher Baines <mail@cbaines.net> writes:
> >>   
> >> > * gnu/packages/serialization.scm (yaml-cpp)[arguments]: Add
> >> >   -DBUILD_SHARED_LIBS=ON to #:configure-flags.    
> >> 
> >> Does this disable building the static library too?  If not, should
> >> we do that while at it?  LGTM, anyway.  
> >
> > I'm not quite sure, but I think so, these are the files in lib now,
> > and the .a file that was there before has disappeared.
> >
> > └── lib
> >     ├── libyaml-cpp.so -> libyaml-cpp.so.0.5
> >     ├── libyaml-cpp.so.0.5 -> libyaml-cpp.so.0.5.3
> >     ├── libyaml-cpp.so.0.5.3
> >     └── pkgconfig
> >         └── yaml-cpp.pc  
> 
> Great!  Static libraries cannot be reliably grafted, so it's good to
> avoid them when we can.  Thanks!

I've pushed this now, thanks for your review Marius :)

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 963 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2017-08-23  9:11 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-08-22 20:36 [bug#28190] [PATCH] gnu: Build the shared library for yaml-cpp Christopher Baines
2017-08-22 20:58 ` Marius Bakke
2017-08-22 21:00   ` Christopher Baines
2017-08-22 21:10     ` Marius Bakke
2017-08-23  9:10       ` bug#28190: " Christopher Baines

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.