| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Closes: https://github.com/gentoo/gentoo/pull/4702
|
|
|
|
| |
Follow-up to d741b4ef5054c8800b97748ef8caa11ad910d784
|
|
|
|
| |
Closes: https://github.com/gentoo/gentoo/pull/4528
|
|
|
|
| |
Closes: https://github.com/gentoo/gentoo/pull/4528
|
|
|
|
| |
Closes: https://github.com/gentoo/gentoo/pull/4528
|
| |
|
| |
|
|
|
|
| |
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
|
| |
|
|
|
|
| |
this for crosscompiling. Patch by aballier, bug 607904
|
|
|
|
| |
No consumers left.
|
|
|
|
|
| |
Pass -j and --test-load options (with values based on MAKEOPTS) to CTest
by default, in order to enable parallel test runs.
|
| |
|
| |
|
|
|
|
|
| |
Set the assembly compiler and flags directly instead of implicitly
forcing them in the build rule.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Split multi-argument CC/CXX/FC into a CMake array consisting of one
element containing the compiler path (name) and the other containing all
command-line options, space-separated. This is how CMake splits
the environment variables CC/CXX/FC internally.
The alternative would be to set CC/CXX/FC directly, and let CMake handle
the splitting. However, changing that had unforeseen consequences like
assembler not being set correctly (#601292) which in turn was impossible
to set via environment variables due to bugs in CMake.
Therefore, splitting the values into CMAKE_*_COMPILER correctly seems
the simplest and safest way forward, at least until we can rely on fixed
CMake versions being sufficiently deployed.
|
|
|
|
|
| |
Revert using CC/CXX/FC envvars since it breaks implicit assembler
override and is non-trivial to fix, #601292.
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
|
|
|
|
| |
Move CMAKE_AR & CMAKE_RANLIB definitions into the toolchain file. It
seems to make more sense there than in build rules.
|
|
|
|
|
|
|
| |
This reverts commit ac8c7b0f47bb1f266193375b67a6fd566d0f76d5.
Makes packages with custom FEATURE_SUMMARY fail as can be seen in
https://bugs.gentoo.org/593230
|
|
|
|
|
|
| |
Closes: https://github.com/gentoo/gentoo/pull/2139
Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
|
| |
|
|
|
|
| |
This reverts commit 14994bc4884b1d1eefe58f1c41e48f24eadf2d2b.
|
|
|
|
|
| |
This mirrors the behaviour during src_configure where cmake and its arguments
are printed for clarity.
|
|
|
|
|
| |
CMAKE_INSTALL_DO_STRIP does not appear to be widely used, so this is a good
opportunity to get rid of it.
|
|
|
|
|
|
| |
Fix the _ninjaopts_from_makeopts to handle no-parameter '-j' and '-l'
options correctly and convert them to appropriate parametrized ninja
options.
|
|
|
|
|
|
|
| |
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).
|
|
|
|
| |
removed since EAPI 6
|
| |
|
|
|
|
| |
Gentoo-bug: 577244
|
| |
|
| |
|
|
|
|
| |
The forced upgrade has been moved to @system now.
|
|
|
|
| |
Signed-off-by: Justin Lecher <jlec@gentoo.org>
|
|
|
|
|
|
| |
Gentoo-Bugs: https://bugs.gentoo.org/show_bug.cgi?id=573132
Signed-off-by: Justin Lecher <jlec@gentoo.org>
|
|
|
|
| |
Signed-off-by: Justin Lecher <jlec@gentoo.org>
|
|
|
|
| |
Signed-off-by: Justin Lecher <jlec@gentoo.org>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
in EAPI 6 and later
This will allow us to remove the capitalisation variants code later.
|
| |
|
| |
|
|
|
|
|
|
|
| |
This is the correct phase for source modifications, and additionally avoids a
multilib race condition.
Gentoo-bug: 513170
|
| |
|