Diff llvm-libunwind-15.0.7 with a llvm-libunwind-16.0.6-r1
/usr/portage/sys-libs/llvm-libunwind/llvm-libunwind-16.0.6-r1.ebuild 2023-10-09 14:52:35.556368503 +0300 | ||
---|---|---|
3 | 3 | |
4 | 4 |
EAPI=8 |
5 | 5 | |
6 |
PYTHON_COMPAT=( python3_{9..11} ) |
|
6 |
PYTHON_COMPAT=( python3_{10..12} ) |
|
7 | 7 |
inherit cmake-multilib flag-o-matic llvm llvm.org python-any-r1 \ |
8 | 8 |
toolchain-funcs |
9 | 9 | |
... | ... | |
12 | 12 | |
13 | 13 |
LICENSE="Apache-2.0-with-LLVM-exceptions || ( UoI-NCSA MIT )" |
14 | 14 |
SLOT="0" |
15 |
KEYWORDS="amd64 arm arm64 ~ppc ppc64 ~riscv sparc x86 ~x64-macos" |
|
15 |
KEYWORDS="amd64 arm arm64 ~loong ~ppc ppc64 ~riscv sparc x86 ~x64-macos" |
|
16 | 16 |
IUSE="+clang debug static-libs test" |
17 | 17 |
REQUIRED_USE="test? ( clang )" |
18 | 18 |
RESTRICT="!test? ( test )" |
... | ... | |
67 | 67 |
local use_compiler_rt=OFF |
68 | 68 |
[[ $(tc-get-c-rtlib) == compiler-rt ]] && use_compiler_rt=ON |
69 | 69 | |
70 |
# Respect upstream build type assumptions (bug #910436) where they do: |
|
71 |
# -DLIBUNWIND_ENABLE_ASSERTIONS=ON => |
|
72 |
# -DCMAKE_BUILD_TYPE=DEBUG => -UNDEBUG |
|
73 |
# -DCMAKE_BUILD_TYPE!=debug => -DNDEBUG |
|
74 |
# -DLIBUNWIND_ENABLE_ASSERTIONS=OFF => |
|
75 |
# -UNDEBUG |
|
76 |
# See also https://github.com/llvm/llvm-project/issues/86#issuecomment-1649668826. |
|
77 |
use debug || append-cppflags -DNDEBUG |
|
78 | ||
70 | 79 |
local mycmakeargs=( |
71 | 80 |
-DCMAKE_CXX_COMPILER_TARGET="${CHOST}" |
72 | 81 |
-DPython3_EXECUTABLE="${PYTHON}" |