public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] multiple compile-install phases
@ 2007-06-17 18:06 Marijn Schouten (hkBst)
  2007-06-17 18:23 ` George Shapovalov
  2007-06-17 18:27 ` Drake Wyrm
  0 siblings, 2 replies; 4+ messages in thread
From: Marijn Schouten (hkBst) @ 2007-06-17 18:06 UTC (permalink / raw
  To: gentoo-dev

Hi list,

I've encountered a few cases where the build process requires building and 
installing something and then using that to build something else. Is there a 
standard way to do this?

Marijn

-- 
gentoo-dev@gentoo.org mailing list



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

* Re: [gentoo-dev] multiple compile-install phases
  2007-06-17 18:06 [gentoo-dev] multiple compile-install phases Marijn Schouten (hkBst)
@ 2007-06-17 18:23 ` George Shapovalov
  2007-06-17 22:31   ` Luis Francisco Araujo
  2007-06-17 18:27 ` Drake Wyrm
  1 sibling, 1 reply; 4+ messages in thread
From: George Shapovalov @ 2007-06-17 18:23 UTC (permalink / raw
  To: gentoo-dev

Sunday, 17. June 2007, Marijn Schouten (hkBst) Ви написали:
> I've encountered a few cases where the build process requires building and
> installing something and then using that to build something else. Is there
> a standard way to do this?
I'd say - split the package in two (or how many pieces there are). Such 
procedure implies that the parts are already well isolated, so the split 
should not be that hard to do. Trying to force it "in one go" is not trivial 
usually, unless what you are talking about is some bootstrap procedure. 
However in that case there should be a certain way of "proper bootstrapping" 
for the package described in its install docs.

George
--
gentoo-dev@gentoo.org mailing list



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

* Re: [gentoo-dev] multiple compile-install phases
  2007-06-17 18:06 [gentoo-dev] multiple compile-install phases Marijn Schouten (hkBst)
  2007-06-17 18:23 ` George Shapovalov
@ 2007-06-17 18:27 ` Drake Wyrm
  1 sibling, 0 replies; 4+ messages in thread
From: Drake Wyrm @ 2007-06-17 18:27 UTC (permalink / raw
  To: gentoo-dev

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

"Marijn Schouten (hkBst)" <hkBst@gentoo.org> wrote:
> I've encountered a few cases where the build process requires building
> and installing something and then using that to build something else.
> Is there a standard way to do this?

Perhaps you could build the build tools and install them to some
directory under the temporary build directory and use them from there by
adding that directory to $PATH or by calling them with full pathnames. 

Do the build tools in question need to be installed along with the
desired end product, or are they nothing more than integrated build
prerequisites?

-- 
"Such things have often happened and still happen,
 and how can these be signs of the end of the world?"
  -- Julian, Emperor of Rome 361-363 A.D.

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

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

* Re: [gentoo-dev] multiple compile-install phases
  2007-06-17 18:23 ` George Shapovalov
@ 2007-06-17 22:31   ` Luis Francisco Araujo
  0 siblings, 0 replies; 4+ messages in thread
From: Luis Francisco Araujo @ 2007-06-17 22:31 UTC (permalink / raw
  To: gentoo-dev

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

George Shapovalov wrote:
> Sunday, 17. June 2007, Marijn Schouten (hkBst) Ви написали:
>> I've encountered a few cases where the build process requires building and
>> installing something and then using that to build something else. Is there
>> a standard way to do this?
> I'd say - split the package in two (or how many pieces there are). Such 
> procedure implies that the parts are already well isolated, so the split 
> should not be that hard to do. Trying to force it "in one go" is not trivial 
> usually, unless what you are talking about is some bootstrap procedure. 
> However in that case there should be a certain way of "proper bootstrapping" 
> for the package described in its install docs.
> 
> George

Splitting the package is a good idea indeed.

If it is needed a bootstrapping , you could build a binary version of
the necessary components of the package, that's what we do with ghc and
many of the languages packages inside dev-lang.

Regards,

- --

Luis F. Araujo "araujo at gentoo.org"
Gentoo Linux

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.4 (GNU/Linux)

iD8DBQFGdbYfaTNpke9pJcURAmm6AKCMZQZC6tvFbgHu9dUb0c8ahpQfIgCgiLMU
YnKpHz22OvjdyYLlF8l7+9k=
=99fq
-----END PGP SIGNATURE-----
-- 
gentoo-dev@gentoo.org mailing list



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

end of thread, other threads:[~2007-06-17 22:39 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-06-17 18:06 [gentoo-dev] multiple compile-install phases Marijn Schouten (hkBst)
2007-06-17 18:23 ` George Shapovalov
2007-06-17 22:31   ` Luis Francisco Araujo
2007-06-17 18:27 ` Drake Wyrm

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