summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* cmake-utils.eclass: mark @DEAD for removalSam James2022-07-021-0/+1
| | | | | | | | Removal on 2022-08-02. Bug: https://bugs.gentoo.org/637726 Bug: https://bugs.gentoo.org/834110 Signed-off-by: Sam James <sam@gentoo.org>
* cmake-utils.eclass: Prepare for makeopts_jobs default inf changeMichał Górny2022-05-011-2/+3
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* *.eclass: @ECLASS-VARIABLE renamed to @ECLASS_VARIABLEUlrich Müller2022-03-241-13/+13
| | | | | Bug: https://bugs.gentoo.org/835396 Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* cmake-utils.eclass: Set @PROVIDESMichał Górny2021-09-021-0/+1
| | | | | Signed-off-by: Michał Górny <mgorny@gentoo.org> Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* cmake-utils.eclass: mark CMAKE_EXTRA_CACHE_FILE, ↵Sam James2021-03-311-0/+2
| | | | | | CMAKE_UTILS_QA_SRC_DIR_READONLY as @USER_VARIABLEs Signed-off-by: Sam James <sam@gentoo.org>
* cmake-utils.eclass: fix @DEPRECATED placement for eclass-to-manpageSam James2021-03-281-1/+1
| | | | | | It's fragile. Signed-off-by: Sam James <sam@gentoo.org>
* cmake-utils.eclass: mark as @DEPRECATEDSam James2021-03-271-1/+2
| | | | | | Use cmake.eclass. Signed-off-by: Sam James <sam@gentoo.org>
* cmake*.eclass: Hardcode CMAKE_FIND_LIBRARY_CUSTOM_LIB_SUFFIX for riscvAndreas K. Hüttel2020-07-251-0/+6
| | | | | Bug: https://bugs.gentoo.org/689410 Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
* cmake-utils.eclass: DEPRECATED noticeAndreas Sturmlechner2020-06-081-0/+1
| | | | Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* cmake-utiles.eclass: Add cmake_use_find_packageAndreas Sturmlechner2019-12-041-0/+12
| | | | | | Alias for cmake-utils_use_find_package Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* cmake-utils.eclass: Fix BUILD_SHARED_LIBS variable typeAlexander Tsoy2019-11-111-1/+1
| | | | | | | | | | This fixes the following warning: CMake Warning (dev) at gentoo_common_config.cmake:8 (SET): implicitly converting 'BOOLEAN' to 'STRING' type. Signed-off-by: Alexander Tsoy <alexander@tsoy.me> Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* eclass/cmake-utils.eclass: restrict rpath hack to Prefix/rpathBenda Xu2019-07-141-1/+1
| | | | | | Prefix/standalone does not need it. Signed-Off-By: Benda Xu <heroxbd@gentoo.org>
* cmake-utils.eclass: _cmake_modify-cmakelists: Fix CMAKE_BUILD_TYPE sedAndreas Sturmlechner2019-07-041-1/+1
| | | | | | | | | Commit 6b7998b narrowed matching CMAKE_BUILD_TYPE too successfully and led to a string like `set(CMAKE_BUILD_TYPE)` being left over. Bug: https://bugs.gentoo.org/674768 Closes: https://bugs.gentoo.org/686266 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* cmake-utils.eclass: Fix typoAndreas Sturmlechner2019-07-041-1/+1
| | | | Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* cmake-utils.eclass: Fix _cmake_modify-cmakelists, add einfo outputAndreas Sturmlechner2019-05-181-8/+12
| | | | | | Closes: https://bugs.gentoo.org/674768 Reported-by: Fabio Rossi <rossi.f@inwind.it> Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* cmake-utils.eclass: Turn `eqawarn` into `die` for >= EAPI 7Andreas Sturmlechner2018-12-101-5/+20
| | | | Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* cmake-utils.eclass: Enable BUILD_SHARED_LIBS by default in EAPI >= 7David Seifert2018-12-101-0/+1
| | | | | | | | | | | * Many upstreams build static libraries by default, as this is simpler for distribution. Developers can still override this variable if required. Examples: https://github.com/pezmaster31/bamtools/blob/master/CMakeLists.txt#L64 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* cmake-utils.eclass: Make ninja default backend in EAPI >= 7David Seifert2018-12-101-2/+10
| | | | | | | | | | | | * Using the ninja backend as a default is the only way to massively improve src_compile core utilization, given that it seems unlikely that CMake will ever produce non-recursive Makefiles. See also: http://www.kaizou.org/2016/09/build-benchmark-large-c-project/ Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* cmake-utils.eclass: Use BDEPENDAndreas Sturmlechner2018-12-101-3/+8
| | | | Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* cmake-utils.eclass: enable EAPI=7Michael Palimaka2018-12-101-2/+2
| | | | Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* cmake-utils.eclass: Move CMAKE_USER_MAKE_RULES_OVERRIDE to gentoo configAndreas Sturmlechner2018-09-161-1/+1
| | | | Closes: https://bugs.gentoo.org/631522
* cmake-utils.eclass: EAPI future-proof inherit-stopAndreas Sturmlechner2018-08-151-2/+1
|
* cmake-utils.eclass: Stop inheriting eapi7-ver.eclassArfrever Frehtes Taifersar Arahesis2018-08-151-1/+1
| | | | eapi7-ver.eclass is not used since commit b0a9a1202bbd68857aeffcfb7b1715962a39cc7c.
* cmake-utils.eclass: Drop remaining support for <cmake-3.4.0_rc1Arfrever Frehtes Taifersar Arahesis2018-08-151-26/+5
| | | | Default value of CMAKE_MIN_VERSION is already set to "3.9.6".
* cmake-utils.eclass: Fix usage of has_versionArfrever Frehtes Taifersar Arahesis2018-08-151-6/+6
| | | | | | has_version has no output, and its result is provided by exit status. Fixes: a8d5b1da360ab6e7a09bceda8a34d37e2182b963
* cmake-utils.eclass: Port has_version usage handle EAPI=7Michael Palimaka2018-08-151-4/+25
|
* cmake-utils.eclass: Override CMAKE_INSTALL_DOCDIR in EAPI 7Michał Górny2018-06-021-0/+6
| | | | | | Pass the correct docdir for GNUInstallDirs in EAPIs starting with 7. We do not need add it retroactively to avoid breaking something accidentally.
* cmake-utils.eclass: version_is_at_least -> ver_testAndreas Sturmlechner2018-05-191-1/+1
|
* cmake-utils.eclass: Drop versionator.eclassAndreas Sturmlechner2018-05-191-1/+1
| | | | | All instances of implicit usage by cmake-utils.eclass revdeps were fixed in tree.
* cmake-utils.eclass: Temporarily re-add versionatorAndreas Sturmlechner2018-05-181-1/+1
| | | | Take some time for evaluation.
* cmake-utils.eclass: Switch to eapi7-verAndreas Sturmlechner2018-05-181-3/+3
|
* eclass: misc spelling fixesMike Frysinger2018-03-281-1/+1
|
* cmake-utils.eclass: Make the new ASM-ATT rules actually workJames Le Cuirot2018-03-231-1/+2
| | | | | | | | | | | The previous attempt actually broke ASM in media-libs/vulkan-loader entirely so that it fell back to C code. After much experimentation and combing through strace output, I found that -x assembler is needed to handle non-standard file extentions and linking is done as a separate step. CMAKE_ASM-ATT_LINK_FLAGS therefore needs to be defined with -nostdlib to avoid errors about undefined main symbols. Closes: https://bugs.gentoo.org/625844
* cmake-utils.eclass: inherit eutils,multilib only pre-EAPI-7Andreas Sturmlechner2018-03-171-2/+6
|
* cmake-utils.eclass: use consistent style for SETMichael Palimaka2018-03-171-11/+11
|
* cmake-utils.eclass: raise CMAKE_MIN_VERSION to 3.9.6Michael Palimaka2018-03-171-2/+2
|
* cmake-utils.eclass: Override CMAKE_INSTALL_{INFO,MAN}DIRMichał Górny2018-03-101-0/+2
| | | | | | | | | | Provide an explicit override for CMAKE_INSTALL_INFODIR and CMAKE_INSTALL_MANDIR to force Gentoo standards for those locations. This is needed for Gentoo/FreeBSD where CMake defaults to /usr/info and /usr/man; while PMS specifies /usr/share/info and /usr/share/man via econf & do* helpers. Closes: https://bugs.gentoo.org/649200
* cmake-utils.eclass: Extend ASM rules to ASM-ATTMichał Górny2018-03-101-0/+3
| | | | | | | Some CMake projects use ASM-ATT rather than ASM, so extend our rule overrides to that. Closes: https://bugs.gentoo.org/625844
* eclass/cmake-utils: switch Darwin to rpath mode, bug #642668Fabian Groffen2018-01-021-3/+1
| | | | | | | By Michael Weiser, relying on the other support that enables @rpath entries, supported in macOS 10.5 and up. Closes: https://bugs.gentoo.org/642668
* cmake-utils.eclass: Use xdg_environment_reset from xdg-utils.eclassAndreas Sturmlechner2017-12-061-2/+2
| | | | Closes: https://bugs.gentoo.org/639460
* cmake-utils.eclass: add supported EAPI documentationMichael Palimaka2017-12-021-0/+1
|
* cmake-utils.eclass: mark some eclass variables as unset by defaultMichael Palimaka2017-12-021-0/+3
|
* cmake-utils.eclass: Add QA check for broken buildsystemsDavid Seifert2017-09-241-0/+11
| | | | Closes: https://github.com/gentoo/gentoo/pull/4757
* cmake-utils.eclass: Add QA check that cmake-utils_src_prepare was runDavid Seifert2017-09-241-0/+6
| | | | Closes: https://github.com/gentoo/gentoo/pull/4757
* cmake-utils.eclass: Remove redundant enable_cmake-* functionsMichał Górny2017-05-221-42/+22
| | | | Closes: https://github.com/gentoo/gentoo/pull/4702
* cmake-utils.eclass: Drop _cmake_execute_optionally after WANT_CMAKEAndreas Sturmlechner2017-05-211-15/+5
| | | | Follow-up to d741b4ef5054c8800b97748ef8caa11ad910d784
* cmake-utils.eclass: Remove PREFIX variableDavid Seifert2017-05-211-11/+5
| | | | Closes: https://github.com/gentoo/gentoo/pull/4528
* cmake-utils.eclass: Remove support for EAPIs 0 - 4David Seifert2017-05-211-12/+10
| | | | Closes: https://github.com/gentoo/gentoo/pull/4528
* cmake-utils.eclass: Remove WANT_CMAKE and warn usersDavid Seifert2017-05-211-28/+4
| | | | Closes: https://github.com/gentoo/gentoo/pull/4528
* cmake-utils.eclass: Use eninja from ninja-utilsMichał Górny2017-05-161-49/+3
|