Re: Re: git: 58dba5b8212f - main - devel/llvm19: prune build on 32-bit archs

From: Tomoaki AOKI <junchoon_at_dec.sakura.ne.jp>
Date: Tue, 27 Aug 2024 23:29:35 UTC
Shouldn't BE_WASM kept as default?

www/firefox depends on devel/wasi-*17, and IIRC, devel/wasi-*17 depends
on devel/llvm17 with BE_WASM enabled.

And www/firefox doesn't have ONLY_FOR_ARCHS and NOT_FOR_ARCHS defined.


> From: Brooks Davis <brooks_at_freebsd.org>
> Date: Tue, 27 Aug 2024 21:19:02 UTC
> 
> On Tue, Aug 27, 2024 at 07:23:37PM +0000, Brooks Davis wrote:
>> The branch main has been updated by brooks:
>> 
>> URL: https://cgit.FreeBSD.org/ports/commit/?id=58dba5b8212fd4dc77e07f58810ae959ae29fc6e
>> 
>> commit 58dba5b8212fd4dc77e07f58810ae959ae29fc6e
>> Author:     Brooks Davis <brooks@FreeBSD.org>
>> AuthorDate: 2024-08-27 19:23:23 +0000
>> Commit:     Brooks Davis <brooks@FreeBSD.org>
>> CommitDate: 2024-08-27 19:23:23 +0000
>> 
>>     devel/llvm19: prune build on 32-bit archs
>>     
>>     Given trends in compiler resource use, it is incresingly implausible to
>>     consider cross-development from a 32-bit system.  As such, stop spending
>>     time building LLVM bits are are vinishingly unlikely to be used on
>>     32-bit systems.
>>     
>>     Default to BE_NATIVE (no cross build support) on 32-bit plaforms.
>>     Disable BE_AMDGPU and BE_WASM as well.  BE_AMDGPU consumes
enormous
>>     amounts of memory.  BE_WASM is less problematic, but no one has stood up
>>     to say they need it so turn it off for now.
>>     
>>     Completely disable MLIR and POLLY on 32-bit.  Just building MLIR fails
>>     routinly on armv7 and there aren't a lot of direct users (it's used by
>>     FLANG, but FLANG is 64-bit only).  Polly is pretty niche and adds quite
>>     a bit of build time.
> 
> I'm looking for feedback on this change and plan to merge a version of
> it back to older LLVM ports after a suitable period.  If you need
> something I've disabled in your use case, let me know.
> 
> -- Brooks

-- 
Tomoaki AOKI    <junchoon@dec.sakura.ne.jp>