* [gentoo-commits] repo/gentoo:master commit in: dev-libs/xbyak/
@ 2018-10-14 19:44 Jason Donenfeld
0 siblings, 0 replies; 3+ messages in thread
From: Jason Donenfeld @ 2018-10-14 19:44 UTC (permalink / raw
To: gentoo-commits
commit: 2e10f3422a4c87e716c1ba3994c7f556818dc73a
Author: Jason A. Donenfeld <zx2c4 <AT> gentoo <DOT> org>
AuthorDate: Sun Oct 14 19:43:05 2018 +0000
Commit: Jason Donenfeld <zx2c4 <AT> gentoo <DOT> org>
CommitDate: Sun Oct 14 19:44:32 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2e10f342
dev-libs/xbyak: import new ebuild
Package-Manager: Portage-2.3.51, Repoman-2.3.11
Signed-off-by: Jason A. Donenfeld <zx2c4 <AT> gentoo.org>
dev-libs/xbyak/Manifest | 1 +
dev-libs/xbyak/metadata.xml | 7 +++++++
dev-libs/xbyak/xbyak-5.73.ebuild | 23 +++++++++++++++++++++++
3 files changed, 31 insertions(+)
diff --git a/dev-libs/xbyak/Manifest b/dev-libs/xbyak/Manifest
new file mode 100644
index 00000000000..fb1b70d01a0
--- /dev/null
+++ b/dev-libs/xbyak/Manifest
@@ -0,0 +1 @@
+DIST xbyak-5.73.tar.gz 214021 BLAKE2B bf7ab78df7ac3f5a8860b3a613957bad8b6faba523126f6f4ce94be4ce25da8b91a418ac2445d8d706f09fc7434a8ab9ef6f63c56ef0b7860290fe6801849fe7 SHA512 1c2eb73c2e9b66d4b4f7689e071ea8ba8a3b7f0e05ef885ad35ca89f706772bd6e8ad448581c954b1a24f424ebd2db4e420410450a951fda7e02d6fd2e5e9a67
diff --git a/dev-libs/xbyak/metadata.xml b/dev-libs/xbyak/metadata.xml
new file mode 100644
index 00000000000..38b28ff6e62
--- /dev/null
+++ b/dev-libs/xbyak/metadata.xml
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer type="person">
+<email>zx2c4@gentoo.org</email>
+</maintainer>
+</pkgmetadata>
diff --git a/dev-libs/xbyak/xbyak-5.73.ebuild b/dev-libs/xbyak/xbyak-5.73.ebuild
new file mode 100644
index 00000000000..4cfd5772e81
--- /dev/null
+++ b/dev-libs/xbyak/xbyak-5.73.ebuild
@@ -0,0 +1,23 @@
+# Copyright 1999-2018 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DESCRIPTION="JIT assembler for x86(IA-32)/x64(AMD64, x86-64)"
+HOMEPAGE="https://github.com/herumi/xbyak"
+SRC_URI="https://github.com/herumi/xbyak/archive/v5.73.tar.gz -> ${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND=""
+RDEPEND="${DEPEND}"
+BDEPEND=""
+
+src_compile() { :; }
+
+src_install() {
+ emake install PREFIX="${D}/usr"
+}
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-libs/xbyak/
@ 2025-07-19 16:28 Sam James
0 siblings, 0 replies; 3+ messages in thread
From: Sam James @ 2025-07-19 16:28 UTC (permalink / raw
To: gentoo-commits
commit: 6a16667d66513a7657684c096b09362b6cd7259a
Author: Andrew Udvare <audvare <AT> gmail <DOT> com>
AuthorDate: Sun Mar 23 06:42:49 2025 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Jul 19 16:28:02 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6a16667d
dev-libs/xbyak: add 7.28
Also switches to using CMake.
Signed-off-by: Andrew Udvare <audvare <AT> gmail.com>
Closes: https://bugs.gentoo.org/860816
Part-of: https://github.com/gentoo/gentoo/pull/41231
Closes: https://github.com/gentoo/gentoo/pull/41231
Signed-off-by: Sam James <sam <AT> gentoo.org>
dev-libs/xbyak/Manifest | 1 +
dev-libs/xbyak/xbyak-7.28.ebuild | 25 +++++++++++++++++++++++++
2 files changed, 26 insertions(+)
diff --git a/dev-libs/xbyak/Manifest b/dev-libs/xbyak/Manifest
index fb1b70d01a03..9da1622c0fb7 100644
--- a/dev-libs/xbyak/Manifest
+++ b/dev-libs/xbyak/Manifest
@@ -1 +1,2 @@
DIST xbyak-5.73.tar.gz 214021 BLAKE2B bf7ab78df7ac3f5a8860b3a613957bad8b6faba523126f6f4ce94be4ce25da8b91a418ac2445d8d706f09fc7434a8ab9ef6f63c56ef0b7860290fe6801849fe7 SHA512 1c2eb73c2e9b66d4b4f7689e071ea8ba8a3b7f0e05ef885ad35ca89f706772bd6e8ad448581c954b1a24f424ebd2db4e420410450a951fda7e02d6fd2e5e9a67
+DIST xbyak-7.28.tar.gz 293489 BLAKE2B 25a55d682d4219d50f09325e6455dc3c3fafa2d432d95fb61cb93589fec51e7ce8dac01a50a81e1354797d48e1687a08bbb040f08e6262dc59a1bff5378ef866 SHA512 443c5c0f14182e46b07af18ee5bd631a0557c37c6b92f6b19a3100dcc8f7b8baa100b7f142fc182cb8d74537bd69459f1065b39078a8a8d02f247133c9c46be4
diff --git a/dev-libs/xbyak/xbyak-7.28.ebuild b/dev-libs/xbyak/xbyak-7.28.ebuild
new file mode 100644
index 000000000000..6abe95ceb47e
--- /dev/null
+++ b/dev-libs/xbyak/xbyak-7.28.ebuild
@@ -0,0 +1,25 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake
+
+DESCRIPTION="JIT assembler for x86(IA-32)/x64(AMD64, x86-64)"
+HOMEPAGE="https://github.com/herumi/xbyak"
+SRC_URI="https://github.com/herumi/xbyak/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+BDEPEND="
+ test? ( dev-lang/yasm )
+"
+
+src_test() {
+ emake -C test test
+}
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-libs/xbyak/
@ 2025-07-23 2:37 Sam James
0 siblings, 0 replies; 3+ messages in thread
From: Sam James @ 2025-07-23 2:37 UTC (permalink / raw
To: gentoo-commits
commit: 3033b4048a87b26f18773356a19f77beb9c25d9e
Author: Sv. Lockal <lockalsash <AT> gmail <DOT> com>
AuthorDate: Sat Jul 19 20:42:37 2025 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Jul 23 02:33:01 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3033b404
dev-libs/xbyak: fixes for FEATURES=test
1. `dev-lang/nasm` is required for tests
2. tests fail to compile on non-multilib
3. tests fail to compile with libc++ (it has no multilib even on multilib profile)
Signed-off-by: Sv. Lockal <lockalsash <AT> gmail.com>
Part-of: https://github.com/gentoo/gentoo/pull/43075
Closes: https://github.com/gentoo/gentoo/pull/43075
Signed-off-by: Sam James <sam <AT> gentoo.org>
dev-libs/xbyak/xbyak-7.28.ebuild | 19 ++++++++++++++++---
1 file changed, 16 insertions(+), 3 deletions(-)
diff --git a/dev-libs/xbyak/xbyak-7.28.ebuild b/dev-libs/xbyak/xbyak-7.28.ebuild
index 6abe95ceb47e..6670c915b601 100644
--- a/dev-libs/xbyak/xbyak-7.28.ebuild
+++ b/dev-libs/xbyak/xbyak-7.28.ebuild
@@ -3,7 +3,7 @@
EAPI=8
-inherit cmake
+inherit cmake multilib toolchain-funcs
DESCRIPTION="JIT assembler for x86(IA-32)/x64(AMD64, x86-64)"
HOMEPAGE="https://github.com/herumi/xbyak"
@@ -17,9 +17,22 @@ IUSE="test"
RESTRICT="!test? ( test )"
BDEPEND="
- test? ( dev-lang/yasm )
+ test? (
+ dev-lang/yasm
+ dev-lang/nasm
+ )
"
+src_prepare() {
+ sed 's/ONLY_64BIT=0/ONLY_64BIT:=0/' -i test/Makefile || die
+ cmake_src_prepare
+}
+
src_test() {
- emake -C test test
+ local only_64bit=0
+ if use amd64 && { ! has_multilib_profile || [[ $(tc-get-cxx-stdlib) == libc++ ]]; }; then
+ only_64bit=1
+ fi
+
+ emake -C test test ONLY_64BIT=${only_64bit}
}
^ permalink raw reply related [flat|nested] 3+ messages in thread
end of thread, other threads:[~2025-07-23 2:37 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-07-23 2:37 [gentoo-commits] repo/gentoo:master commit in: dev-libs/xbyak/ Sam James
-- strict thread matches above, loose matches on Subject: below --
2025-07-19 16:28 Sam James
2018-10-14 19:44 Jason Donenfeld
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox