blob: b2e42e7390ea2b815e0d5098dfaaed5cff8e6282 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
# Copyright 2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit cmake
DESCRIPTION="Compiler and toolchain infrastructure library for WebAssembly"
HOMEPAGE="https://github.com/WebAssembly/binaryen"
SRC_URI="https://github.com/WebAssembly/binaryen/archive/version_${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="test"
# broken
RESTRICT="test"
S="${WORKDIR}/binaryen-version_${PV}"
PATCHES=(${FILESDIR}/binaryen-undo-compile-flag-braindamage.patch)
src_configure() {
local mycmakeargs=(
-DENABLE_WERROR=no
-DBUILD_LLVM_DWARF=no
)
cmake_src_configure
}
src_test() {
cd "${BUILD_DIR}" || die
"${S}/check.py" || die
}
|