[gentoo-commits] repo/gentoo:master commit in: dev-libs/isa-l/
commit: 53decc8ba264b1a7fe6dc9d81a1e3da628b413ce Author: Marek Szuba gentoo org> AuthorDate: Fri Apr 19 12:06:39 2024 + Commit: Marek Szuba gentoo org> CommitDate: Fri Apr 19 12:06:58 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=53decc8b dev-libs/isa-l: keyword 2.31.0 for -x86 Still broken on this arch. Come to think of it, I think I only re-keyworded 2.31.0 for ~x86 by mistake during the version bump. See commit 1ee253aa6283cbe750d69e62e44fc82d8cc18bfc for the original reasoning. Closes: https://bugs.gentoo.org/930244 Signed-off-by: Marek Szuba gentoo.org> dev-libs/isa-l/isa-l-2.31.0.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-libs/isa-l/isa-l-2.31.0.ebuild b/dev-libs/isa-l/isa-l-2.31.0.ebuild index 2ba069c9d386..a8bd9bde2c95 100644 --- a/dev-libs/isa-l/isa-l-2.31.0.ebuild +++ b/dev-libs/isa-l/isa-l-2.31.0.ebuild @@ -11,7 +11,7 @@ SRC_URI="https://github.com/intel/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}. LICENSE="BSD" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86" +KEYWORDS="~amd64 ~arm ~arm64 ~riscv -x86" IUSE="cpu_flags_x86_avx512f" # AVX512 support in yasm is still work in progress
[gentoo-commits] repo/gentoo:master commit in: dev-libs/isa-l/, dev-libs/isa-l/files/
commit: d784d3472a5bf3466454c60f40ac95ddc3966167 Author: Marek Szuba gentoo org> AuthorDate: Sun Apr 7 18:23:17 2024 + Commit: Marek Szuba gentoo org> CommitDate: Sun Apr 7 18:26:21 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d784d347 dev-libs/isa-l: add 2.31.0 Signed-off-by: Marek Szuba gentoo.org> dev-libs/isa-l/Manifest| 1 + .../isa-l/files/isa-l-2.31.0_makefile-no-D.patch | 16 ++ .../isa-l/files/isa-l-2.31.0_makefile-x86.patch| 12 + .../isa-l/files/isa-l-2.31.0_user-ldflags.patch| 10 dev-libs/isa-l/isa-l-2.31.0.ebuild | 57 ++ 5 files changed, 96 insertions(+) diff --git a/dev-libs/isa-l/Manifest b/dev-libs/isa-l/Manifest index 6f03ccf55882..bfbf741347fa 100644 --- a/dev-libs/isa-l/Manifest +++ b/dev-libs/isa-l/Manifest @@ -1 +1,2 @@ DIST isa-l-2.30.0.tar.gz 649389 BLAKE2B 3364733d61ce16c91891b6da63d2b4fb2bc004761c91f2076a9a6441adaea24af43b6d32caec011c06206e3811e8c9639f8ceaac89fe97800144c7f78c80c350 SHA512 d3ecfb7326097534b06a74b584100336509525ae7cadc6112d0c27e3d8704f3810e18f583d3cc33fa266bfec96db023607622b22ddbf17988ec4bf1bb3b3b9b2 +DIST isa-l-2.31.0.tar.gz 705375 BLAKE2B 80e0c7f7351e4765393fc5734452ab00d84a84fd017a529a0b96d594c045e7e1c23957d292a56fc449e611dc29f3d4cc2a66c75055d1a7fbb31ca1d6f5c4650a SHA512 bbda3cf84e12352728c16d043ae71160569bff9540928eebb986e22d570176162a7f74fba9423d2349d014df061c09fc084343fbc51077415cfae9f692906dd8 diff --git a/dev-libs/isa-l/files/isa-l-2.31.0_makefile-no-D.patch b/dev-libs/isa-l/files/isa-l-2.31.0_makefile-no-D.patch new file mode 100644 index ..bb99550b2426 --- /dev/null +++ b/dev-libs/isa-l/files/isa-l-2.31.0_makefile-no-D.patch @@ -0,0 +1,16 @@ +--- a/Makefile.am b/Makefile.am +@@ -136,11 +136,11 @@ + EXTRA_DIST += tools/yasm-filter.sh tools/nasm-filter.sh + EXTRA_DIST += tools/yasm-cet-filter.sh tools/nasm-cet-filter.sh + +-AM_CFLAGS = ${my_CFLAGS} ${INCLUDE} $(src_include) ${ARCH} ${D} ++AM_CFLAGS = ${my_CFLAGS} ${INCLUDE} $(src_include) ${ARCH} ${DIST_D} + if CPU_AARCH64 + AM_CCASFLAGS = ${AM_CFLAGS} + else +-AM_CCASFLAGS = ${yasm_args} ${INCLUDE} ${src_include} ${DEFS} ${D} ++AM_CCASFLAGS = ${yasm_args} ${INCLUDE} ${src_include} ${DEFS} ${DIST_D} + endif + + .asm.s: diff --git a/dev-libs/isa-l/files/isa-l-2.31.0_makefile-x86.patch b/dev-libs/isa-l/files/isa-l-2.31.0_makefile-x86.patch new file mode 100644 index ..97965a7a9d2c --- /dev/null +++ b/dev-libs/isa-l/files/isa-l-2.31.0_makefile-x86.patch @@ -0,0 +1,12 @@ +--- a/Makefile.am b/Makefile.am +@@ -67,8 +67,7 @@ + + if CPU_X86_32 + ARCH=-Dx86_32 +-libisal_la_SOURCES += ${lsrc_x86_32} +-other_tests += ${other_tests_x86_32} ++libisal_la_SOURCES += ${lsrc_base_aliases} + endif + + if CPU_AARCH64 diff --git a/dev-libs/isa-l/files/isa-l-2.31.0_user-ldflags.patch b/dev-libs/isa-l/files/isa-l-2.31.0_user-ldflags.patch new file mode 100644 index ..5162563b3646 --- /dev/null +++ b/dev-libs/isa-l/files/isa-l-2.31.0_user-ldflags.patch @@ -0,0 +1,10 @@ +--- a/configure.ac b/configure.ac +@@ -83,6 +83,7 @@ + -Wl,-z,noexecstack \ + -Wl,-z,relro \ + -Wl,-z,now \ ++${LDFLAGS} \ + " + AC_MSG_CHECKING([if $LD supports $LDFLAGS]) + AC_LINK_IFELSE([AC_LANG_PROGRAM([[]], [[ diff --git a/dev-libs/isa-l/isa-l-2.31.0.ebuild b/dev-libs/isa-l/isa-l-2.31.0.ebuild new file mode 100644 index ..2ba069c9d386 --- /dev/null +++ b/dev-libs/isa-l/isa-l-2.31.0.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit autotools + +DESCRIPTION="Intelligent Storage Acceleration Library" +HOMEPAGE="https://github.com/intel/isa-l; +SRC_URI="https://github.com/intel/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86" +IUSE="cpu_flags_x86_avx512f" + +# AVX512 support in yasm is still work in progress +BDEPEND=" + amd64? ( + cpu_flags_x86_avx512f? ( >=dev-lang/nasm-2.13 ) + !cpu_flags_x86_avx512f? ( || ( + >=dev-lang/nasm-2.11.01 + >=dev-lang/yasm-1.2.0 + ) ) + ) + x86? ( + cpu_flags_x86_avx512f? ( >=dev-lang/nasm-2.13 ) + !cpu_flags_x86_avx512f? ( || ( + >=dev-lang/nasm-2.11.01 + >=dev-lang/yasm-1.2.0 + ) ) + ) +" + +PATCHES=( + "${FILESDIR}"/${PN}-2.30.0_fix-shebang.patch + "${FILESDIR}"/${PN}-2.31.0_makefile-no-D.patch + "${FILESDIR}"/${PN}-2.31.0_makefile-x86.patch + "${FILESDIR}"/${PN}-2.31.0_user-ldflags.patch +) + +src_prepare() { + default + + # isa-l does not support arbitrary assemblers on amd64 and x86, + # it must be either nasm or yasm. + if use amd64 || use x86; then + unset AS + fi
[gentoo-commits] repo/gentoo:master commit in: dev-libs/isa-l/files/, dev-libs/isa-l/
commit: 458d238745a2df0a49f609eae70c241f71c34ab7 Author: Marek Szuba gentoo org> AuthorDate: Mon Mar 11 15:30:26 2024 + Commit: Marek Szuba gentoo org> CommitDate: Mon Mar 11 15:39:32 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=458d2387 dev-libs/isa-l: fix slibtool build failures Nb. Yes, I am aware that there is a new isa-l version available upstream. Unfortunately that version introduces quite a few QA issues and I haven't had time to resolve them yet. Closes: https://bugs.gentoo.org/829500 Signed-off-by: Marek Szuba gentoo.org> .../isa-l/files/isa-l-2.30.0_fix-shebang.patch | 26 ++ dev-libs/isa-l/isa-l-2.30.0-r1.ebuild | 1 + 2 files changed, 27 insertions(+) diff --git a/dev-libs/isa-l/files/isa-l-2.30.0_fix-shebang.patch b/dev-libs/isa-l/files/isa-l-2.30.0_fix-shebang.patch new file mode 100644 index ..e7db25d5a8ec --- /dev/null +++ b/dev-libs/isa-l/files/isa-l-2.30.0_fix-shebang.patch @@ -0,0 +1,26 @@ +From c0231591aa884754830e786cc75847b7c6c46d89 Mon Sep 17 00:00:00 2001 +From: orbea +Date: Sat, 9 Mar 2024 11:32:14 -0800 +Subject: [PATCH] tools: fix shebang + +This causes a build failure with slibtool. + +Gentoo issue: https://bugs.gentoo.org/829500 + +Signed-off-by: orbea +--- a/tools/nasm-filter.sh b/tools/nasm-filter.sh +@@ -1,4 +1,4 @@ +-#/bin/sh ++#!/bin/sh + + # Filter out unnecessary options added by automake + +--- a/tools/yasm-filter.sh b/tools/yasm-filter.sh +@@ -1,4 +1,4 @@ +-#/bin/sh ++#!/bin/sh + + # Filter out unnecessary options added by automake + diff --git a/dev-libs/isa-l/isa-l-2.30.0-r1.ebuild b/dev-libs/isa-l/isa-l-2.30.0-r1.ebuild index 6e494ec705a8..e80e64915e67 100644 --- a/dev-libs/isa-l/isa-l-2.30.0-r1.ebuild +++ b/dev-libs/isa-l/isa-l-2.30.0-r1.ebuild @@ -33,6 +33,7 @@ BDEPEND=" " PATCHES=( + "${FILESDIR}"/${PN}-2.30.0_fix-shebang.patch "${FILESDIR}"/${PN}-2.30.0_makefile-no-D.patch "${FILESDIR}"/${PN}-2.30.0_makefile-x86.patch )
[gentoo-commits] repo/gentoo:master commit in: dev-libs/isa-l/
commit: 1ee253aa6283cbe750d69e62e44fc82d8cc18bfc Author: Marek Szuba gentoo org> AuthorDate: Thu Feb 1 09:20:22 2024 + Commit: Marek Szuba gentoo org> CommitDate: Thu Feb 1 09:25:35 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1ee253aa dev-libs/isa-l: keyword 2.30.0-r1 for -x86 Build failures. Test failures. Even if it did work, it would be rather slow because the workaround for the former involves disabling arch-optimised code paths. Upstream comments in the relevant issue suggest they do not particularly care for 32-bit PCs. Probably shouldn't have been keyworded for this arch in the first place. Bug: https://bugs.gentoo.org/923425 Signed-off-by: Marek Szuba gentoo.org> dev-libs/isa-l/isa-l-2.30.0-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-libs/isa-l/isa-l-2.30.0-r1.ebuild b/dev-libs/isa-l/isa-l-2.30.0-r1.ebuild index 6cb8319addff..6e494ec705a8 100644 --- a/dev-libs/isa-l/isa-l-2.30.0-r1.ebuild +++ b/dev-libs/isa-l/isa-l-2.30.0-r1.ebuild @@ -11,7 +11,7 @@ SRC_URI="https://github.com/intel/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}. LICENSE="BSD" SLOT="0" -KEYWORDS="amd64 ~arm ~arm64 ~riscv ~x86" +KEYWORDS="amd64 ~arm ~arm64 ~riscv -x86" IUSE="cpu_flags_x86_avx512f" # AVX512 support in yasm is still work in progress
[gentoo-commits] repo/gentoo:master commit in: dev-libs/isa-l/
commit: cb301bb7e5d602f498b6d3d6de36e898b6431cea Author: Marek Szuba gentoo org> AuthorDate: Wed Jan 31 12:19:57 2024 + Commit: Marek Szuba gentoo org> CommitDate: Wed Jan 31 12:21:10 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cb301bb7 dev-libs/isa-l: add missing x86 BDEPEND Closes: https://bugs.gentoo.org/923347 Signed-off-by: Marek Szuba gentoo.org> dev-libs/isa-l/isa-l-2.30.0-r1.ebuild | 29 - 1 file changed, 20 insertions(+), 9 deletions(-) diff --git a/dev-libs/isa-l/isa-l-2.30.0-r1.ebuild b/dev-libs/isa-l/isa-l-2.30.0-r1.ebuild index 5998011ab3dd..6cb8319addff 100644 --- a/dev-libs/isa-l/isa-l-2.30.0-r1.ebuild +++ b/dev-libs/isa-l/isa-l-2.30.0-r1.ebuild @@ -15,13 +15,22 @@ KEYWORDS="amd64 ~arm ~arm64 ~riscv ~x86" IUSE="cpu_flags_x86_avx512f" # AVX512 support in yasm is still work in progress -BDEPEND="amd64? ( - cpu_flags_x86_avx512f? ( >=dev-lang/nasm-2.13 ) - !cpu_flags_x86_avx512f? ( || ( - >=dev-lang/nasm-2.11.01 - >=dev-lang/yasm-1.2.0 - ) ) -)" +BDEPEND=" + amd64? ( + cpu_flags_x86_avx512f? ( >=dev-lang/nasm-2.13 ) + !cpu_flags_x86_avx512f? ( || ( + >=dev-lang/nasm-2.11.01 + >=dev-lang/yasm-1.2.0 + ) ) + ) + x86? ( + cpu_flags_x86_avx512f? ( >=dev-lang/nasm-2.13 ) + !cpu_flags_x86_avx512f? ( || ( + >=dev-lang/nasm-2.11.01 + >=dev-lang/yasm-1.2.0 + ) ) + ) +" PATCHES=( "${FILESDIR}"/${PN}-2.30.0_makefile-no-D.patch @@ -31,9 +40,11 @@ PATCHES=( src_prepare() { default - # isa-l does not support arbitrary assemblers on amd64 (and presumably x86), + # isa-l does not support arbitrary assemblers on amd64 and x86, # it must be either nasm or yasm. - use amd64 && unset AS + if use amd64 || use x86; then + unset AS + fi eautoreconf }
[gentoo-commits] repo/gentoo:master commit in: dev-libs/isa-l/, dev-libs/isa-l/files/
commit: 4d19e0936eca54b068998d96d5c60eb04b0abe5d Author: Marek Szuba gentoo org> AuthorDate: Tue Jan 30 11:59:36 2024 + Commit: Marek Szuba gentoo org> CommitDate: Tue Jan 30 12:04:33 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4d19e093 dev-libs/isa-l: add workaround for x86 build errors x86-specific optimisations are presently broken - they call assembly instructions which do not in fact work in 32-bit mode. Until upstream has either fixed them or declared end of support for this arch, fall back to the generic code. Closes: https://bugs.gentoo.org/922193 Signed-off-by: Marek Szuba gentoo.org> dev-libs/isa-l/files/isa-l-2.30.0_makefile-x86.patch | 12 dev-libs/isa-l/isa-l-2.30.0-r1.ebuild| 3 ++- 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/dev-libs/isa-l/files/isa-l-2.30.0_makefile-x86.patch b/dev-libs/isa-l/files/isa-l-2.30.0_makefile-x86.patch new file mode 100644 index ..34b60337fe8f --- /dev/null +++ b/dev-libs/isa-l/files/isa-l-2.30.0_makefile-x86.patch @@ -0,0 +1,12 @@ +--- a/Makefile.am b/Makefile.am +@@ -64,8 +64,7 @@ + endif + + if CPU_X86_32 +-libisal_la_SOURCES += ${lsrc_x86_32} +-other_tests += ${other_tests_x86_32} ++libisal_la_SOURCES += ${lsrc_base_aliases} + endif + + if CPU_AARCH64 diff --git a/dev-libs/isa-l/isa-l-2.30.0-r1.ebuild b/dev-libs/isa-l/isa-l-2.30.0-r1.ebuild index 5d8fbc1d2c4b..5998011ab3dd 100644 --- a/dev-libs/isa-l/isa-l-2.30.0-r1.ebuild +++ b/dev-libs/isa-l/isa-l-2.30.0-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -25,6 +25,7 @@ BDEPEND="amd64? ( PATCHES=( "${FILESDIR}"/${PN}-2.30.0_makefile-no-D.patch + "${FILESDIR}"/${PN}-2.30.0_makefile-x86.patch ) src_prepare() {
[gentoo-commits] repo/gentoo:master commit in: dev-libs/isa-l/
commit: 9436185f824dc6eeebcb3a9b489eb5be4b7916da Author: Sam James gentoo org> AuthorDate: Tue Oct 31 00:06:05 2023 + Commit: Sam James gentoo org> CommitDate: Tue Oct 31 00:06:05 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9436185f dev-libs/isa-l: Stabilize 2.30.0-r1 amd64, #916521 Signed-off-by: Sam James gentoo.org> dev-libs/isa-l/isa-l-2.30.0-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-libs/isa-l/isa-l-2.30.0-r1.ebuild b/dev-libs/isa-l/isa-l-2.30.0-r1.ebuild index 0b993e7daf1a..5d8fbc1d2c4b 100644 --- a/dev-libs/isa-l/isa-l-2.30.0-r1.ebuild +++ b/dev-libs/isa-l/isa-l-2.30.0-r1.ebuild @@ -11,7 +11,7 @@ SRC_URI="https://github.com/intel/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}. LICENSE="BSD" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86" +KEYWORDS="amd64 ~arm ~arm64 ~riscv ~x86" IUSE="cpu_flags_x86_avx512f" # AVX512 support in yasm is still work in progress
[gentoo-commits] repo/gentoo:master commit in: dev-libs/isa-l/
commit: 8f1379eb02041906f3b8594ab296c0297402d3a8 Author: Guilherme Amadio gentoo org> AuthorDate: Wed May 17 14:17:25 2023 + Commit: Guilherme Amadio gentoo org> CommitDate: Wed May 17 14:58:55 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8f1379eb dev-libs/isa-l: keyword 2.30.0-r1 for ~x86 Signed-off-by: Guilherme Amadio gentoo.org> dev-libs/isa-l/isa-l-2.30.0-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-libs/isa-l/isa-l-2.30.0-r1.ebuild b/dev-libs/isa-l/isa-l-2.30.0-r1.ebuild index 73a23a860af5..0b993e7daf1a 100644 --- a/dev-libs/isa-l/isa-l-2.30.0-r1.ebuild +++ b/dev-libs/isa-l/isa-l-2.30.0-r1.ebuild @@ -11,7 +11,7 @@ SRC_URI="https://github.com/intel/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}. LICENSE="BSD" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~riscv" +KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86" IUSE="cpu_flags_x86_avx512f" # AVX512 support in yasm is still work in progress
[gentoo-commits] repo/gentoo:master commit in: dev-libs/isa-l/
commit: a69484dbbb3ca1a759629fee2eaec92c9bd6d412 Author: Arthur Zamarin gentoo org> AuthorDate: Tue May 16 12:09:25 2023 + Commit: Arthur Zamarin gentoo org> CommitDate: Tue May 16 12:09:25 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a69484db dev-libs/isa-l: Keyword 2.30.0-r1 arm64, #906454 Signed-off-by: Arthur Zamarin gentoo.org> dev-libs/isa-l/isa-l-2.30.0-r1.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dev-libs/isa-l/isa-l-2.30.0-r1.ebuild b/dev-libs/isa-l/isa-l-2.30.0-r1.ebuild index 793f5856db3f..15f8def85106 100644 --- a/dev-libs/isa-l/isa-l-2.30.0-r1.ebuild +++ b/dev-libs/isa-l/isa-l-2.30.0-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -11,7 +11,7 @@ SRC_URI="https://github.com/intel/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}. LICENSE="BSD" SLOT="0" -KEYWORDS="~amd64 ~riscv" +KEYWORDS="~amd64 ~arm64 ~riscv" IUSE="cpu_flags_x86_avx512f" # AVX512 support in yasm is still work in progress
[gentoo-commits] repo/gentoo:master commit in: dev-libs/isa-l/
commit: 84aa82dcc4af62b0bb0e2cf97a9c82ae80650bd8 Author: Arthur Zamarin gentoo org> AuthorDate: Tue May 16 12:09:26 2023 + Commit: Arthur Zamarin gentoo org> CommitDate: Tue May 16 12:09:26 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=84aa82dc dev-libs/isa-l: Keyword 2.30.0-r1 arm, #906454 Signed-off-by: Arthur Zamarin gentoo.org> dev-libs/isa-l/isa-l-2.30.0-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-libs/isa-l/isa-l-2.30.0-r1.ebuild b/dev-libs/isa-l/isa-l-2.30.0-r1.ebuild index 15f8def85106..73a23a860af5 100644 --- a/dev-libs/isa-l/isa-l-2.30.0-r1.ebuild +++ b/dev-libs/isa-l/isa-l-2.30.0-r1.ebuild @@ -11,7 +11,7 @@ SRC_URI="https://github.com/intel/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}. LICENSE="BSD" SLOT="0" -KEYWORDS="~amd64 ~arm64 ~riscv" +KEYWORDS="~amd64 ~arm ~arm64 ~riscv" IUSE="cpu_flags_x86_avx512f" # AVX512 support in yasm is still work in progress
[gentoo-commits] repo/gentoo:master commit in: dev-libs/isa-l/
commit: 5bfe02835b699f6078c2528f7f31008c0094feed Author: Marek Szuba gentoo org> AuthorDate: Sat Dec 18 00:31:33 2021 + Commit: Marek Szuba gentoo org> CommitDate: Sat Dec 18 00:32:04 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5bfe0283 dev-libs/isa-l: keyword 2.30.0-r1 for ~riscv Signed-off-by: Marek Szuba gentoo.org> dev-libs/isa-l/isa-l-2.30.0-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-libs/isa-l/isa-l-2.30.0-r1.ebuild b/dev-libs/isa-l/isa-l-2.30.0-r1.ebuild index 1bd7d4afdd80..793f5856db3f 100644 --- a/dev-libs/isa-l/isa-l-2.30.0-r1.ebuild +++ b/dev-libs/isa-l/isa-l-2.30.0-r1.ebuild @@ -11,7 +11,7 @@ SRC_URI="https://github.com/intel/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}. LICENSE="BSD" SLOT="0" -KEYWORDS="~amd64" +KEYWORDS="~amd64 ~riscv" IUSE="cpu_flags_x86_avx512f" # AVX512 support in yasm is still work in progress
[gentoo-commits] repo/gentoo:master commit in: dev-libs/isa-l/
commit: 03c7155befcb7bb7cc0b3276abad3c5a81d7ba12 Author: Marek Szuba gentoo org> AuthorDate: Fri Dec 17 23:15:35 2021 + Commit: Marek Szuba gentoo org> CommitDate: Fri Dec 17 23:18:01 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=03c7155b dev-libs/isa-l: add cpu_flags_x86_avx512f support For the time being users wishing for isa-l to take advantage of this instruction set must build it using nasm; everyone else can choose between nasm and yasm. Signed-off-by: Marek Szuba gentoo.org> dev-libs/isa-l/{isa-l-2.30.0.ebuild => isa-l-2.30.0-r1.ebuild} | 9 ++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/dev-libs/isa-l/isa-l-2.30.0.ebuild b/dev-libs/isa-l/isa-l-2.30.0-r1.ebuild similarity index 78% rename from dev-libs/isa-l/isa-l-2.30.0.ebuild rename to dev-libs/isa-l/isa-l-2.30.0-r1.ebuild index 1cb5aeb2a2c7..1bd7d4afdd80 100644 --- a/dev-libs/isa-l/isa-l-2.30.0.ebuild +++ b/dev-libs/isa-l/isa-l-2.30.0-r1.ebuild @@ -12,12 +12,15 @@ SRC_URI="https://github.com/intel/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}. LICENSE="BSD" SLOT="0" KEYWORDS="~amd64" +IUSE="cpu_flags_x86_avx512f" +# AVX512 support in yasm is still work in progress BDEPEND="amd64? ( - || ( - >=dev-lang/nasm-2.13 + cpu_flags_x86_avx512f? ( >=dev-lang/nasm-2.13 ) + !cpu_flags_x86_avx512f? ( || ( + >=dev-lang/nasm-2.11.01 >=dev-lang/yasm-1.2.0 - ) + ) ) )" PATCHES=(
[gentoo-commits] repo/gentoo:master commit in: dev-libs/isa-l/
commit: 0ca8f8468c7f4c1e980eee134e106fd62cb784bc Author: Marek Szuba gentoo org> AuthorDate: Fri Dec 17 23:08:39 2021 + Commit: Marek Szuba gentoo org> CommitDate: Fri Dec 17 23:18:00 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0ca8f846 dev-libs/isa-l: disallow overriding AS on amd64 Closes: https://bugs.gentoo.org/829497 Signed-off-by: Marek Szuba gentoo.org> dev-libs/isa-l/isa-l-2.30.0.ebuild | 15 +++ 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/dev-libs/isa-l/isa-l-2.30.0.ebuild b/dev-libs/isa-l/isa-l-2.30.0.ebuild index 641f57997e4b..1cb5aeb2a2c7 100644 --- a/dev-libs/isa-l/isa-l-2.30.0.ebuild +++ b/dev-libs/isa-l/isa-l-2.30.0.ebuild @@ -13,10 +13,12 @@ LICENSE="BSD" SLOT="0" KEYWORDS="~amd64" -#DEPEND="" -#RDEPEND="" -# TODO: yasm version to support avx512? -BDEPEND="amd64? ( >=dev-lang/nasm-2.15 )" +BDEPEND="amd64? ( + || ( + >=dev-lang/nasm-2.13 + >=dev-lang/yasm-1.2.0 + ) +)" PATCHES=( "${FILESDIR}"/${PN}-2.30.0_makefile-no-D.patch @@ -24,6 +26,11 @@ PATCHES=( src_prepare() { default + + # isa-l does not support arbitrary assemblers on amd64 (and presumably x86), + # it must be either nasm or yasm. + use amd64 && unset AS + eautoreconf }
[gentoo-commits] repo/gentoo:master commit in: dev-libs/isa-l/, dev-libs/isa-l/files/
commit: ed0b08e35f37cd3e3ea427e2850617c05353d78e Author: Marek Szuba gentoo org> AuthorDate: Fri Dec 17 18:07:05 2021 + Commit: Marek Szuba gentoo org> CommitDate: Fri Dec 17 18:11:33 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ed0b08e3 dev-libs/isa-l: initial import Required by erasure-coding features of net-libs/xrootd - or rather WILL BE required, as at the moment the latter seems to have no option to use a system-installed version. Signed-off-by: Marek Szuba gentoo.org> dev-libs/isa-l/Manifest| 1 + .../isa-l/files/isa-l-2.30.0_makefile-no-D.patch | 16 +++ dev-libs/isa-l/isa-l-2.30.0.ebuild | 33 ++ dev-libs/isa-l/metadata.xml| 21 ++ 4 files changed, 71 insertions(+) diff --git a/dev-libs/isa-l/Manifest b/dev-libs/isa-l/Manifest new file mode 100644 index ..6f03ccf55882 --- /dev/null +++ b/dev-libs/isa-l/Manifest @@ -0,0 +1 @@ +DIST isa-l-2.30.0.tar.gz 649389 BLAKE2B 3364733d61ce16c91891b6da63d2b4fb2bc004761c91f2076a9a6441adaea24af43b6d32caec011c06206e3811e8c9639f8ceaac89fe97800144c7f78c80c350 SHA512 d3ecfb7326097534b06a74b584100336509525ae7cadc6112d0c27e3d8704f3810e18f583d3cc33fa266bfec96db023607622b22ddbf17988ec4bf1bb3b3b9b2 diff --git a/dev-libs/isa-l/files/isa-l-2.30.0_makefile-no-D.patch b/dev-libs/isa-l/files/isa-l-2.30.0_makefile-no-D.patch new file mode 100644 index ..98c37f3cc42f --- /dev/null +++ b/dev-libs/isa-l/files/isa-l-2.30.0_makefile-no-D.patch @@ -0,0 +1,16 @@ +--- a/Makefile.am b/Makefile.am +@@ -142,11 +142,11 @@ + EXTRA_DIST += tools/yasm-filter.sh tools/nasm-filter.sh + EXTRA_DIST += tools/yasm-cet-filter.sh tools/nasm-cet-filter.sh + +-AM_CFLAGS = ${my_CFLAGS} ${INCLUDE} $(src_include) ${D} ++AM_CFLAGS = ${my_CFLAGS} ${INCLUDE} $(src_include) ${DIST_D} + if CPU_AARCH64 + AM_CCASFLAGS = ${AM_CFLAGS} + else +-AM_CCASFLAGS = ${yasm_args} ${INCLUDE} ${src_include} ${DEFS} ${D} ++AM_CCASFLAGS = ${yasm_args} ${INCLUDE} ${src_include} ${DEFS} ${DIST_D} + endif + + .asm.s: diff --git a/dev-libs/isa-l/isa-l-2.30.0.ebuild b/dev-libs/isa-l/isa-l-2.30.0.ebuild new file mode 100644 index ..641f57997e4b --- /dev/null +++ b/dev-libs/isa-l/isa-l-2.30.0.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit autotools + +DESCRIPTION="Intelligent Storage Acceleration Library" +HOMEPAGE="https://github.com/intel/isa-l; +SRC_URI="https://github.com/intel/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64" + +#DEPEND="" +#RDEPEND="" +# TODO: yasm version to support avx512? +BDEPEND="amd64? ( >=dev-lang/nasm-2.15 )" + +PATCHES=( + "${FILESDIR}"/${PN}-2.30.0_makefile-no-D.patch +) + +src_prepare() { + default + eautoreconf +} + +src_install() { + default + find "${ED}" -name '*.la' -delete || die +} diff --git a/dev-libs/isa-l/metadata.xml b/dev-libs/isa-l/metadata.xml new file mode 100644 index ..79b2a15f343d --- /dev/null +++ b/dev-libs/isa-l/metadata.xml @@ -0,0 +1,21 @@ + +https://www.gentoo.org/dtd/metadata.dtd;> + + + mare...@gentoo.org + Marek Szuba + + + ISA-L is a collection of optimized low-level functions targeting storage applications. ISA-L includes: + * Erasure codes - Fast block Reed-Solomon type erasure codes for any encode/decode matrix in GF(2^8). + * CRC - Fast implementations of cyclic redundancy check. Six different polynomials supported. + * iscsi32, ieee32, t10dif, ecma64, iso64, jones64. + * Raid - calculate and operate on XOR and P+Q parity found in common RAID implementations. + * Compression - Fast deflate-compatible data compression. + * De-compression - Fast inflate-compatible data compression. + * igzip - A command line application like gzip, accelerated with ISA-L. + + + intel/isa-l + +