summaryrefslogtreecommitdiff
path: root/eclass/cmake-utils.eclass
AgeCommit message (Collapse)Author
2018-09-16cmake-utils.eclass: Move CMAKE_USER_MAKE_RULES_OVERRIDE to gentoo configAndreas Sturmlechner
2018-06-16cmake-utils.eclass: EAPI future-proof inherit-stopAndreas Sturmlechner
2018-06-12cmake-utils.eclass: Use BDEPENDAndreas Sturmlechner
2018-06-02cmake-utils.eclass: Override CMAKE_INSTALL_DOCDIR in EAPI 7Michał Górny
Pass the correct docdir for GNUInstallDirs in EAPIs starting with 7. We do not need add it retroactively to avoid breaking something accidentally.
2018-06-02cmake-utils.eclass: Stop inheriting eapi7-ver.eclass.Arfrever Frehtes Taifersar Arahesis
eapi7-ver.eclass is not used since commit b0a9a1202bbd68857aeffcfb7b1715962a39cc7c.
2018-05-27cmake-utils.eclass: Drop remaining support for <dev-util/cmake-3.4.0_rc1.Arfrever Frehtes Taifersar Arahesis
Default value of CMAKE_MIN_VERSION is already set to "3.9.6".
2018-05-27cmake-utils.eclass: Fix usage of has_version.Arfrever Frehtes Taifersar Arahesis
has_version has no output, and its result is provided by exit status. Fixes: a8d5b1da360ab6e7a09bceda8a34d37e2182b963
2018-05-26cmake-utils.eclass: enable EAPI=7Michael Palimaka
2018-05-26cmake-utils.eclass: port has_version usage handle EAPI=7Michael Palimaka
2018-05-19cmake-utils.eclass: version_is_at_least -> ver_testAndreas Sturmlechner
2018-05-14cmake-utils.eclass: Switch to eapi7-verAndreas Sturmlechner
2018-03-29eclass: misc spelling fixesMike Frysinger
2018-03-24cmake-utils.eclass: Make the new ASM-ATT rules actually workJames Le Cuirot
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. Bug: https://bugs.gentoo.org/625844
2018-03-17cmake-utils.eclass: raise CMAKE_MIN_VERSION to 3.9.6Michael Palimaka
2018-03-17cmake-utils.eclass: Extend ASM rules to ASM-ATTMichał Górny
Some CMake projects use ASM-ATT rather than ASM, so extend our rule overrides to that. Closes: https://bugs.gentoo.org/625844
2018-03-11cmake-utils.eclass: use consistent style for SETMichael Palimaka
2018-03-11cmake-utils.eclass: Override CMAKE_INSTALL_{INFO,MAN}DIRMichał Górny
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
2018-03-06cmake-utils.eclass: inherit eutils,multilib only pre-EAPI-7Andreas Sturmlechner
2018-03-02cmake-utils.eclass: switch Darwin to rpath mode, bug #642668Fabian Groffen
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
2018-01-01*/*: Welcome to 2018!Andreas Sturmlechner
Package-Manager: Portage-2.3.19, Repoman-2.3.6
2017-12-02cmake-utils.eclass: Use xdg_environment_reset from xdg-utils.eclassAndreas Sturmlechner
Bug: https://bugs.gentoo.org/639460
2017-11-19cmake-utils.eclass: add supported EAPI documentationMichael Palimaka
2017-11-18cmake-utils.eclass: mark some eclass variables as unset by defaultMichael Palimaka
Bug: https://bugs.gentoo.org/637726
2017-09-24cmake-utils.eclass: Add QA check for broken buildsystemsDavid Seifert
Closes: https://github.com/gentoo/gentoo/pull/4757
2017-09-24cmake-utils.eclass: Add QA check that cmake-utils_src_prepare was runDavid Seifert
Closes: https://github.com/gentoo/gentoo/pull/4757
2017-05-23cmake-utils.eclass: Remove redundant enable_cmake-* functionsMichał Górny
Closes: https://github.com/gentoo/gentoo/pull/4702
2017-05-21cmake-utils.eclass: Drop _cmake_execute_optionally after WANT_CMAKEAndreas Sturmlechner
Follow-up to d741b4ef5054c8800b97748ef8caa11ad910d784
2017-05-21cmake-utils.eclass: Remove PREFIX variableDavid Seifert
Closes: https://github.com/gentoo/gentoo/pull/4528
2017-05-21cmake-utils.eclass: Remove support for EAPIs 0 - 4David Seifert
Closes: https://github.com/gentoo/gentoo/pull/4528
2017-05-21cmake-utils.eclass: Remove WANT_CMAKE and warn usersDavid Seifert
Closes: https://github.com/gentoo/gentoo/pull/4528
2017-05-21cmake-utils.eclass: Use eninja from ninja-utilsMichał Górny
2017-03-18cmake-utils.eclass: raise minimum version to 3.7.2Michael Palimaka
2017-02-26Drop deprecated $Id$ from ebuild headerJohannes Huber
As per council decision: https://archives.gentoo.org/gentoo-dev/message/993bb2ec7107d4a05d07109d773fb1d9
2017-02-07cmake-utils.eclass: set CMAKE_SYSTEM_PROCESSORMaciej Mrozowski
Certain build systems rely on this for crosscompiling. Patch by aballier. Gentoo-bug: 607904
2017-02-06cmake-utils.eclass: Set CMAKE_MIN_VERSION to 3.6.3Johannes Huber
2017-01-28cmake-utils.eclass: Drop EAPI 3Johannes Huber
No consumers left.
2017-01-08cmake-utils.eclass: Support running ctest in parallelMichał Górny
Pass -j and --test-load options (with values based on MAKEOPTS) to CTest by default, in order to enable parallel test runs.
2017-01-01cmake-utils.eclass: Set CMAKE_MIN_VERSION to 3.5.2Johannes Huber
2017-01-01Welcome to 2017Johannes Huber
Happy new year.
2016-12-23cmake-utils.eclass: Set CMAKE_MIN_VERSION to 3.2.2Johannes Huber
2016-12-23cmake-utils.eclass: Sync with gentoo main treeJohannes Huber
2016-09-09Revert "cmake-utils.eclass: print feature summary"Michael Palimaka
A package can include a custom FeatureSummary module which does not export FEATURE_SUMMARY() resulting in a configure failure. This reverts commit 549ade03b47bb0b22801001921cdc31111c5ea31. Gentoo-bug: 593230
2016-09-09cmake-utils.eclass: print feature summaryChristoph Junghans
Closes: https://github.com/gentoo/gentoo/pull/2139 Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
2016-08-31cmake-utils.eclass: typoMichael Palimaka
2016-08-21cmake-utils.eclass: Let cmake_comment_add_subdirectory take n argumentsAndreas Sturmlechner
2016-08-05cmake-utils.eclass: Expand suggestion related to functions banned EAPI 6Maciej Mrozowski
2016-06-16cmake-utils.eclass: echo ctest argumentsMichael Palimaka
This mirrors the behaviour during src_configure where cmake and its arguments are printed for clarity.
2016-06-10cmake-utils.eclass: do not pass CMAKE_INSTALL_DO_STRIP in EAPI 6 and laterMichael Palimaka
CMAKE_INSTALL_DO_STRIP does not appear to be widely used, so this is a good opportunity to get rid of it.
2016-05-26cmake-utils.eclass: _ninjaopts_from_makeopts, fix plain '-j' and '-l'Michał Górny
Fix the _ninjaopts_from_makeopts to handle no-parameter '-j' and '-l' options correctly and convert them to appropriate parametrized ninja options.
2016-05-26cmake-utils.eclass: _ninjaopts_from_makeopts, fix handling of -kMichał Górny
Fix _ninjaopts_from_makeopts to handle -k correctly. Make does not support parameters to -k, while ninja requires one. Therefore, handle only a single '-k' and convert it into '-k 0' (no limit of failing tasks).