Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | cmake-utils.eclass: Revert "export CC/CXX/FC to environment, #542530" | Michał Górny | 2016-12-02 | 1 | -2/+3 |
| | | | | | Revert using CC/CXX/FC envvars since it breaks implicit assembler override and is non-trivial to fix, #601292. | ||||
* | cmake-utils.eclass: Revert "Set assembler correctly, #601292" | Michał Górny | 2016-12-02 | 1 | -3/+1 |
| | | | | | | Revert setting ASM=${CC}. It turns out that CMake is not splitting arguments in ASM like in CC, so this effectively broke all multilib builds. | ||||
* | cmake-utils.eclass: Unset BUILD_TYPE-specific ASM flags | Michał Górny | 2016-12-01 | 1 | -0/+1 |
| | |||||
* | cmake-utils.eclass: Set assembler correctly, #601292 | Michał Górny | 2016-12-01 | 1 | -1/+3 |
| | | | | | | | | | | | Use <CMAKE_ASM_COMPILER> in the assembly compile command in order to fix building assembly files. It turns out that <CMAKE_C_COMPILER> is no longer correctly evaluated in that command once it is no longer set explicitly in the toolchain file and passed through the environment instead. Pass ASM and ASMFLAGS (equal to CC and CFLAGS) appropriately to enforce using the correct compiler. | ||||
* | cmake-utils.eclass: Wipe out default flags for std build types | Michał Górny | 2016-11-30 | 1 | -0/+13 |
| | | | | | | Wipe out the default compiler & linker flags that are forced by CMake for the standard build types. This improves the sanity of the build if we are forced to use one of those types. | ||||
* | cmake-utils.eclass: Declare CMAKE_GENTOO_BUILD | Michał Górny | 2016-11-30 | 1 | -0/+1 |
| | | | | | | | Declare the CMAKE_GENTOO_BUILD cache variable to indicate that a Gentoo package build is being performed. This variable enables Gentoo code paths in CMake modules without the necessity of setting a custom CMAKE_BUILD_TYPE. | ||||
* | cmake-utils.eclass: Export PKG_CONFIG as envvar rather than build rule | Michał Górny | 2016-11-27 | 1 | -1/+1 |
| | |||||
* | cmake-utils.eclass: export CC/CXX/FC to environment, #542530 | Maciej Mrozowski | 2016-11-27 | 1 | -3/+3 |
| | |||||
* | cmake-utils.eclass: Move CMAKE_AR & CMAKE_RANLIB into toolchain defs | Michał Górny | 2016-11-27 | 1 | -2/+2 |
| | | | | | Move CMAKE_AR & CMAKE_RANLIB definitions into the toolchain file. It seems to make more sense there than in build rules. | ||||
* | Revert "cmake-utils.eclass: print feature summary" | Lars Wendler | 2016-09-08 | 1 | -7/+0 |
| | | | | | | | This reverts commit ac8c7b0f47bb1f266193375b67a6fd566d0f76d5. Makes packages with custom FEATURE_SUMMARY fail as can be seen in https://bugs.gentoo.org/593230 | ||||
* | cmake-utils.eclass: print feature summary | Christoph Junghans | 2016-09-08 | 1 | -0/+7 |
| | | | | | | Closes: https://github.com/gentoo/gentoo/pull/2139 Signed-off-by: Lars Wendler <polynomial-c@gentoo.org> | ||||
* | cmake-utils.eclass: Let cmake_comment_add_subdirectory take n arguments | Andreas Sturmlechner | 2016-09-01 | 1 | -4/+7 |
| | |||||
* | cmake-utils.eclass: Expand suggestion related to functions banned EAPI 6 | Maciej Mrozowski | 2016-08-05 | 1 | -2/+2 |
| | | | | This reverts commit 14994bc4884b1d1eefe58f1c41e48f24eadf2d2b. | ||||
* | cmake-utils.eclass: echo ctest arguments | Michael Palimaka | 2016-06-17 | 1 | -0/+1 |
| | | | | | This mirrors the behaviour during src_configure where cmake and its arguments are printed for clarity. | ||||
* | cmake-utils.eclass: do not pass CMAKE_INSTALL_DO_STRIP in EAPI 6 and later | Michael Palimaka | 2016-06-17 | 1 | -1/+1 |
| | | | | | CMAKE_INSTALL_DO_STRIP does not appear to be widely used, so this is a good opportunity to get rid of it. | ||||
* | cmake-utils.eclass: _ninjaopts_from_makeopts, fix plain '-j' and '-l' | Michał Górny | 2016-05-26 | 1 | -2/+13 |
| | | | | | | Fix the _ninjaopts_from_makeopts to handle no-parameter '-j' and '-l' options correctly and convert them to appropriate parametrized ninja options. | ||||
* | cmake-utils.eclass: _ninjaopts_from_makeopts, fix handling of -k | Michał Górny | 2016-05-26 | 1 | -2/+7 |
| | | | | | | | 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). | ||||
* | cmake-utils.eclass: Remove incorrect suggestions related to eclass functions ↵ | Maciej Mrozowski | 2016-05-18 | 1 | -2/+2 |
| | | | | removed since EAPI 6 | ||||
* | cmake-utils.eclass: enable CMAKE_WARN_UNUSED_CLI for EAPI 6 | Maciej Mrozowski | 2016-05-18 | 1 | -2/+2 |
| | |||||
* | cmake-utils.eclass: check for ninja with ROOT=/ | Michael Palimaka | 2016-04-03 | 1 | -1/+1 |
| | | | | Gentoo-bug: 577244 | ||||
* | cmake-utils.eclass: replace spaces with tabs | Michael Palimaka | 2016-03-18 | 1 | -8/+8 |
| | |||||
* | cmake-utils.eclass: Fix typo | Andreas Sturmlechner | 2016-03-02 | 1 | -1/+1 |
| | |||||
* | cmake-utils.eclass: drop findutils dep #262965 | Mike Frysinger | 2016-02-10 | 1 | -2/+0 |
| | | | | The forced upgrade has been moved to @system now. | ||||
* | cmake-utils.eclass: Merge consecutive [[ ]] into single [[ ]] | Justin Lecher | 2016-01-28 | 1 | -2/+2 |
| | | | | Signed-off-by: Justin Lecher <jlec@gentoo.org> | ||||
* | cmake-utils.eclass: Fix inverted logic on EAPI check | Justin Lecher | 2016-01-28 | 1 | -1/+1 |
| | | | | | | Gentoo-Bugs: https://bugs.gentoo.org/show_bug.cgi?id=573132 Signed-off-by: Justin Lecher <jlec@gentoo.org> | ||||
* | cmake-utils.eclass: Drop empty line | Justin Lecher | 2016-01-27 | 1 | -1/+0 |
| | | | | Signed-off-by: Justin Lecher <jlec@gentoo.org> | ||||
* | cmake-utils.eclass: Use bash internal testing instead of has() | Justin Lecher | 2016-01-27 | 1 | -9/+9 |
| | | | | Signed-off-by: Justin Lecher <jlec@gentoo.org> | ||||
* | cmake-utils.eclass: enable EAPI 6 | Michael Palimaka | 2016-01-26 | 1 | -1/+1 |
| | |||||
* | cmake-utils.eclass: ban helper functions in EAPI 6 and later | Michael Palimaka | 2016-01-26 | 1 | -0/+12 |
| | | | | | | | | | | | | | | | | | | | The affected helpers are: * cmake-utils_use_build * cmake-utils_use_disable * cmake-utils_use_enable * cmake-utils_use_has * cmake-utils_use_no * cmake-utils_use_use * cmake-utils_use_want * cmake-utils_use_with * cmake-utils_use * cmake-utils_useno https://archives.gentoo.org/gentoo-dev/message/6ff6dedb44fff4289764dc5eb960e1c6 Gentoo-bug: 514384 | ||||
* | cmake-utils.eclass: require two arguments for cmake-utils_use_find_package ↵ | Michael Palimaka | 2016-01-26 | 1 | -2/+8 |
| | | | | | | in EAPI 6 and later This will allow us to remove the capitalisation variants code later. | ||||
* | cmake-utils.eclass: use default_src_prepare in EAPI 6 and later | Michael Palimaka | 2016-01-26 | 1 | -6/+9 |
| | |||||
* | cmake-utils.eclass: ban non-array usage of mycmakeargs in EAPI 6 and later | Michael Palimaka | 2016-01-26 | 1 | -1/+5 |
| | |||||
* | cmake-utils.eclass: move $S modifications to src_prepare in EAPI 6 and later | Michael Palimaka | 2016-01-26 | 1 | -17/+27 |
| | | | | | | | This is the correct phase for source modifications, and additionally avoids a multilib race condition. Gentoo-bug: 513170 | ||||
* | cmake-utils.eclass: namespace some private functions | Michael Palimaka | 2016-01-26 | 1 | -33/+33 |
| | |||||
* | cmake-utils.eclass: replace comment_add_subdirectory with a namespaced version | Michael Palimaka | 2016-01-26 | 1 | -2/+13 |
| | |||||
* | cmake-utils.eclass: ban WANT_CMAKE in EAPI 6 and later | Michael Palimaka | 2016-01-26 | 1 | -0/+3 |
| | | | | | It is basically unused across the tree and complicates the eclass. If it were needed, it might be better to write custom ebuild phase functions instead. | ||||
* | cmake-utils.eclass: remove duplicate CMAKE_REMOVE_MODULES | Michael Palimaka | 2016-01-26 | 1 | -1/+0 |
| | |||||
* | cmake-utils.eclass: use a proper if statement | Michael Palimaka | 2016-01-26 | 1 | -2/+2 |
| | |||||
* | cmake-utils.eclass: check exit codes of executed commands | Nikoli | 2016-01-26 | 1 | -2/+2 |
| | | | | Gentoo-bug: 544966 | ||||
* | cmake-utils.eclass: declare some variables local | Michael Palimaka | 2016-01-26 | 1 | -2/+2 |
| | | | | | | Prevents them from spanning multilibs. Gentoo-bug: 513170 | ||||
* | cmake-utils.eclass: reorder a bit | Michael Palimaka | 2016-01-26 | 1 | -9/+10 |
| | |||||
* | cmake-utils.eclass: don't warn about deprecated usage when not defined | Michael Palimaka | 2015-12-16 | 1 | -2/+5 |
| | |||||
* | cmake-utils.eclass: Case insensitive comment_add_subdirectory | Andreas Sturmlechner | 2015-12-11 | 1 | -1/+1 |
| | |||||
* | cmake-utils.eclass: Fix cross-compiling with cmake-3.4 | Daniel Scharrer | 2015-12-09 | 1 | -1/+1 |
| | | | | | | | We are interested in the CMake version on the host system, the sysroot might not even have CMake installed at all. Signed-off-by: Lars Wendler <polynomial-c@gentoo.org> | ||||
* | cmake-utils.eclass: Prepare for cmake-3.4 | Lars Wendler | 2015-11-03 | 1 | -5/+15 |
| | |||||
* | cmake-utils.eclass: add missing '|| die' on pushd/popd | Julian Ospald | 2015-10-27 | 1 | -13/+13 |
| | |||||
* | cmake-utils.eclass: warn when using mycmakeargs as a string | Michael Palimaka | 2015-10-27 | 1 | -0/+1 |
| | |||||
* | cmake-utils.eclass: whitespace | Michael Palimaka | 2015-10-27 | 1 | -1/+1 |
| | |||||
* | cmake-utils.eclass: die if ninja is enabled but not installed | Michael Palimaka | 2015-10-18 | 1 | -0/+5 |
| | | | | | | This could happen if ninja is manually enabled (eg. make.conf) but not installed Gentoo-bug: 561570 | ||||
* | cmake-utils.eclass: Simplify. | Michael Palimaka | 2015-10-15 | 1 | -2/+1 |
| | | | | | | | The exported function list used to be variable due to new phase functions introduced in EAPI 2 and later. Since we no longer support earlier EAPIs, the exported function list is now static and the variable is no longer required. |