public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] USE flags names that make sense for boost lib suggestions needed
@ 2005-04-16 23:26 Daniel Goller
  2005-04-21 16:24 ` Grant Goodyear
  0 siblings, 1 reply; 2+ messages in thread
From: Daniel Goller @ 2005-04-16 23:26 UTC (permalink / raw
  To: gentoo-dev

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

hi,

im currently changing the boost build process so users who require boost
only as a dependency of another app only get release versions,
developers would get debug versions as well (another ~40-90MB varying
from system to system it seems) USE=debug is easy choice there

i intended to then utilize USE=threads to add the multi threaded
versions of libs and single by default or -threads, here comes my
question, the build process allows for <threading>multi
<threading>single and <threading>multi/single, building only
multithreaded versions, only single threaded versions, or both.

do the three choices make sense or are we better off with only building
single threaded versions and on USE=threads (to use what already exists
rather then  making a new USE flag) then build single/multi
else id need possibly two awkwardly named USE flags (and suggestions for
names (using threads and threadsonly, similar to nptl?)

similarly it allows for linking to static, dynamic or both
should the static USE flags be used to change from dynamic (proposed
default behaviour) to static, or ADD so build process uses
<runtime-link>static/dynamic
(using static and staticonly if 3 states are needed?)

i guess i could get away with only 2 new USE flags (threadsonly and
staticonly)
ok, do we need them, shouldnt we have them?

any ideas, suggestion, critcism welcome

Daniel
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFCYZ8fUpKYMelfdYERAkDrAJwNsYnyDH03J9VmS9Ax7vbj6lmaJACfd+nd
64dwN4WTTw2AudeKOJETgpo=
=JFaH
-----END PGP SIGNATURE-----
-- 
gentoo-dev@gentoo.org mailing list


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

* Re: [gentoo-dev] USE flags names that make sense for boost lib suggestions needed
  2005-04-16 23:26 [gentoo-dev] USE flags names that make sense for boost lib suggestions needed Daniel Goller
@ 2005-04-21 16:24 ` Grant Goodyear
  0 siblings, 0 replies; 2+ messages in thread
From: Grant Goodyear @ 2005-04-21 16:24 UTC (permalink / raw
  To: gentoo-dev

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

Daniel Goller wrote: [Sat Apr 16 2005, 06:26:23PM CDT]
> -----BEGIN PGP SIGNED MESSAGE-----
> im currently changing the boost build process so users who require boost
> only as a dependency of another app only get release versions,
> developers would get debug versions as well (another ~40-90MB varying
> from system to system it seems) USE=debug is easy choice there

I'm not really sure what you mean by "debug" versions.  Are those
versions built with "-g"?  In that case you don't need a USE flag, just
let the user add "-g" to CFLAGS (and "nostrip" to FEATURES).

> i intended to then utilize USE=threads to add the multi threaded
> versions of libs and single by default or -threads, here comes my
> question, the build process allows for <threading>multi
> <threading>single and <threading>multi/single, building only
> multithreaded versions, only single threaded versions, or both.

Any idea what the difference in build time is?  If it's minor, then just
do both.  Just because something can be optional does not mean that it
must be optional.

> do the three choices make sense or are we better off with only building
> single threaded versions and on USE=threads (to use what already exists
> rather then  making a new USE flag) then build single/multi
> else id need possibly two awkwardly named USE flags (and suggestions for
> names (using threads and threadsonly, similar to nptl?)
> 
> similarly it allows for linking to static, dynamic or both
> should the static USE flags be used to change from dynamic (proposed
> default behaviour) to static, or ADD so build process uses
> <runtime-link>static/dynamic
> (using static and staticonly if 3 states are needed?)

In any event, would just ask vapier for his opinion, and do whatever he
says.  

-g2boojum-
-- 
Grant Goodyear	
Gentoo Developer
g2boojum@gentoo.org
http://www.gentoo.org/~g2boojum
GPG Fingerprint: D706 9802 1663 DEF5 81B0  9573 A6DC 7152 E0F6 5B76

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

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

end of thread, other threads:[~2005-04-21 16:23 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-04-16 23:26 [gentoo-dev] USE flags names that make sense for boost lib suggestions needed Daniel Goller
2005-04-21 16:24 ` Grant Goodyear

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox