diff --git a/profiles/arch/amd64/package.use.force b/profiles/arch/amd64/package.use.force index da5032b5b2ecf..4d23ba1334288 100644 --- a/profiles/arch/amd64/package.use.force +++ b/profiles/arch/amd64/package.use.force @@ -1,6 +1,10 @@ -# Copyright 1999-2024 Gentoo Authors +# Copyright 1999-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 +# Eric Joldasov (2025-03-11) +# "x86_64" backend can succesfully bootstrap itself for Linux. +>=dev-lang/zig-0.13 -llvm + # James Le Cuirot (2024-07-02) # Needed to build gcc. Force here rather than using BDEPEND to simplify # cross-compile scenarios. diff --git a/profiles/arch/base/package.use.force b/profiles/arch/base/package.use.force new file mode 100644 index 0000000000000..7914b1aeb2ca2 --- /dev/null +++ b/profiles/arch/base/package.use.force @@ -0,0 +1,10 @@ +# Copyright 2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +# Eric Joldasov (2025-03-11) +# Force building Zig with LLVM extensions enabled. Non-LLVM backends +# are in active development, and while some backends progressed enough +# to build some simple or complex program, only small amount of them +# can succesfully bootstrap Zig. +# Unforce on targets where it's possible to bootstrap without LLVM. +dev-lang/zig llvm