| Commit message (Collapse) | Author | Age |
| |
|
|
|
|
| |
PMS rules going above FILESDIR.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
That allows us to build not-so-broken static libraries
for LTO users. Tuhs usually have environment like:
CFLAGS=-flto
AR=${CHOST}-gcc-ar
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
The '=' with the "" around the bindir are causing a "not a valid
directory" error while compiling with cuda support.
It now works as expected: with gcc-5.4.0 and cuda 7.5 NVCCFLAGS are set
properly to gcc-4.9.x
Closes: https://github.com/gentoo/gentoo/pull/3013
|
|
|
|
|
|
| |
Currently the check against *g++* doesn't work, thus the NVCCFLAGS
are never set accordingly.
The check for gnu is now made through tc-is-gcc.
|
| |
|
|
|
|
|
|
|
|
| |
Support passing custom values for 'infinity' in makeopts_jobs()
and makeopts_loadavg(). This can be used e.g. when a build system does
not support --loadavg, and therefore '--jobs 999' would most likely
be a really bad idea. Combined with get_nproc(), this can be used to
provide a sane replacement instead.
|
|
|
|
|
|
|
|
|
|
| |
Introduce get_nproc(), a portable 'nproc' wrapper. It uses either
'nproc' or a fallback Python multiprocessing module call to attempt to
determine the number of available processing units.
This can be used e.g. to determine a safe number of jobs to run when
MAKEOPTS specifies unlimited --jobs and the build system in question
does not support --load-average.
|
|
|
|
|
|
|
|
| |
Improve the regular expressions to handle parameters consisting of
multiple short options (such as -kj). It should be noted that the code
is not perfect but should handle all common (valid) cases; it could e.g.
incorrectly process a short option followed by string arg such as
'-Wfoo.j' although having this in MAKEOPTS is extremely unlikely.
|
|
|
|
|
|
|
| |
Upstream added a subdirectory that should not be added to the project.
Closes: https://github.com/gentoo/gentoo/pull/3139
Signed-off-by: Johannes Huber <johu@gentoo.org>
|
| |
|
|
|
|
| |
in bug #576614 by jon R-B.
|
|
|
|
| |
The values get clobbered immediately afterward, so why bother?
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
The global_docs target is not needed any longer due to the following
upstream change:
http://code.qt.io/cgit/qt/qtbase.git/commit/?id=a7ddef139415f74f9ba8dc84a2f15105149ca5e8
Gentoo-Bug: https://bugs.gentoo.org/596054
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
APACHE_MODULESDIR into pkg_setup
|
|
|
|
|
|
| |
EAPIs without use dependencies
There are no EAPI=0 / EAPI=1 ebuilds in the tree that are affected.
|
| |
|
|
|
|
|
| |
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.
|
|
|
|
| |
The latter doesnt work reliably with latest oasis versions.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
#601326)."
This reverts commit 00b1fa774f05e16d855dbf39e42d2eb6a7483ab7.
At this time the gtk+:2 dependencies are still required.
|
|
|
|
|
| |
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.
|
|
|
|
| |
Support older EAPIs with epatch_user.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
We need at least Cargo 0.13.0 to use the new bits in this eclass.
Signed-off-by: Doug Goldstein <cardoe@gentoo.org>
|
|
|
|
|
|
|
|
| |
Add support for newer dependency vendoring which allows us to download
the dependencies with the package manager and just have cargo use that
to compile the package.
Signed-off-by: Doug Goldstein <cardoe@gentoo.org>
|
|
|
|
|
|
|
|
|
| |
Originally this eclass only had the bits to build cargo and not other
packages built with cargo. Cargo is a special case and needs to override
some parts. This adds the generic case for normal cargo packages,
allowing for debug and release builds of packages as well.
Signed-off-by: Doug Goldstein <cardoe@gentoo.org>
|