diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-04-08 06:31:00 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-04-08 06:31:00 +0100 |
commit | 102dc42fae2907037d3ca9a6d63ed28e46c5b88e (patch) | |
tree | 5302a53ecdd7408812596fcbd8cbaa90bd8e6c98 /dev-libs | |
parent | 4d190a87291ace8503ad92c6b049d14660a14c72 (diff) |
gentoo auto-resync : 08:04:2024 - 06:31:00
Diffstat (limited to 'dev-libs')
-rw-r--r-- | dev-libs/Manifest.gz | bin | 98198 -> 98197 bytes | |||
-rw-r--r-- | dev-libs/isa-l/Manifest | 5 | ||||
-rw-r--r-- | dev-libs/isa-l/files/isa-l-2.31.0_makefile-no-D.patch | 16 | ||||
-rw-r--r-- | dev-libs/isa-l/files/isa-l-2.31.0_makefile-x86.patch | 12 | ||||
-rw-r--r-- | dev-libs/isa-l/files/isa-l-2.31.0_user-ldflags.patch | 10 | ||||
-rw-r--r-- | dev-libs/isa-l/isa-l-2.31.0.ebuild | 57 |
6 files changed, 100 insertions, 0 deletions
diff --git a/dev-libs/Manifest.gz b/dev-libs/Manifest.gz Binary files differindex 26006599ad83..9ec3db7f3fa5 100644 --- a/dev-libs/Manifest.gz +++ b/dev-libs/Manifest.gz diff --git a/dev-libs/isa-l/Manifest b/dev-libs/isa-l/Manifest index 77111bbac71a..5950eb49fabc 100644 --- a/dev-libs/isa-l/Manifest +++ b/dev-libs/isa-l/Manifest @@ -1,6 +1,11 @@ AUX isa-l-2.30.0_fix-shebang.patch 600 BLAKE2B cc6d9f88df52957f54f2fe6dba1c9bd63d386d286613beb1d2dc5a14c4ce0d044d31fce9577e34528a2166706e203d4a5406cb7d45c719071419490285b6250c SHA512 238d7e6fe675518df3fd3ae06cd088b38e48e4886c01202c432ca224168d6ede5126f984fa9d55cb6b1207576fb3ad71bc9da898f94a71f96f541fc8a11e046a AUX isa-l-2.30.0_makefile-no-D.patch 511 BLAKE2B 64e65daf876cde7a5ca4ba8f8f4e308d9a24eb07449e5728250bf88871ea01b62384c74d92f77ca8ea8c47909a389e9add2741ee053ad7be4d0dbf423e2b965c SHA512 5465bf937401a15bf2e3ed8274d1f2ae45428c29739e835d71474d81bfae78b83cd38c762bcbb25fbe62853c979bdfd5e56bce4f0cd43a949c2b61141feb7415 AUX isa-l-2.30.0_makefile-x86.patch 223 BLAKE2B ddbe4532bcff110c10d79791e2e8378ed03b6cabc2ec5b86e4f82718b07f09757d0ed903b7e6b412f11504d3beb9c4263b47a1d29243978c277470f1f3272290 SHA512 36da90bb9ac7031485ef18b8a082a682aeb0addb16f71fe864c3f8e16c48f19fedbed30b2acfb1e84bb983305f146866aaf61a38f65ae9d5a28f6a491eaf1b3e +AUX isa-l-2.31.0_makefile-no-D.patch 527 BLAKE2B a9424cf6bfbee6b88e901218fe810803374bb46d0dc4fdd12e27f5b2d44eabd1481cdabf4b517485ea336fd9e24e3a7701efc2d7cee58832458cd09b5db943f2 SHA512 e7e78d908bdd9661f3724ce6f8d700a0bd14dc2c1b747d116b090f0f02ccf346c25f52fe4731caf2b2a4821dba534d5174fa4a7315a1dfaeb076268111038428 +AUX isa-l-2.31.0_makefile-x86.patch 231 BLAKE2B 78a0b2f1d2b1bbbdfab17e0abda0ebc9d9f6866cad22f12eae3b39a7b86baa7d12af30c0c0ddbed9a5327786f74afa66f8f39be4dbf58d5753362fe8baedbbe2 SHA512 d9a7893b6e23450a02c51bbc2931a1d0d64b456b55a62ab281806e14ebf43e07a191d83f0c904f2f4dd2084427314df7d50406e0e10b45eb1b141719f74e3bcf +AUX isa-l-2.31.0_user-ldflags.patch 212 BLAKE2B 268c3ff68401cdae31966e6cba0158835464e0115571586dd8b93615e00b5e4f25e35f3bd162a3199aad057faf2d0d0bb73e0fbf38de8dab5ab0bae4de7c9079 SHA512 70a62e2fe2f43cdc14de20cd52174fcc52f4c11ad036462c0847078b4589bf2e46c7d2b09b224aec9b28d2dd99d310eaf138f1c103b4733fc58ab50645833394 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 EBUILD isa-l-2.30.0-r1.ebuild 1194 BLAKE2B b4241a852ec119148e6ec0850f3da2b6acf2e29186c7474c2026631b94a67b7430ee6bb9a3db9f4d97fca9df1987ff6ae0cf5563bf6861f836ae53aa0c382e84 SHA512 56ac595d8345b3a82d8eb6c0f9c91554eb41a36f267feee3833e081f4ba8ce1709ce58bb3a2818b288fe3cbea2b75094450a02054f915abc8614c22f3a560ce9 +EBUILD isa-l-2.31.0.ebuild 1242 BLAKE2B db2af6eb24e3a0164b7c33ca5bf35b75520f8ddab06c90f3801dc02a8dce2bb4185af9fc7e1baf805d5b62a727e4e83938cc69eb7aaf8f2079523e7333b55dfb SHA512 c220a6c25bb2dde94743f18fe3fb3c4a716962740b9c649680535ab55f20afc452b6be413f88c1036e8c59e516c36d10b6db8dd3ba20d12e506c5507df25df9d MISC metadata.xml 1002 BLAKE2B 2934e906f4d5a6afd5de680fefc934d46f8730fba062834b0d63ca58b0c7cab684daea9c3adafd8e00e44efa7fa09547f8602b724b5cebb557d4ffff1eaf4615 SHA512 6cbf77704f202e8748348b3ee95295ab7d3def3ddf07ede18f4dafdc4374685b7597892d2ba02eaf2d113abeb6f6ece282f8f822528eecd6871c7c0faedcce28 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 000000000000..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 000000000000..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 000000000000..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 000000000000..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 + + eautoreconf +} + +src_install() { + default + find "${ED}" -name '*.la' -delete || die +} |