Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 23 Feb 2025 00:42:25 +0000
From:      bugzilla-noreply@freebsd.org
To:        x11@FreeBSD.org
Subject:   [Bug 238906] graphics/mesa-dri: Allow building without LLVM
Message-ID:  <bug-238906-7141-snKhxBa0wC@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-238906-7141@https.bugs.freebsd.org/bugzilla/>
References:  <bug-238906-7141@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D238906

--- Comment #26 from Mark Millard <marklmi26-fbsd@yahoo.com> ---
(In reply to Nuno Teixeira from comment #19)

[This goes along with Helge's notes.]

I'd done a bulk -a build experiment
(that generally cause llvm20 to be used).
The mesa-libs log reports:

=3D=3D=3D>   Installing existing package /packages/All/llvm20-20.1.0.r1.pkg
[aarch64PBase] Installing llvm20-20.1.0.r1...
[aarch64PBase] `-- Installing libedit-3.1.20240808,1...
[aarch64PBase] `-- Extracting libedit-3.1.20240808,1: .......... done
[aarch64PBase] `-- Installing lua53-5.3.6_1...
[aarch64PBase] `-- Extracting lua53-5.3.6_1: .......... done
[aarch64PBase] `-- Installing perl5-5.36.3_2...
[aarch64PBase] `-- Extracting perl5-5.36.3_2: .......... done
[aarch64PBase] `-- Installing zstd-1.5.6...
[aarch64PBase] |   `-- Installing liblz4-1.10.0,1...
[aarch64PBase] |   `-- Extracting liblz4-1.10.0,1: .......... done
[aarch64PBase] `-- Extracting zstd-1.5.6: .......... done
[aarch64PBase] Extracting llvm20-20.1.0.r1: .......... done

And the mesa-dri log shows, not only llvm20
directly, but:

=3D=3D=3D>   Installing existing package /packages/All/mesa-libs-24.1.7_1.p=
kg
[aarch64PBase] Installing mesa-libs-24.1.7_1...
[aarch64PBase] `-- Installing expat-2.6.4...
[aarch64PBase] `-- Extracting expat-2.6.4: .......... done
[aarch64PBase] `-- Installing libXxf86vm-1.1.5...
[aarch64PBase] `-- Extracting libXxf86vm-1.1.5: .......... done
[aarch64PBase] `-- Installing libdrm-2.4.123,1...
[aarch64PBase] |   `-- Installing libpciaccess-0.18.1_1...
[aarch64PBase] |   | `-- Installing hwdata-0.392,1...
[aarch64PBase] |   | `-- Extracting hwdata-0.392,1: .......... done
[aarch64PBase] |   `-- Extracting libpciaccess-0.18.1_1: ........ done
[aarch64PBase] `-- Extracting libdrm-2.4.123,1: .......... done
[aarch64PBase] `-- Installing wayland-1.23.1...
[aarch64PBase] |   `-- Installing libepoll-shim-0.0.20240608...
[aarch64PBase] |   `-- Extracting libepoll-shim-0.0.20240608: .......... do=
ne
[aarch64PBase] |   `-- Installing libxml2-2.11.9...
[aarch64PBase] |   `-- Extracting libxml2-2.11.9: .......... done
[aarch64PBase] `-- Extracting wayland-1.23.1: .......... done
[aarch64PBase] `-- Installing zstd-1.5.6...
[aarch64PBase] |   `-- Installing liblz4-1.10.0,1...
[aarch64PBase] |   `-- Extracting liblz4-1.10.0,1: .......... done
[aarch64PBase] `-- Extracting zstd-1.5.6: .......... done
[aarch64PBase] Extracting mesa-libs-24.1.7_1: .......... done

But the report you got for what used (your equivalent
of) llvm20 here, did not show mesa-libs at all.

Your means of listing what uses the llvm that
you have been building has not been showing you
build-time dependencies that do not end up with
run-time dependencies.

But the build-time dependencies, if not removed,
still lead to needing to have built the llvm in
question (with sufficient options for all the
actual usage to be supported).

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-238906-7141-snKhxBa0wC>