Re: build system option to allow CPU optimizations?

2021-12-20 Thread Ludovic Courtès
Hi, Ricardo Wurmus skribis: > Ludovic Courtès writes: [...] > It may very well be the wrong approach in principle, but I also think > that it’s a neat escape hatch for specific use cases. Separating > reproducibility patching makes the package transformation mechanism > more powerful and

Re: build system option to allow CPU optimizations?

2021-12-13 Thread Maxim Cournoyer
Hi Ludovic, Ludovic Courtès writes: > Hi, > > zimoun skribis: > >> On Wed, 24 Nov 2021 at 13:10, Ricardo Wurmus wrote: >> >>> The build phases that patch out these features would have to check >>> for that build system option, much like they check the TESTS? >>> option before attempting to

Re: build system option to allow CPU optimizations?

2021-11-28 Thread Ricardo Wurmus
Ludovic Courtès writes: Hi, zimoun skribis: On Wed, 24 Nov 2021 at 13:10, Ricardo Wurmus wrote: The build phases that patch out these features would have to check for that build system option, much like they check the TESTS? option before attempting to run tests. Then it could be

Re: build system option to allow CPU optimizations?

2021-11-28 Thread Ludovic Courtès
Hi, zimoun skribis: > On Wed, 24 Nov 2021 at 13:10, Ricardo Wurmus wrote: > >> The build phases that patch out these features would have to check >> for that build system option, much like they check the TESTS? >> option before attempting to run tests. > > Then it could be a transformation.

Re: build system option to allow CPU optimizations?

2021-11-25 Thread zimoun
Hi Ricardo, On Wed, 24 Nov 2021 at 13:10, Ricardo Wurmus wrote: > The build phases that patch out these features would have to check > for that build system option, much like they check the TESTS? > option before attempting to run tests. Then it could be a transformation. The idea sounds

build system option to allow CPU optimizations?

2021-11-24 Thread Ricardo Wurmus
Hi Guix, currently we patch source code and build systems to ensure that no special instructions are used that would not be portable, e.g. AVX2, SSE4.1 etc. What do you think of adding a build system option that would allow users to restore these optimizations? The build phases that patch