[MacPorts] #42672: x264 @20130823_0: universal build failure on Apple clang, i386 issues.

Ryan Schmidt ryandesign at macports.org
Wed Mar 5 00:55:12 PST 2014


On Mar 5, 2014, at 02:07, René J.V. Bertin wrote:

> - If it is (and I realise this may seem overly kludgy), would it be possible (for now ;) ) to drop +asm in the 32bit build of +asm+universal (which would just introduce another performance loss for 32bit compared to 64 bit)? I think ffmpeg+universal is build already through separate i386 and x86_64 builds lipoed together at the end (so the infrastructure is there to combine asm and "non asm" builds into a single universal file), am I correct?

That is correct, ffmpeg does use the muniversal portgroup, so it is possible for a port author to use different arguments and environment variables to build each architecture, if desired. It is not possible to specify different variants for each architecture; variants apply to the port as a whole. Is it the case that the asm variant only works for the x86_64 architecture? If so, my proposed fix would be that the asm variant only be selectable if x86_64 is within the architectures that will be built, and if so, to only apply to that architecture and not any others.




More information about the macports-users mailing list