summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarek Szuba <marecki@gentoo.org>2021-12-17 23:15:35 +0000
committerMarek Szuba <marecki@gentoo.org>2021-12-17 23:18:01 +0000
commit03c7155befcb7bb7cc0b3276abad3c5a81d7ba12 (patch)
tree15ee741650844f29cdd57d7a33bfcddb72a6d395 /dev-libs/isa-l
parentdev-libs/isa-l: disallow overriding AS on amd64 (diff)
downloadgentoo-03c7155befcb7bb7cc0b3276abad3c5a81d7ba12.tar.gz
gentoo-03c7155befcb7bb7cc0b3276abad3c5a81d7ba12.tar.bz2
gentoo-03c7155befcb7bb7cc0b3276abad3c5a81d7ba12.zip
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 <marecki@gentoo.org>
Diffstat (limited to 'dev-libs/isa-l')
-rw-r--r--dev-libs/isa-l/isa-l-2.30.0-r1.ebuild (renamed from dev-libs/isa-l/isa-l-2.30.0.ebuild)9
1 files 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
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=(