Add nasm/yasm on Intel only?

miniupnp miniupnp at free.fr
Mon Jan 18 22:34:57 UTC 2021


I think at least yasm can cross assemble.

Le 18/01/2021 à 22:28, Mark Anderson a écrit :
> I haven't ever used it elsewhere, but will it cross assemble?
>
> —Mark
> _______________________
> Mark E. Anderson <mark at macports.org <mailto:mark at macports.org>>
> MacPorts Trac WikiPage <https://trac.macports.org/wiki/mark>
> GitHub Profile <https://github.com/markemer>
>
>
>
> On Mon, Jan 18, 2021 at 3:55 PM miniupnp <miniupnp at free.fr 
> <mailto:miniupnp at free.fr>> wrote:
>
>     Le 18/01/2021 à 21:19, Craig Treleaven a écrit :
>     > Hi:
>     >
>     > With Apple Silicon macs taking over the world (eventually), I
>     noticed that a few ports build on the new platform but still
>     declare a dependency on the nasm or yasm assemblers.  Obviously
>     these aren’t used when building for arm64.  What would be a clean,
>     simple way of only adding the dependency when building for Intel
>     archs?  Something along the lines of:
>     >
>     > if {{build_arch} in "i386 x86_64" || [variant_isset universal] } {
>     >      depends_build-append  port:nasm
>     > }
>     isn't it already that way in some ports ? (nasm or yasm is not really
>     useful to build ppc/ppc64 code ;)
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macports.org/pipermail/macports-dev/attachments/20210118/f6bad968/attachment.htm>


More information about the macports-dev mailing list