Сравнение xbyak-5.73 с xbyak-7.33.3

/usr/portage/dev-libs/xbyak/xbyak-7.33.3.ebuild 2026-03-03 11:46:17.157005130 +0300
1
# Copyright 1999-2023 Gentoo Authors
1
# Copyright 1999-2026 Gentoo Authors
2 2
# Distributed under the terms of the GNU General Public License v2
3 3

  
4
EAPI=7
4
EAPI=8
5

  
6
inherit cmake multilib toolchain-funcs
5 7

  
6 8
DESCRIPTION="JIT assembler for x86(IA-32)/x64(AMD64, x86-64)"
7 9
HOMEPAGE="https://github.com/herumi/xbyak"
......
10 12
LICENSE="BSD"
11 13
SLOT="0"
12 14
KEYWORDS="~amd64 ~x86"
13
IUSE=""
14 15

  
15
src_compile() { :; }
16
IUSE="test"
17
RESTRICT="!test? ( test )"
18

  
19
BDEPEND="
20
	test? (
21
		dev-lang/yasm
22
		dev-lang/nasm
23
	)
24
"
25

  
26
src_prepare() {
27
	sed 's/ONLY_64BIT=0/ONLY_64BIT:=0/' -i test/Makefile || die
28
	cmake_src_prepare
29
}
30

  
31
src_test() {
32
	local only_64bit=0
33
	if use amd64 && { ! has_multilib_profile || [[ $(tc-get-cxx-stdlib) == libc++ ]]; }; then
34
		only_64bit=1
35
	fi
16 36

  
17
src_install() {
18
	emake install PREFIX="${D}/usr"
37
	emake -C test test ONLY_64BIT=${only_64bit}
19 38
}
Спасибо!