| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
Upstream has removed the minor version from clang symlink in git.
Update our code accordingly.
|
|
|
|
|
|
| |
Include the lib/Testing/Support directory in LLVM checkout since
the clangd tests (part of clang-tools-extra) require that library now.
The code still needs a fix upstream to actually build the library.
|
| |
|
|
|
|
| |
Closes: https://bugs.gentoo.org/652234
|
|
|
|
|
| |
Closes: https://bugs.gentoo.org/649732
Package-Manager: Portage-2.3.24, Repoman-2.3.6
|
|
|
|
|
|
|
| |
Require the same or newer sys-libs/libcxx version when 'default-libcxx'
flag is used. This may reduce the risk of libc++ version problems
on pure libc++ systems (e.g. FreeBSD) by promoting early libc++ upgrade,
and it is consistent with the dependency in sys-devel/clang-runtime.
|
| |
|
|
|
|
| |
Closes: https://bugs.gentoo.org/649554
|
| |
|
| |
|
|
|
|
| |
Reported by leio.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Modify the ebuild to no longer enforce externally installed
dev-python/lit for tests, effectively causing the build system to use
the bundled copy of lit (along with llvm-lit). While using the external
package is more canonical, its disadvantages outweight the gain.
Most notably, lit is not slotted in Gentoo and the behavior of lit
frequently changes subtly which caused us to require a major version
match between LLVM and lit. As a result, attempting to build multiple
slots of LLVM with tests enabled cause package collisions. Building both
LLVM and lit simultaneously causes a circular dependency.
Since lit comes from the same package as LLVM and clang requires it
anyway for gtest, using the bundled copy has no added cost.
However, the live ebuild is currently broken as it requires llvm-lit
that is not created in the stand-alone build. This will be fixed
upstream.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
The Sphinx patch is no longer necessary with 5.0.0+ -- the upstream
changes made it possible to get the docs building through passing a few
variables to CMake.
|
|
|
|
|
|
|
|
| |
Revert back to using LLVM_TARGETS_TO_BUILD since
LLVM_EXPERIMENTAL_TARGETS_TO_BUILD logic is not implemented in clang
(or the installed LLVM CMake files). However, the target check is not
implemented either, so we can just push the experimental targets into
the regular variable.
|
|
|
|
|
| |
Declare Z3_INCLUDE_DIR only if [z3] is enabled, to avoid unused
variable warning from CMake.
|
|
|
|
|
| |
The extra tool tests now work correctly with static-analyzer disabled.
Update the ebuild accordingly.
|
| |
|
|
|
|
|
|
|
|
| |
Tests for clang-tools-extra are disabled upstream if static-analyzer
is disabled. This is related to the fact that clang-tidy requires it,
and upstream did not split the tests properly (yet).
Bug: https://bugs.gentoo.org/627974
|
|
|
|
| |
Closes: https://github.com/gentoo/gentoo/pull/5386
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
Now that LLVM is split, the package is no longer horribly large
in regular builds. The new sizes fit the usual limits and so do not need
specific checks. Furthermore, maintaining all those values with
different USE flags and compiler flags combinations.
|
| |
|
|
|
|
|
|
|
| |
Turns out the issue lies within LLVM itself, wrt CMAKE_BUILD_TYPE
no longer forcing -DNDEBUG while wiping out the default flags.
Reverts: 9e3db5e62f63c3c169e9c60f5ac5acc43ae87160
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
Build tests in src_compile() (when enabled) rather than delaying that
until src_test(). This ensures a better split between compilation phase
and testing in multilib builds, i.e. you can turn off other distcc
servers when first ABI starts testing. Also, it guarantees that building
the tests will be tested for all ABIs, even if the actual tests fail for
one of them.
|
|
|
|
|
|
| |
Remove LLVM_LIBDIR_SUFFIX as CMake path is now obtained from
llvm-config, and LLVM_LIBDIR_SUFFIX is subsequently obtained from
LLVMConfig.cmake.
|
|
|
|
|
|
|
| |
Obtain the clang version that is used for paths and executable names
from llvm-config, instead of hardcoding it in ebuild. This matches
the method used in upstream code (obtaining it from CMake files),
and works both for release and live ebuilds.
|
| |
|
| |
|