[csw-devel] Multi-ISA GAR

Dagobert Michelsen dam at blastwave.org
Wed Apr 23 09:09:35 CEST 2008


Hi Yann,

Am 22.04.2008 um 22:07 schrieb Yann Rouillard:
> Dagobert Michelsen wrote:
>> Am 24.03.2008 um 22:53 schrieb Yann Rouillard:
>>> Dagobert Michelsen a écrit :
>>> Well, I definitely think there are other packages like openssl,  
>>> don't underestimate the imagination of developpers, althought it  
>>> shouldn't be the majority.
>> After some more thinking I think this would be a good idea:
>> - configure for each ISA to the same standard locations
>>   (e. g. bindir without $ISA suffix)
>> - install each ISA to a different, ISA-specific tree
>> - user-settable scripts allow merging of these trees
>>   verbatim, select specific binaries or move them to
>>   $ISA subdirs
>> I'll may have some time next week to prepare something.
>
> Have you had some time to work on it ?

Currently my time is limited, but I made an
intermediate commit
   http://svn.blastwave.org/trac/changeset/2075
for merge-support. Proper handling of isaexec is
still missing. The implementation follows what I
have outlined above. Installations still go to
DESTDIR, but the package is build from DESTBUILD.
The files are copied from DESTDIR to DESTBUILD during
the merge phase. There are default-scripts for
verbatim-copying and relocation to ISA subdirs
which are preselected depending on the number of
ISA build. The scripts can be easily replaced
by custom scripts. Relocation during copy is done
with regular expressions as parameters to 'pax'.

After isaexec is handled properly I'll write up
some documentation and try to get this to trunk/.


Feedback is very welcome!

Best regards

   -- Dago


More information about the devel mailing list