Gentoo Archives: gentoo-commits

From: Sam James <sam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/pocl/
Date: Mon, 03 Jan 2022 07:41:58
Message-Id: 1641195647.c127713269a116c187d54663e0523b9f79f11886.sam@gentoo
1 commit: c127713269a116c187d54663e0523b9f79f11886
2 Author: Sam James <sam <AT> gentoo <DOT> org>
3 AuthorDate: Tue Dec 14 06:14:07 2021 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Mon Jan 3 07:40:47 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c1277132
7
8 dev-libs/pocl: use 'distro' option for built kernels
9
10 We can't know what CPU the user will run the
11 built package on (think of binpkgs) so let's
12 use the 'distro' option which builds for
13 most common SIMD instructions and chooses
14 the most appropriate kernel it built at runtime.
15
16 Closes: https://bugs.gentoo.org/829128
17 Signed-off-by: Sam James <sam <AT> gentoo.org>
18
19 dev-libs/pocl/pocl-1.8-r1.ebuild | 2 +-
20 1 file changed, 1 insertion(+), 1 deletion(-)
21
22 diff --git a/dev-libs/pocl/pocl-1.8-r1.ebuild b/dev-libs/pocl/pocl-1.8-r1.ebuild
23 index 6ee4d704b519..13e8dd263413 100644
24 --- a/dev-libs/pocl/pocl-1.8-r1.ebuild
25 +++ b/dev-libs/pocl/pocl-1.8-r1.ebuild
26 @@ -73,7 +73,7 @@ src_configure() {
27 -DENABLE_HSA=OFF
28 -DENABLE_ICD=ON
29 -DENABLE_POCL_BUILDING=ON
30 - -DKERNELLIB_HOST_CPU_VARIANTS=native
31 + -DKERNELLIB_HOST_CPU_VARIANTS=distro
32 -DPOCL_ICD_ABSOLUTE_PATH=ON
33 -DSTATIC_LLVM=OFF
34 -DWITH_LLVM_CONFIG=$(get_llvm_prefix -d "${LLVM_MAX_SLOT}")/bin/llvm-config