[oi-dev] oi buildsystem different patches for 32-bit or 64-bit

Carsten Grzemba grzemba at contac-dt.de
Thu Feb 1 19:18:35 UTC 2024



Am 01.02.24 20:02 schrieb "Carsten Grzemba"  <grzemba at contac-dt.de>: 
> 
> 
> 
> Am 01.02.24 15:20 schrieb Gordon Ross  <gordon.w.ross at gmail.com>:
> > 
> > You could always make your patches so that the resulting code has #ifdef _LP64
> > or whatever to make the code do what you want both 32-bit and 64-bit.
> > 
> > On Thu, Feb 1, 2024 at 7:36 AM Carsten Grzemba via oi-dev
> > <oi-dev at openindiana.org> wrote:
> > >
> > > Am 01.02.24 12:46 schrieb Carsten Grzemba via oi-dev <oi-dev at openindiana.org>:
> > >
> > > Do we have the possibility to use different patches for 32-bit builds than in 64-bit?
> > >
> > > For Pulseaudio I like to build in 32-bit only the pulse client (lib's)?
> > >
> > > I withdraw my question. Patches is used on source tree and this tree is the same for build 64-bit or 32-bit. So this would not work in general.
> > >
> > 
> My intention is to patch only the build system that only the libraries needed by client applications are build. The idea is to get less trouble with compiling code in 32-bit. In general we want ship less 32-bit binaries.
> 

With build system I mean the build of the component, not the OI build system. In the case of Pulseaudio it is the meson - ninja build.

I know that OpenCSW has the option to build libraries only of a component. Something like that...
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://openindiana.org/pipermail/oi-dev/attachments/20240201/faac5672/attachment.html>


More information about the oi-dev mailing list