From 530a5a826feeb71085fb8a01927f4d775a0b131b Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sun, 24 Nov 2024 03:02:55 +0000 Subject: gentoo auto-resync : 24:11:2024 - 03:02:54 --- games-board/Manifest.gz | Bin 10044 -> 10047 bytes games-board/stockfish/Manifest | 8 ++++---- games-board/stockfish/stockfish-16-r1.ebuild | 13 ++++++++++++- games-board/stockfish/stockfish-16.1.ebuild | 13 ++++++++++++- games-board/stockfish/stockfish-16.ebuild | 13 ++++++++++++- games-board/stockfish/stockfish-17.ebuild | 13 ++++++++++++- 6 files changed, 52 insertions(+), 8 deletions(-) (limited to 'games-board') diff --git a/games-board/Manifest.gz b/games-board/Manifest.gz index d248881646f3..765ea8817686 100644 Binary files a/games-board/Manifest.gz and b/games-board/Manifest.gz differ diff --git a/games-board/stockfish/Manifest b/games-board/stockfish/Manifest index 37bc0278dabe..5235d8156781 100644 --- a/games-board/stockfish/Manifest +++ b/games-board/stockfish/Manifest @@ -23,8 +23,8 @@ EBUILD stockfish-14.1.ebuild 2046 BLAKE2B 721060955579258df84987460e8ccf54ca6db7 EBUILD stockfish-14.ebuild 2046 BLAKE2B 5d06130943aff96a93c5fe5ff42499e90472d7c67fa50ed03c455854101cd615d81233bdcec92d2a35da96550dab3ca9738ab759f708b6e5624f3bcafa42219f SHA512 b4c07066f35514503c1b65e25716d2b63f28d6f419f7f403f4cf812810fcf3826c60ae224e444743a66a0a382a8817ab94f5c3d299dc24479013d1670a8a5ddc EBUILD stockfish-15-r1.ebuild 2050 BLAKE2B 672621d6b7f31620500cf719caef24e3ae382633b43bac936ca9c796f2792c28ee2a18a1575bb5a19168ae20d20490354430ea46bfd38e639433fda64d6d8801 SHA512 149545bd11fb7a0ec461af464d2214246aa7bd56adc196b0a8af1fb5183ae88faef7682f3c84472600c9995d6a7c0de28ed2fa4966f3f82525aa960bb635ee3b EBUILD stockfish-15.1.ebuild 2045 BLAKE2B 3f74063bf4037fbe63e9d8be80e11865f3fdd59bd7b95f93b8734c25623169c8aafac7c1676e679fcba96fcff2e7c339c1fc8fc0c94b41055e4bfd673e8320bd SHA512 416f8dce6a1361f56f3115c9360a84b65b6e63f954e1ae7fa4d40522fd7584dfb835f8fc510097b4913858f8c4d2f8158b9567ca65ebbc521c290cf210f1e77b -EBUILD stockfish-16-r1.ebuild 2399 BLAKE2B c6452109d23790fb388d0517974ba65b8847f54dd0c1fa9027aefd5a098bc1ff1fd2bb8c4f5f934f9dec1e6a42319c9dd4e7dacda01d226e4ff33fc06d1ced63 SHA512 82a62a0cb0e6a5fd693cde296c66946b17ec0287e984760a0e6ab01d08c395a7d64d86dc75e2710a37b2b497747f98e7202df03b8132f01d8229a7e184322ce1 -EBUILD stockfish-16.1.ebuild 2466 BLAKE2B 130c533c6601a7b1549cfb3ba629cd2fb08cdaa1da0f9de75aa85871aab9b08e37e022a30207a0db5329da18114801bffb5e04033795482528be8c401cee07bb SHA512 ec21587aef4783474d339fbfe0bb938a9faa1f605cb83607663fc19c6dafdfaaaa0781f8d625edc514daa7bfe230a313f7c1817555885cb51c5c514280e59876 -EBUILD stockfish-16.ebuild 2142 BLAKE2B 1908f79b4463b75e4e873aaefeb658d1102ab0217f3acf29efea58554b4ba150f17d24d9c502437fe9c069c0b677a31954f552fa698776ba3769490ca3c17ee6 SHA512 07705ae97c8c2b5e3a51b9a7055d315d7b3a2bebc5c5f7657cbe161f962a207271ed6d07764d42600cdaa73d0dd1fb662562ffb116683160f693facfa755e42c -EBUILD stockfish-17.ebuild 2464 BLAKE2B 35504fa3afef184292fbee7366657ddbd2f532cccfe14c962b269be020ac3b4decf601626ec6a157e5ca47ea4960866c1bcc370080984528c5f2cf4018223376 SHA512 d30d69497bd904cbf3d6ad6536efebd0a00eaaa60c962e7017f3c2168ca288da14ccd09ad69040b54d3f4be436a715fd38b978ee02a5778b713b7492105e68e1 +EBUILD stockfish-16-r1.ebuild 2637 BLAKE2B 46fff5df168a923d4ded0e2bba036afb64942cd0d4e1661945d53be9b5b779588529476f729ed39745c05478e14d6b4c83ea27a3105e5f990ca83e1e1a48769c SHA512 55d569079fca0e0d8aae9d321d37bf49eaf0cc8860970e906e11fcdb9626fabe9ad2ff585c3146bf734ac8c4baf4fbc6cb2e85ff294dea427d9c9c8c4a7252fe +EBUILD stockfish-16.1.ebuild 2704 BLAKE2B ddbbcbb171cfdc0ee397dea1207e5be3e7d54d59db02040da05a6f37061b847eb44d65500e11f2cdd5e8a5e15e431f9617d61c33263d58ddea146cd91ec326af SHA512 c73e2f585fbd668f067cf325ebc98b8546738c0953e4982a3b9db37bf40f7377126efd2a1661f0ba910ee60347d7050ad9660b6618b5c115f599b6066c425e12 +EBUILD stockfish-16.ebuild 2380 BLAKE2B 4752a92066f6938691947e329a03b7ab82aa7432fc79cc9899f5aef6b476a419c529dc60eb541c1a54c94b84a85f6729e82445875cc5e32ca33f1169f3f3c2ee SHA512 92e33d7910cd7d232f11425524f56c7dd21265f80a262660cda8fcb080d434bb00fa7b4aeac82761b93b3865cffb9d5d02fbf65786c0da295ec2e69f8cac86bd +EBUILD stockfish-17.ebuild 2702 BLAKE2B 3d5c32dd6d525e41d498a90c90dfcf5fe3b48a08a737a635565cbe32d236694dd6bd3ffbd19abaff163e707a78b4a4ef6a170271a5e6e4540bf1cd837824c1f6 SHA512 8059e7b4bc89e53821f30666d6509ce89c1d0ecd0c913b929de259b6d8017ef79192dcad747013d3d00bba88d8077b78fb27b8c3565d6a2ce685bafc13969022 MISC metadata.xml 573 BLAKE2B 2b1f870ab3bad4a90940374e974a37ec52239b6684e78e5dd41b95a1503854c06a3a5185b48c56c542a4195d00293cc6628c362d93a835997e41122215bf8540 SHA512 a21725ea89118c85924985d95614e8702209b3184848f63271910dafa3d1f4e6238fb015558e287cc341262bb65bbafc33606042eb589c7499a92088c2a43574 diff --git a/games-board/stockfish/stockfish-16-r1.ebuild b/games-board/stockfish/stockfish-16-r1.ebuild index 87fef36d749c..ff7e0ac8d26a 100644 --- a/games-board/stockfish/stockfish-16-r1.ebuild +++ b/games-board/stockfish/stockfish-16-r1.ebuild @@ -22,6 +22,12 @@ DEPEND="|| ( app-arch/unzip app-arch/zip )" S="${WORKDIR}/Stockfish-sf_${PV}/src" +pkg_setup() { + if ! tc-is-clang && ! tc-is-gcc; then + die "Unsupported compiler: $(tc-getCC)" + fi +} + src_prepare() { default @@ -66,11 +72,16 @@ src_compile() { use ppc && my_arch=ppc use ppc64 && my_arch=ppc64 + # Bug 919781: COMP is a fixed string like clang/gcc to set tools for PGO + local comp + tc-is-gcc && comp="gcc" + tc-is-clang && comp="clang" + # There's a nice hack in the Makefile that overrides the value of CXX with # COMPILER to support Travis CI and we abuse it to make sure that we # build with our compiler of choice. emake profile-build ARCH="${my_arch}" \ - COMP="$(tc-getCXX)" \ + COMP="${comp}" \ COMPILER="$(tc-getCXX)" \ debug=$(usex debug "yes" "no") \ optimize=$(usex optimize "yes" "no") diff --git a/games-board/stockfish/stockfish-16.1.ebuild b/games-board/stockfish/stockfish-16.1.ebuild index 8d66d9cfa7cf..4cc6280b6b5d 100644 --- a/games-board/stockfish/stockfish-16.1.ebuild +++ b/games-board/stockfish/stockfish-16.1.ebuild @@ -26,6 +26,12 @@ DEPEND="|| ( app-arch/unzip app-arch/zip )" S="${WORKDIR}/Stockfish-sf_${PV}/src" +pkg_setup() { + if ! tc-is-clang && ! tc-is-gcc; then + die "Unsupported compiler: $(tc-getCC)" + fi +} + src_prepare() { default @@ -72,11 +78,16 @@ src_compile() { use ppc && my_arch=ppc use ppc64 && my_arch=ppc64 + # Bug 919781: COMP is a fixed string like clang/gcc to set tools for PGO + local comp + tc-is-gcc && comp="gcc" + tc-is-clang && comp="clang" + # There's a nice hack in the Makefile that overrides the value of CXX with # COMPILER to support Travis CI and we abuse it to make sure that we # build with our compiler of choice. emake profile-build ARCH="${my_arch}" \ - COMP="$(tc-getCXX)" \ + COMP="${comp}" \ COMPILER="$(tc-getCXX)" \ debug=$(usex debug "yes" "no") \ optimize=$(usex optimize "yes" "no") diff --git a/games-board/stockfish/stockfish-16.ebuild b/games-board/stockfish/stockfish-16.ebuild index 4cabca417965..9103928f0daa 100644 --- a/games-board/stockfish/stockfish-16.ebuild +++ b/games-board/stockfish/stockfish-16.ebuild @@ -22,6 +22,12 @@ DEPEND="|| ( app-arch/unzip app-arch/zip )" S="${WORKDIR}/Stockfish-sf_${PV}/src" +pkg_setup() { + if ! tc-is-clang && ! tc-is-gcc; then + die "Unsupported compiler: $(tc-getCC)" + fi +} + src_prepare() { default @@ -61,11 +67,16 @@ src_compile() { use ppc && my_arch=ppc use ppc64 && my_arch=ppc64 + # Bug 919781: COMP is a fixed string like clang/gcc to set tools for PGO + local comp + tc-is-gcc && comp="gcc" + tc-is-clang && comp="clang" + # There's a nice hack in the Makefile that overrides the value of CXX with # COMPILER to support Travis CI and we abuse it to make sure that we # build with our compiler of choice. emake profile-build ARCH="${my_arch}" \ - COMP="$(tc-getCXX)" \ + COMP="${comp}" \ COMPILER="$(tc-getCXX)" \ debug=$(usex debug "yes" "no") \ optimize=$(usex optimize "yes" "no") diff --git a/games-board/stockfish/stockfish-17.ebuild b/games-board/stockfish/stockfish-17.ebuild index bbc0c90cbf73..b535bb5e9f54 100644 --- a/games-board/stockfish/stockfish-17.ebuild +++ b/games-board/stockfish/stockfish-17.ebuild @@ -26,6 +26,12 @@ DEPEND="|| ( app-arch/unzip app-arch/zip )" S="${WORKDIR}/Stockfish-sf_${PV}/src" +pkg_setup() { + if ! tc-is-clang && ! tc-is-gcc; then + die "Unsupported compiler: $(tc-getCC)" + fi +} + src_prepare() { default @@ -72,11 +78,16 @@ src_compile() { use ppc && my_arch=ppc use ppc64 && my_arch=ppc64 + # Bug 919781: COMP is a fixed string like clang/gcc to set tools for PGO + local comp + tc-is-gcc && comp="gcc" + tc-is-clang && comp="clang" + # There's a nice hack in the Makefile that overrides the value of CXX with # COMPILER to support Travis CI and we abuse it to make sure that we # build with our compiler of choice. emake profile-build ARCH="${my_arch}" \ - COMP="$(tc-getCXX)" \ + COMP="${comp}" \ COMPILER="$(tc-getCXX)" \ debug=$(usex debug "yes" "no") \ optimize=$(usex optimize "yes" "no") -- cgit v1.2.3