summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* llvm.org.eclass: Add LLVM_TARGETS decl APIMichał Górny2021-09-201-0/+73
| | | | | | | | | Move the target declarations that are currently shared between multiple ebuilds (and there's more to come!) to the eclass to reduce duplication and ease maintenance. Add an API to add USE flags and dependencies on targets to packages. Signed-off-by: Michał Górny <mgorny@gentoo.org>
* llvm.org.eclass: main branch is 14.xMichał Górny2021-07-301-1/+1
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* llvm.org.eclass: Add a check for missing Gentoo-Comp in patchesMichał Górny2021-07-221-0/+6
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* llvm.org.eclass: Enable EAPI 8Michał Górny2021-07-181-2/+2
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* llvm.org.eclass: remove pre-10.0.1 conditionMichał Górny2021-07-181-4/+1
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* llvm.org.eclass: fix @SUPPORTED_EAPIS eclassdocSam James2021-06-211-0/+1
| | | | Signed-off-by: Sam James <sam@gentoo.org>
* llvm.org.eclass: Support Gentoo patchsetsMichał Górny2021-04-221-0/+26
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* Revert "llvm.org.eclass: mark some variable as @PRE_INHERIT"Sam James2021-03-311-2/+0
| | | | | | | | | Can't be both @PRE_INHERIT and @INTERNAL, although it can be set in ebuilds...? This reverts commit c03e126435d2131e673bd678820b30a25dd97cda. Signed-off-by: Sam James <sam@gentoo.org>
* llvm.org.eclass: mark some variable as @PRE_INHERITSam James2021-03-311-0/+2
| | | | Signed-off-by: Sam James <sam@gentoo.org>
* llvm.org.eclass: Master is now 13.0.0Michał Górny2021-01-281-2/+2
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* llvm.org.eclass: Add manpage build/install utilitiesMichał Górny2020-10-261-0/+47
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* llvm.org.eclass: Always unpack all distfilesMichał Górny2020-10-261-0/+7
| | | | | | | Unpack all distfiles from SRC_URI, not only the primary LLVM tarball. This will be helpful in implementing manpage support. Signed-off-by: Michał Górny <mgorny@gentoo.org>
* llvm.org.eclass: Remove support for pre-9.0.1 archivesMichał Górny2020-10-261-76/+8
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* llvm.org.eclass: master is now LLVM 12Michał Górny2020-07-151-1/+1
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* llvm.org.eclass: Add a helper function for common lit argsMichał Górny2020-06-231-0/+20
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* llvm.org.eclass: Declare CMAKE_BUILD_TYPEMichał Górny2020-06-231-0/+5
| | | | | | | Deduplicate CMAKE_BUILD_TYPE from most of the LLVM ebuilds to the eclass. Signed-off-by: Michał Górny <mgorny@gentoo.org>
* llvm.org.eclass: Introduce llvm-project patch-friendly src_prepareMichał Górny2020-06-231-0/+23
| | | | | | | | | Introduce llvm.org_src_prepare() that calls appropriate src_prepare() implementation (either cmake or default), causing patch application to happen in ${WORKDIR} rather than ${S}. This makes it possible to use patches made against llvm-project git repository out of the box. Signed-off-by: Michał Górny <mgorny@gentoo.org>
* llvm.org.eclass: Master is now 11.xMichał Górny2020-01-181-2/+2
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* llvm.org.eclass: [QA] Fix missing eend argMichał Górny2019-12-221-2/+2
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* llvm.org.eclass: Fix appending GitHub SRC_URIMichał Górny2019-12-211-1/+1
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* llvm.org.eclass: Support 9.0.1+ RCsMichał Górny2019-11-231-28/+49
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* llvm.org.eclass: New eclass to help maintaining LLVMMichał Górny2019-11-031-0/+198
llvm.org eclass is meant to provide helper routines for maintaining LLVM packages. It takes care of covering the differences between release, prerelease and git ebuilds in a unified API. This will make maintenance much easier. Initially, the eclass takes care of fetching and unpacking the archives. Later on, I will work on moving some more common stuff there. Signed-off-by: Michał Górny <mgorny@gentoo.org>