diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-02-03 21:11:18 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-02-03 21:11:18 +0000 |
commit | 8ba493f5439ffec0ed21707f660602b7bd80bbbf (patch) | |
tree | a103c65926b64945179cd7435d608e9c761ebaf3 /games-util | |
parent | dc50ce612ba7a32ca77479875798989da2885437 (diff) |
gentoo auto-resync : 03:02:2023 - 21:11:18
Diffstat (limited to 'games-util')
-rw-r--r-- | games-util/Manifest.gz | bin | 7877 -> 7875 bytes | |||
-rw-r--r-- | games-util/basis_universal/Manifest | 3 | ||||
-rw-r--r-- | games-util/basis_universal/basis_universal-1.16.3.ebuild | 1 | ||||
-rw-r--r-- | games-util/basis_universal/files/basis_universal-1.16.3-SSE4.1-AVX-checks.patch | 40 |
4 files changed, 43 insertions, 1 deletions
diff --git a/games-util/Manifest.gz b/games-util/Manifest.gz Binary files differindex 0575dfa87d80..052625608301 100644 --- a/games-util/Manifest.gz +++ b/games-util/Manifest.gz diff --git a/games-util/basis_universal/Manifest b/games-util/basis_universal/Manifest index f98dbe9790b5..6a726f5b342c 100644 --- a/games-util/basis_universal/Manifest +++ b/games-util/basis_universal/Manifest @@ -1,5 +1,6 @@ +AUX basis_universal-1.16.3-SSE4.1-AVX-checks.patch 1230 BLAKE2B fcf212a61147a8a3af2fb1592f521049e1e678ec767b4faf4720ce709f294c6dc15c1c1bc985d9ec6268451164097412f29c701466a4964473cfed052bf38da7 SHA512 3f128ddaf27191940fcc5f438718ae2680fd50d6c829ca7ec0279bd0882a773d2f1a7aa48eeebc2fb9434c38f91cecf9eb3899a28cdd4a3162b4a2c59f40f625 AUX basis_universal-1.16.3-fix-RPATH.patch 332 BLAKE2B 46349fb09343dfd28dfb383a7d21a5abbb64245f4ba85012f3bc97084740bb8dcbbbb2432902f27863c5a80cc04e3f2b3569dc13ee97b498932fd75182c7a6a2 SHA512 0ab6e03146c5e924644112200b6c0b6cce3f9ab5797be4a052994ee553814c128b74a1e91f66f248af21c496a4407267d0b27c46bc6c29bb1554a66581da3f58 AUX basis_universal-1.16.3-respect-CFLAGS.patch 556 BLAKE2B b9e099ddcca8a5902da78faf293b953f231c2d05c746f6ff105a0db5dcab07009276c76f8a034a22aa42ac063850fbfaba905ce1c5022aff4e0889b9f2546123 SHA512 5eaa8339b853fb14fd5efd2596ae7221c648203fb253678c0791d7b6278e3ea55ab3d275ee28c2c9a704a5d23dc52e7f54e825c2d8de86874f79ecaced37e3be DIST basis_universal-1.16.3.tar.gz 29151155 BLAKE2B e3ef3ead6223aa73012bd74e51dae269746cfcf2720c524be8096ce8643777723888f98a140d2e28c881ed60ab54b7ea6fef4205b72757d72e766f85806b4484 SHA512 3dca02ad6c14e74df7a89d3b2a59b970635cf5e268b96eb91b10033e2b8e635c83aca6b8e9b34a1b689ed5ffe7c8348d15b8524385f6d07a51cc34a46246a0b7 -EBUILD basis_universal-1.16.3.ebuild 1054 BLAKE2B 01e96f18229d358ceaa35429dd43453d4ea17def4b14836067e9a77416ad384f518c16208b090dad6162996fe21f3276aa3f3567e216559175bc29131b6b8a81 SHA512 17779d73995ceba80ca92c1a71f7ec0e655ad1cc1aed81648bd3a854c2ff13629fd1592fe987038797ed8afe3b07dfa1a08740da2a53c7bebd009de0ddd4a52b +EBUILD basis_universal-1.16.3.ebuild 1106 BLAKE2B c9f5799da8006837d2c1d8421fb6479f0ddc93bda9aa5fcebd807f72639a29e5b3e715b695ac12b6ee4625e6bf434eec2970dfe77080fce27754f7a51549fd1e SHA512 61ba9c296828e7cb6b7e999405b531ec9b2fe4d199b43b185f6f1f92586baad7a5ffb21cbfaff315ed2c0f40cc8d467e6bd48fc07f676bb5ceea1525b7470f8d MISC metadata.xml 412 BLAKE2B 00c914af265ebe97107ee3ed185ae7693348de4902d557beb6590efae0b1ec351baed1fd02facb6605b390fff36ddc40aa49ff1786472ccd5376d16abd522540 SHA512 1a971517dc0b642e254f2acab248d9364b510b16b80fe095c320d552869f6e8909343fd6e62a1896c344d57d7f4624e10f193c3b4f3b7689eb5b669b85517998 diff --git a/games-util/basis_universal/basis_universal-1.16.3.ebuild b/games-util/basis_universal/basis_universal-1.16.3.ebuild index 298c8ecdb705..239d01901831 100644 --- a/games-util/basis_universal/basis_universal-1.16.3.ebuild +++ b/games-util/basis_universal/basis_universal-1.16.3.ebuild @@ -24,6 +24,7 @@ RDEPEND="${RDEPEND}" PATCHES=( "${FILESDIR}"/${PN}-1.16.3-respect-CFLAGS.patch "${FILESDIR}"/${PN}-1.16.3-fix-RPATH.patch + "${FILESDIR}"/${PN}-1.16.3-SSE4.1-AVX-checks.patch ) src_configure() { diff --git a/games-util/basis_universal/files/basis_universal-1.16.3-SSE4.1-AVX-checks.patch b/games-util/basis_universal/files/basis_universal-1.16.3-SSE4.1-AVX-checks.patch new file mode 100644 index 000000000000..89be7b13482e --- /dev/null +++ b/games-util/basis_universal/files/basis_universal-1.16.3-SSE4.1-AVX-checks.patch @@ -0,0 +1,40 @@ +https://bugs.gentoo.org/892727 +https://github.com/BinomialLLC/basis_universal/issues/342 +https://github.com/BinomialLLC/basis_universal/pull/343 + +From e61fe1e4ff66decbb14f86a1bf8ec4ea40d23bbf Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?=C8=98tefan=20Talpalaru?= <stefantalpalaru@yahoo.com> +Date: Tue, 31 Jan 2023 14:39:17 +0100 +Subject: [PATCH] SIMD: disable compile time checks + +SSE4.1 support is checked at runtime, so compile time checks are +redundant at best and harmful when compiling for a different machine. + +Further more, a logic error prevented the use of SSE4.1 on systems with +any version of AVX available. This is fixed now. +--- a/encoder/basisu_kernels_sse.cpp ++++ b/encoder/basisu_kernels_sse.cpp +@@ -22,22 +22,6 @@ + #include <intrin.h> + #endif + +-#if !defined(_MSC_VER) +- #if __AVX__ || __AVX2__ || __AVX512F__ +- #error Please check your compiler options +- #endif +- +- #if CPPSPMD_SSE2 +- #if __SSE4_1__ || __SSE3__ || __SSE4_2__ || __SSSE3__ +- #error SSE4.1/SSE3/SSE4.2/SSSE3 cannot be enabled to use this file +- #endif +- #else +- #if !__SSE4_1__ || !__SSE3__ || !__SSSE3__ +- #error Please check your compiler options +- #endif +- #endif +-#endif +- + #include "cppspmd_sse.h" + + #include "cppspmd_type_aliases.h" + |