From: "Julien Roy" <julien@jroy.ca>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:master commit in: dev-lang/wabt/
Date: Tue, 19 Mar 2024 19:56:07 +0000 (UTC) [thread overview]
Message-ID: <1710865293.d0a60d6ef0e8b7f1d22c8a6340cbaf6ce8b5497f.julien@gentoo> (raw)
commit: d0a60d6ef0e8b7f1d22c8a6340cbaf6ce8b5497f
Author: Haelwenn (lanodan) Monnier <contact <AT> hacktivis <DOT> me>
AuthorDate: Tue Mar 19 16:21:33 2024 +0000
Commit: Julien Roy <julien <AT> jroy <DOT> ca>
CommitDate: Tue Mar 19 16:21:33 2024 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=d0a60d6e
dev-lang/wabt: add 1.0.34
Signed-off-by: Haelwenn (lanodan) Monnier <contact <AT> hacktivis.me>
dev-lang/wabt/Manifest | 3 ++
dev-lang/wabt/wabt-1.0.34.ebuild | 77 ++++++++++++++++++++++++++++++++++++++++
2 files changed, 80 insertions(+)
diff --git a/dev-lang/wabt/Manifest b/dev-lang/wabt/Manifest
index 6a6293e5ae..bc3cc2534f 100644
--- a/dev-lang/wabt/Manifest
+++ b/dev-lang/wabt/Manifest
@@ -1 +1,4 @@
+DIST WebAssembly-testsuite-c2a67a575ddc815ff2212f68301d333e5e30a923.tar.gz 625713 BLAKE2B 0adffe3b0e60f0decbc9a0207b6a0e7137b5eb3eb405a781d51837689305ad4c41edff6cf37479b897b28545c70040fc64c67665e6529c75b817a417f794656d SHA512 c93506a5d79c36a76c0cc021a279964e47e28e523eb5dba8ce549df318c9b0c7198070b7aa27a8e632f8892349fea94c6260039e95b06d95cff8b952edced566
+DIST WebAssembly-wasm-c-api-b6dd1fb658a282c64b029867845bc50ae59e1497.tar.gz 57078 BLAKE2B 393e9ae9d3a641dd9ef0517322bc840b8d45fcf911529b1a7200e7d2baed5af4470ded4d29ca7c2c70f98c4065aee9dae823660bcb4d207b0b6a4bebb29e1f75 SHA512 5d3eec2184f8b66e2358b85f416afaea172f24155a61c9412a9d9374aa50347cf0ebe940f35727bc8c0ffe287033b967cc97a857feab6aa9e5098458e72b4fd0
DIST wabt-1.0.30.tar.xz 1997872 BLAKE2B 66050b651dc64d2e2cfeebf3aafa268d51a573fd7e3b1157dea72d427aacca6639679a28d958fed3d6b27e8888ccc3f267c3e38d5601bb09435ee8442a76c6c7 SHA512 2f00b7bdcf445141e16acedbec33ba465b9eb235e21b565af67e36e26cd89bd48f6a9e31ed9c7c7797f305288e2f2d45304e411ec4b637ede0d1f7a739e6cba1
+DIST wabt-1.0.34.tar.gz 1226317 BLAKE2B f6acc1783f704a4b25a063f13be1e57263f11cd76e91e6bf59f111b9ba7bc17999550cc88c69a1b8e586f40656ce000560378767f96b331e115e8c60032e6be5 SHA512 93be77d18b2311276af2abff8a954f3d029b1689ba8c89e1c3f0d199ddc0af505ffaa8489fbe0df4fc8beae1a37c645971d63794ff440e305042ff1b94bd83ef
diff --git a/dev-lang/wabt/wabt-1.0.34.ebuild b/dev-lang/wabt/wabt-1.0.34.ebuild
new file mode 100644
index 0000000000..f7cf269255
--- /dev/null
+++ b/dev-lang/wabt/wabt-1.0.34.ebuild
@@ -0,0 +1,77 @@
+# Copyright 2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..12} )
+
+EGIT_COMMIT_TESTSUITE="c2a67a575ddc815ff2212f68301d333e5e30a923"
+EGIT_COMMIT_WASM_C_API="b6dd1fb658a282c64b029867845bc50ae59e1497"
+
+inherit cmake python-any-r1
+
+DESCRIPTION="The WebAssembly Binary Toolkit"
+HOMEPAGE="https://github.com/WebAssembly/wabt"
+SRC_URI="
+ https://github.com/WebAssembly/wabt/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz
+ https://github.com/WebAssembly/testsuite/archive/${EGIT_COMMIT_TESTSUITE}.tar.gz -> WebAssembly-testsuite-${EGIT_COMMIT_TESTSUITE}.tar.gz
+ https://github.com/WebAssembly/wasm-c-api/archive/${EGIT_COMMIT_WASM_C_API}.tar.gz -> WebAssembly-wasm-c-api-${EGIT_COMMIT_WASM_C_API}.tar.gz
+"
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="test"
+
+RESTRICT="!test? ( test )"
+
+DEPEND="test? (
+ dev-cpp/gtest
+ dev-libs/simde
+)"
+BDEPEND="
+ ${PYTHON_DEPS}
+ $(python_gen_any_dep 'dev-python/ply[${PYTHON_USEDEP}]')
+"
+
+PATCHES=(
+ # Disable tests depending on third_party/wasm-c-api/example/*.wasm
+ #"${FILESDIR}/wabt-1.0.30-wasm-blob-tests.patch"
+)
+
+python_check_deps() {
+ python_has_version "dev-python/ply[${PYTHON_USEDEP}]"
+}
+
+src_prepare() {
+ cmake_src_prepare
+
+ rm -r third_party/testsuite || die
+ mv "${WORKDIR}/testsuite-${EGIT_COMMIT_TESTSUITE}" third_party/testsuite || die
+
+ rm -r third_party/wasm-c-api || die
+ mv "${WORKDIR}/wasm-c-api-${EGIT_COMMIT_WASM_C_API}" third_party/wasm-c-api || die
+
+ rm -v fuzz-in/wasm/stuff.wasm wasm2c/examples/fac/fac.wasm || die
+
+ use test || rm -v third_party/wasm-c-api/example/*.wasm || die
+
+ sed -i 's;default_compiler =.*;default_compiler = os.getenv("CC", "cc");' test/run-spec-wasm2c.py || die
+
+ # Broken tests
+ rm test/wasm2c/spec/simd_lane.txt test/wasm2c/spec/simd_load.txt
+}
+
+src_configure() {
+ local mycmakeargs=(
+ -DUSE_SYSTEM_GTEST=ON
+ -DBUILD_LIBWASM=ON
+ -DWITH_WASI=OFF # Need to unbundle third_party/uvwasi
+ -DBUILD_TESTS=$(usex test)
+ )
+
+ cmake_src_configure
+}
+
+src_test() {
+ cmake_build check
+}
next reply other threads:[~2024-03-19 19:56 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-03-19 19:56 Julien Roy [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-05-23 10:36 [gentoo-commits] repo/proj/guru:master commit in: dev-lang/wabt/ David Roman
2024-05-15 16:06 Julien Roy
2024-05-15 15:45 [gentoo-commits] repo/proj/guru:dev " Julien Roy
2024-05-15 16:06 ` [gentoo-commits] repo/proj/guru:master " Julien Roy
2024-03-19 15:41 Julien Roy
2022-10-04 12:25 Andrew Ammerlaan
2022-09-30 7:44 Ronny Gutbrod
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1710865293.d0a60d6ef0e8b7f1d22c8a6340cbaf6ce8b5497f.julien@gentoo \
--to=julien@jroy.ca \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox