Re: Avoiding llvm from ports on rpi4

Nuno Teixeira <[email protected]>
Newsgroups gmane.os.freebsd.devel.arm
Message-ID <CAFDf7U+6Bh8jfKni9waVjJO1U1RAjqfTyxJxyD2nU2b6g=6N3g@mail.gmail.com>
(...)

Something related on gentoo:
https://forums.gentoo.org/viewtopic-t-1092118-start-0-postdays-0-postorder-asc-highlight-.html

I think it is worth to dig a bit and check if we need mesa at all in some
arches or at least disable llvm on it:

option(
  'llvm',
  type : 'feature',
  deprecated: {'true': 'enabled', 'false': 'disabled'},
  description : 'Build with LLVM support.'
)

option(
  'shared-llvm',
  type : 'feature',
  deprecated: {'true': 'enabled', 'false': 'disabled'},
  description : 'Whether to link LLVM shared or statically.'
)

option(
  'draw-use-llvm',
  type : 'boolean',
  value : true,
  description : 'Whether to use LLVM for the Gallium draw module, if LLVM '
+
                'is included.'
)

Nuno Teixeira <[email protected]> escreveu (sábado, 22/02/2025 à(s)
16:06):

> Hello,
>
> Building llvm19 as a dependency just for mesa-dri is something
> that I like to tweak to avoid waiting >15 hours building it.
>
> pkg info -r llvm19
> llvm19-19.1.7_1:
>         mesa-dri-24.1.7_4
>
> There is a PR about it, but I don't know the best way to hack it:
> https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=238906
>
> Any help is welcome!
>
> Thanks,
>
> --
> Nuno Teixeira
> FreeBSD UNIX:  <[email protected]>   Web:  https://FreeBSD.org
>


-- 
Nuno Teixeira
FreeBSD UNIX:  <[email protected]>   Web:  https://FreeBSD.org
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.