| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
Prefix/standalone does not need it.
Signed-Off-By: Benda Xu <heroxbd@gentoo.org>
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
| |
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
|
|
|
|
|
|
| |
Closes: https://bugs.gentoo.org/674768
Reported-by: Fabio Rossi <rossi.f@inwind.it>
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
|
|
|
|
| |
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
|
|
|
|
|
|
|
|
|
|
|
| |
* 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>
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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>
|
|
|
|
| |
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
|
|
|
|
| |
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
|
|
|
|
| |
Closes: https://bugs.gentoo.org/631522
|
| |
|
|
|
|
| |
eapi7-ver.eclass is not used since commit b0a9a1202bbd68857aeffcfb7b1715962a39cc7c.
|
|
|
|
| |
Default value of CMAKE_MIN_VERSION is already set to "3.9.6".
|
|
|
|
|
|
| |
has_version has no output, and its result is provided by exit status.
Fixes: a8d5b1da360ab6e7a09bceda8a34d37e2182b963
|
| |
|
|
|
|
|
|
| |
Pass the correct docdir for GNUInstallDirs in EAPIs starting with 7.
We do not need add it retroactively to avoid breaking something
accidentally.
|
| |
|
|
|
|
|
| |
All instances of implicit usage by cmake-utils.eclass revdeps
were fixed in tree.
|
|
|
|
| |
Take some time for evaluation.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
Some CMake projects use ASM-ATT rather than ASM, so extend our rule
overrides to that.
Closes: https://bugs.gentoo.org/625844
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
Closes: https://bugs.gentoo.org/639460
|
| |
|
| |
|
|
|
|
| |
Closes: https://github.com/gentoo/gentoo/pull/4757
|
|
|
|
| |
Closes: https://github.com/gentoo/gentoo/pull/4757
|
|
|
|
| |
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.
|