sm-discuss AT lists.ibiblio.org
Subject: Public SourceMage Discussion List
List archive
- From: "Jose Bernardo Silva" <jbs AT bandos.homelinux.com>
- To: Andrew <afrayedknot AT thefrayedknot.armory.com>, sm-discuss AT lists.ibiblio.org
- Cc:
- Subject: Re: [SM-Discuss] Architecture-dependent spells
- Date: Thu, 13 May 2004 08:50:35 +0000
On Wed, 12 May 2004 21:08:37 -0700, Andrew wrote
[...]
> As for the third option, we teach sorcery about platform dependencies.
>
> Theres two parts to this prooblem. The first is implementing a function
> during dependency groveling to determine if a spell is castable on
> the current platform, if it is then great, if not then the spell
> fails its dependency groveling.
[...]
I'd like a slightly different approach - one that allows me to solve bugs like
5485 [0] without much trouble, and that would be sorcery allowing the spell to
choose the action according to the arch. It could be as simple as a ARCH file
with lists of different override spell files by architecture [1], using the
default ones where not specified; it might be more complicated, with sorcery
functions called to check the architecture inside every spell file that needed
checking.
What do you think?
[0] http://bugs.sourcemage.org/show_bug.cgi?id=5485
[1] a example of the file might be structured like this:
---------------------
x86_64=DEPENDS.x86_64,DETAILS.X86_64
PPC=BUILD.PPC
---------------------
---
Jose Bernardo B R Silva | Source Mage GNU/Linux Section Guru
jbernardo AT sourcemage.org | http://www.sourcemage.org
http://counter.li.org #245602
http://cosmos.oninetspeed.pt/jose.bernardo
jbs AT bandos.homelinux.com
-
Re: [SM-Discuss] Architecture-dependent spells
, (continued)
-
Re: [SM-Discuss] Architecture-dependent spells,
Eric Sandall, 05/14/2004
- Re: [SM-Discuss] Architecture-dependent spells, Seth Alan Woolley, 05/14/2004
- Re: [SM-Discuss] Architecture-dependent spells, Eric Sandall, 05/14/2004
- Re: [SM-Discuss] Architecture-dependent spells, Andrew, 05/14/2004
- Re: [SM-Discuss] Architecture-dependent spells, Arwed von Merkatz, 05/14/2004
- Re: [SM-Discuss] Architecture-dependent spells, Eric Sandall, 05/14/2004
-
Re: [SM-Discuss] Architecture-dependent spells,
Eric Sandall, 05/14/2004
-
Re: [SM-Discuss] Architecture-dependent spells,
Paul Mahon, 05/13/2004
- Re: [SM-Discuss] Architecture-dependent spells, Andrew, 05/13/2004
-
Re: [SM-Discuss] Architecture-dependent spells,
Jose Bernardo Silva, 05/13/2004
- Re: [SM-Discuss] Architecture-dependent spells, Andrew, 05/13/2004
Archive powered by MHonArc 2.6.24.