summaryrefslogtreecommitdiff
path: root/eclass
Commit message (Collapse)AuthorAgeFilesLines
* toolchain-funcs.eclass: avoid using tc-getCPP in compiler checksMike Gilbert7 days1-6/+6
| | | | | | | | | | | We usually want to invoke cc -E rather than cpp directly. We should not rely on the quirk of tc-getCPP defaulting to "cc -E" when CPP is unset. Resolves a warning when CPP is set to llvm-cpp, which does not accept the -E option. Closes: https://bugs.gentoo.org/949340 Signed-off-by: Mike Gilbert <floppym@gentoo.org>
* Add 21.0.0_pre20250215 snapshotMichał Górny9 days1-0/+3
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* eclass/apache-2.eclass: remove obsolete upgrade checkHans de Graaff9 days1-22/+0
| | | | Signed-off-by: Hans de Graaff <graaff@gentoo.org>
* eclass/apache-2.eclass: remove obsolete version checkHans de Graaff9 days1-4/+1
| | | | Signed-off-by: Hans de Graaff <graaff@gentoo.org>
* eclass/apache-2.eclass: support EAPI 8Hans de Graaff9 days1-3/+3
| | | | Signed-off-by: Hans de Graaff <graaff@gentoo.org>
* llvm.org.eclass: Remove old snapshot commitsMichał Górny9 days1-9/+0
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* python-r1.eclass: Fix PYTHON_PKG_DEP stripping (we have :3.11= now)Michał Górny9 days1-2/+2
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* python-any-r1.eclass: Fix := stripping again (now we have :3.11=)Michał Górny9 days1-3/+3
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* python-utils-r1.eclass: Add pypy3_11 targetMichał Górny9 days2-14/+32
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* toolchain.eclass: drop gnat-gpl from *DEPENDSam James10 days1-2/+0
| | | | | | | | | | | | The binhost builder sometimes ends up trying to build gnat-gpl which fails on some stuff like Fortran sometimes. It's not worth spending time investigating, we have ada-bootstrap for a reason, including dev-lang/ada-bootstrap-0_p2021-r1 which is the same as gnat-gpl was but with the other languages stripped out. Last-rites for gnat-gpl will follow in a little while. Signed-off-by: Sam James <sam@gentoo.org>
* eapi9-ver.eclass: New eclassUlrich Müller10 days1-0/+50
| | | | | | | | | | | | | | | This implements the ver_replacing command, as proposed for EAPI 9: | Takes an operator and a version string as arguments, which follow | the same specification as in ver_test. Iterates over the elements | of REPLACING_VERSIONS, using ver_test to compare each element with | the version string. Returns shell true (0) if the specified relation | is fulfilled for any element. Note that if REPLACING_VERSIONS is | empty, shell false (1) is returned. The command is only meaningful | in phases where \t{REPLACING_VERSIONS} is defined. Bug: https://bugs.gentoo.org/947530 Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* postgres.eclass: Remove support for slot 12Patrick Lauer11 days1-2/+2
| | | | | | 12 has been EOL for a while Signed-off-by: Patrick Lauer <patrick@gentoo.org>
* plasma.kde.org.eclass: Support Plasma 6.3 Beta "point release" 6.2.91Andreas Sturmlechner12 days1-2/+2
| | | | | | Drop Plasma 5 unstable releases SRC_URI support. Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* Add 21.0.0_pre20250211 snapshotMichał Górny13 days1-0/+3
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* go-env.eclass: refine filter-lto workaround for checking GCCsSam James13 days1-2/+8
| | | | | | | | We want to cover unreleased GCC too as it'll have the same (or same enough) level of checking/debug assertions for the purposes of this bug) problem. Bug: https://bugs.gentoo.org/912152 Signed-off-by: Sam James <sam@gentoo.org>
* toolchain.eclass: fix TODO typoSam James14 days1-1/+1
| | | | Signed-off-by: Sam James <sam@gentoo.org>
* ecm.eclass: Strip SLOT of sub-slot to sanitise metainfo target pathAndreas Sturmlechner2025-02-091-4/+4
| | | | | | Amends c715f7a87d835a5d7eb9204475e4e8360c6e8908 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* ecm.eclass: Introduce _ecm_handbook_optional() to support BUILD_DOCAndreas Sturmlechner2025-02-091-2/+14
| | | | Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* ecm.eclass: Replace KDE_GCC_MINIMAL logic with tc-check-min_verAndreas Sturmlechner2025-02-091-12/+3
| | | | Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* llvm.org.eclass: Add 21.0.0_pre20250208 snapshotMichał Górny2025-02-081-0/+3
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* toolchain.eclass: fix USE=doc for non-gcc (kgcc64)Sam James2025-02-071-3/+8
| | | | | | We can simplify the has_feature ... && _use_if ... later. Signed-off-by: Sam James <sam@gentoo.org>
* toolchain.eclass: depend on doxygen for USE=docSam James2025-02-071-15/+12
| | | | | | | | | | | Needed for libstdc++ docs. This goes back to 3998c0e241690b9f5520a66c36382d6173c2bdad and 337957a79e26b67eda2ef3bd5af71f75217b32b5. I don't see why we want that behaviour these days. Closes: https://bugs.gentoo.org/949398 Signed-off-by: Sam James <sam@gentoo.org>
* toolchain.eclass: fix typo sys-devel/ -> llvm-core/Z. Liu2025-02-061-1/+1
| | | | | | Signed-off-by: Z. Liu <zhixu.liu@gmail.com> Closes: https://github.com/gentoo/gentoo/pull/40452 Signed-off-by: Sam James <sam@gentoo.org>
* toolchain.eclass: drop flags not supported by GCC 9Sam James2025-02-051-0/+5
| | | | Signed-off-by: Sam James <sam@gentoo.org>
* rust.eclass: add 1.84.1Arthur Zamarin2025-02-051-0/+2
| | | | Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
* llvm.org.eclass: Add 21.0.0_pre20250201 snapshotMichał Górny2025-02-011-0/+3
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* qt6-build.eclass: update for user_facing_tool_links.txt changesIonen Wolkens2025-01-311-7/+22
| | | | | | | | | | | | | | Still keep a bash loop given want to keep the sanity check and it spares us from doing `cd "${D}${QT6_PREFIX}"` for a `xargs ln` to work, but it let us simplify a little bit. Keeping old version in its own block so it's easy to drop later. Also drop the empty ${links} variable from the sanity check, dates back to old unused code. Closes: https://bugs.gentoo.org/949126 Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
* llvm.org.eclass: main is now 21.xMichał Górny2025-01-311-1/+1
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* llvm.org.eclass: Remove old snapshotsMichał Górny2025-01-311-9/+0
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* qt6-build.eclass: add USE=custom-cflags, force -march=x86-64-v*Ionen Wolkens2025-01-311-87/+48
| | | | | | | | | | | | | | | | | | | | | See a new user have issues with this every other week despite the already large amount of workarounds in this function which been getting ridiculous. While -march=native and similar is fine for "most", still believe it is time to give up and force x86-64-v* to ensure every other user do not run into a build failure or other problems. Optimization-wise it should make very little difference, but if really must there is USE=custom-cflags. Note that this would also allow LTO again which may or may not lead to runtime issues. Users reading this that are wondering why portage is rebuilding over this, use --changed-use/-U rather than --newuse/-N. Thankfully qtwebengine already has IUSE=custom-cflags so that will not trigger either way. Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
* toolchain.eclass: add TODO for --enable-version-specific-runtime-libsSam James2025-01-301-0/+2
| | | | | | | | | | While we pass it only for Darwin, I have to wonder if these days at least whether we should be using that all the time instead of passing LIBPATH. Prompted by https://inbox.sourceware.org/libc-alpha/5fc11ae8d8cc26b8cb2b500ee7a08ce8f6e98588.camel@xry111.site/. Signed-off-by: Sam James <sam@gentoo.org>
* rust.eclass: Drop 1.54.0Matt Jolly2025-01-301-2/+0
| | | | | | | This slot was removed when the (m)rust(c) bootstrap path was added but its removal from the eclass was overlooked. Signed-off-by: Matt Jolly <kangie@gentoo.org>
* cargo.eclass: respect MAKEOPTS for `cargo test`Sam James2025-01-281-0/+3
| | | | | | | | | | | Without this, while (test) compile jobs respect MAKEOPTS via our config settings already deployed via the eclass, *test* jobs do not. We may want to consider setting NEXTEST_TEST_THREADS and/or having a cargo_enable_tests helper in the eclass at some point too. Bug: https://github.com/rust-lang/cargo/issues/8430 Signed-off-by: Sam James <sam@gentoo.org>
* flag-o-matic.eclass: fix negation of -fstack-protector-allSam James2025-01-281-2/+2
| | | | | Closes: https://bugs.gentoo.org/943761 Signed-off-by: Sam James <sam@gentoo.org>
* llvm.org.eclass: Add 20.0.0_pre20250125 snapshotMichał Górny2025-01-251-0/+3
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* llvm.org.eclass: Add 20.0.0_pre20250122 snapshotMichał Górny2025-01-221-0/+3
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* llvm.org.eclass: SPIRV is production since 20.0.0_pre20250122Michał Górny2025-01-221-8/+20
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* toolchain.eclass: use lib*, not get_libdir for crossSam James2025-01-211-1/+3
| | | | | | | | get_libdir isn't right for ROOT and cross-compilation. Closes: https://bugs.gentoo.org/908455 Bug: https://bugs.gentoo.org/794181 Signed-off-by: Sam James <sam@gentoo.org>
* mono.eclass: mark as DEADPetr Vaněk2025-01-201-2/+2
| | | | | | | | | The eclass is no longer used by any package in the tree nor in ::dotnet overlay. Bug: https://bugs.gentoo.org/372453 Bug: https://bugs.gentoo.org/374867 Signed-off-by: Petr Vaněk <arkamar@gentoo.org>
* dotnet.eclass: mark as deprecatedPetr Vaněk2025-01-201-1/+2
| | | | | | | | | The eclass has last two consumers in the tree. One of them is already last-rited, the second is slowly rotting. However, the eclass is still used in ::dotnet overlay, which does not seem to be very active and it is not in good shape. Signed-off-by: Petr Vaněk <arkamar@gentoo.org>
* toolchain.eclass: add TODO for collecting differing bootstrap objectsSam James2025-01-191-0/+2
| | | | | | | | | | | Add a TODO for bootstrap comparison failures, where we should include the stage2 & stage3 differing objects to avoid having to ask reporters to manually collect... Bug: https://bugs.gentoo.org/904426 Bug: https://bugs.gentoo.org/920719 Bug: https://bugs.gentoo.org/932789 Bug: https://bugs.gentoo.org/947752 Signed-off-by: Sam James <sam@gentoo.org>
* toolchain.eclass: fix finding config.logs in death hooksSam James2025-01-181-1/+1
| | | | | Bug: https://bugs.gentoo.org/948045 Signed-off-by: Sam James <sam@gentoo.org>
* toolchain.eclass: drop redundant 'a' flag from tar invocationSam James2025-01-181-1/+1
| | | | | | | | .. for death hooks. We're not compressing yet, hence we certainly don't need autodetection of compression based on suffix... Bug: https://bugs.gentoo.org/948045 Signed-off-by: Sam James <sam@gentoo.org>
* toolchain.eclass: don't try to compress a (non-existent) compress fileSam James2025-01-181-1/+1
| | | | | | | ... in death hook. Pointed out by Eli. Bug: https://bugs.gentoo.org/948045 Signed-off-by: Sam James <sam@gentoo.org>
* llvm.org.eclass: Add 20.0.0_pre20250118 snapshotMichał Górny2025-01-181-0/+3
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* llvm.org.eclass: Remove old snapshotsMichał Górny2025-01-181-6/+0
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* cargo.eclass: Emit a warning if the package uses 300+ cratesMichał Górny2025-01-161-1/+7
| | | | | | | | | | | | | | | | Emit a QA warning suggesting the use of crate tarball, when the package in question uses 300 crates or more. Such a long crate lists cause ebuilds and Manifests to grow very fast, causing significant space consumption on end user systems (including users who are not using the package in question) and git history growth. On top of that, fetching that many crates takes significant time. The number of 300 is pretty arbitrary, chosen approximately to match Manifests that are over 100 KiB in size. We should probably look into lowering in the future, as more packages are transitioned. Closes: https://github.com/gentoo/gentoo/pull/40096 Signed-off-by: Michał Górny <mgorny@gentoo.org>
* toolchain.eclass: another death_hooks fixSam James2025-01-161-1/+1
| | | | | | | Hopefully the last. Bug: https://bugs.gentoo.org/948045 Signed-off-by: Sam James <sam@gentoo.org>
* toolchain.eclass: fix toolchain_death_notice moreSam James2025-01-151-1/+2
| | | | | | | | | | * Go back to -arf. As Marcus points out, it doesn't make sense to append there. * Compress afterwards given we want to handle both directories. Bug: https://bugs.gentoo.org/948045 Signed-off-by: Sam James <sam@gentoo.org>
* optfeature.eclass: Update exampleUlrich Müller2025-01-151-2/+2
| | | | | | | "app-misc/baz[bar]" needs to be quoted, otherwise they may be interpreted as filename expansion patterns. Signed-off-by: Ulrich Müller <ulm@gentoo.org>