blob: 8d8a8be32a7a15468eb6867a0d84b3c66f1a9169 (
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
|
# Copyright 2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit meson
DESCRIPTION="Header-only library providing implementations of SIMD instruction sets"
HOMEPAGE="https://simd-everywhere.github.io/blog/"
SRC_URI="
https://github.com/simd-everywhere/simde/archive/refs/tags/v${PV/_/-}.tar.gz
-> ${P}.tar.gz
"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~arm64"
IUSE="test"
RESTRICT="!test? ( test )"
src_configure() {
# *FLAGS are only used for tests (nothing that is installed), and
# upstream tests with specific *FLAGS and is otherwise flaky with
# -march=native, -mno-*, and such -- unset to be spared headaches.
unset {C,CPP,CXX,LD}FLAGS
local emesonargs=(
$(meson_use test tests)
)
meson_src_configure
}
|