Re: Avoiding llvm from ports on rpi4

Mark Millard <[email protected]>
Newsgroups gmane.os.freebsd.devel.arm
Message-ID <[email protected]>
On Feb 22, 2025, at 12:04, Nuno Teixeira <[email protected]> wrote:

> (...)
> 
> But even with all options disabled as shown to aarch64 arch in previous e-mail,
> I will need to deal with `USES+=          llvm:lib,noexport`...

As a hack, given that you know you are only enabling:

ZSTD X11 WAYLAND

simply comment out the `USES+=          llvm:lib,noexport`
line and see how things go when you force mesa-dri to rebuild
and other things to use the result.

If you establish a useful context for such a combination, then
may be more official support could be pursued that would avoid
local changes to the Makefile.

> Nuno Teixeira <[email protected]> escreveu (sábado, 22/02/2025 à(s) 19:08):
>> Good point! I forgot to check options on port that are suitable for an rpi4!
>> I was straight to hacking stuff :)
>> 
>> As I don't know if any graphics acceleration is working on rpi4, I'm building with:
>> 
>> _OPTIONS_READ=mesa-dri-24.1.7_4
>> _FILE_COMPLETE_OPTIONS_LIST=ZSTD panfrost r300 r600 radeonsi swrast zink X11 WAYLAND radv swrast_vk
>> OPTIONS_FILE_SET+=ZSTD
>> OPTIONS_FILE_UNSET+=panfrost
>> OPTIONS_FILE_UNSET+=r300
>> OPTIONS_FILE_UNSET+=r600
>> OPTIONS_FILE_UNSET+=radeonsi
>> OPTIONS_FILE_UNSET+=swrast
>> OPTIONS_FILE_UNSET+=zink
>> OPTIONS_FILE_SET+=X11
>> OPTIONS_FILE_SET+=WAYLAND
>> OPTIONS_FILE_UNSET+=radv
>> OPTIONS_FILE_UNSET+=swrast_vk
>> 
>> While I'm really don't sure is panfrost os working or not...
>> 
>> I will see if I get working graphics this way and check if llvm dep is gone.
> 


===
Mark Millard
marklmi at yahoo.com
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.