Re: mesa: LLVM_DEFAULT usage

Gunther Nikl <[email protected]>
Newsgroups gmane.os.freebsd.devel.x11
Message-ID <[email protected]>
Jan Beich <[email protected]> wrote:
>
> Gunther Nikl <[email protected]> writes:
> 
> > While testing the phabricator differential for mesa-dri/mesa-libs
> > (D19100), I noticed that I don't understand it's dependency on
> > LLVM. I assumed that the referenced LLVM version is required to
> > build the ports, but the build used cc from base unless I added
> > explicitly set CC and CXX as done in the PPC block. Only
> > llvm-config from the referenced port is used. Is this intentional?
> > I am using 11.3-RELEASE AMD64.  
> 
> See https://wiki.freebsd.org/WhyDoIHaveToBuildLLVMWhenIAlreadyHaveClangInstalled

Thanks for the link, I believe I looked at this page before. FWIW, I know
that some mesa dri drivers use libLLVM. However, I assumed that to use a
certain libLLVM version its also necessary to build with the compiler that
is providing the library. Apparently mesa can be build with whatever
compiler the system provides if it has required features. And from the
referenced LLVM port only libLLVM (and other referenced libraries) is
necessary. Is this correct?

> New Intel driver called "iris" uses libLLVM, too.

I would like to use this new driver, pity that I am on Haswell.

Regards,
Gunther Nikl
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-x11
To unsubscribe, send any mail to "[email protected]"
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.