public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: games-board/stockfish/
@ 2016-05-28 10:52 Pacho Ramos
  0 siblings, 0 replies; 40+ messages in thread
From: Pacho Ramos @ 2016-05-28 10:52 UTC (permalink / raw
  To: gentoo-commits

commit:     dc1efa965b27efc2be0779bcd3fca55ed025fa2f
Author:     Pacho Ramos <pacho <AT> gentoo <DOT> org>
AuthorDate: Sat May 28 10:36:11 2016 +0000
Commit:     Pacho Ramos <pacho <AT> gentoo <DOT> org>
CommitDate: Sat May 28 10:36:11 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dc1efa96

games-board/stockfish: Cleanup due to #175274

Package-Manager: portage-2.3.0_rc1

 games-board/stockfish/metadata.xml | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/games-board/stockfish/metadata.xml b/games-board/stockfish/metadata.xml
index 29cc483..cae5816 100644
--- a/games-board/stockfish/metadata.xml
+++ b/games-board/stockfish/metadata.xml
@@ -1,10 +1,6 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
 <pkgmetadata>
-  <maintainer type="person">
-    <email>yngwin@gentoo.org</email>
-    <name>Ben de Groot</name>
-  </maintainer>
   <use>
     <flag name="armv7">Build for armv7; enables PIE</flag>
     <flag name="general-32">Generic unoptimized 32-bits build</flag>


^ permalink raw reply related	[flat|nested] 40+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: games-board/stockfish/
@ 2016-07-07 19:48 Austin English
  0 siblings, 0 replies; 40+ messages in thread
From: Austin English @ 2016-07-07 19:48 UTC (permalink / raw
  To: gentoo-commits

commit:     135e2a15cf45b98afaf3f10dbdc02335458a5b98
Author:     Austin English <wizardedit <AT> gentoo <DOT> org>
AuthorDate: Thu Jul  7 19:40:42 2016 +0000
Commit:     Austin English <wizardedit <AT> gentoo <DOT> org>
CommitDate: Thu Jul  7 19:47:00 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=135e2a15

games-board/stockfish: bump to EAPI 6, add maintainer-needed

Package-Manager: portage-2.2.28

 games-board/stockfish/metadata.xml          |  1 +
 games-board/stockfish/stockfish-6-r2.ebuild | 62 +++++++++++++++++++++++++++++
 2 files changed, 63 insertions(+)

diff --git a/games-board/stockfish/metadata.xml b/games-board/stockfish/metadata.xml
index cae5816..831231b 100644
--- a/games-board/stockfish/metadata.xml
+++ b/games-board/stockfish/metadata.xml
@@ -1,6 +1,7 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
 <pkgmetadata>
+  <!-- maintainer-needed -->
   <use>
     <flag name="armv7">Build for armv7; enables PIE</flag>
     <flag name="general-32">Generic unoptimized 32-bits build</flag>

diff --git a/games-board/stockfish/stockfish-6-r2.ebuild b/games-board/stockfish/stockfish-6-r2.ebuild
new file mode 100644
index 0000000..c38f33f
--- /dev/null
+++ b/games-board/stockfish/stockfish-6-r2.ebuild
@@ -0,0 +1,62 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+if [[ ${PV} == *9999* ]]; then
+	inherit git-r3
+	EGIT_REPO_URI="git://github.com/official-stockfish/Stockfish.git"
+	KEYWORDS=""
+	S=${WORKDIR}/${P}/src
+else
+	SRC_URI="https://stockfish.s3.amazonaws.com/${P}-src.zip"
+	KEYWORDS="~amd64 ~x86"
+	S=${WORKDIR}/${P}-src/src
+fi
+
+DESCRIPTION="Free UCI chess engine, claimed to be the strongest in the world"
+HOMEPAGE="http://stockfishchess.org/"
+
+LICENSE="GPL-3"
+SLOT="0"
+IUSE="armv7 cpu_flags_x86_avx2 cpu_flags_x86_popcnt cpu_flags_x86_sse debug
+	general-32 general-64 +optimize"
+
+DEPEND="|| ( app-arch/unzip
+	app-arch/zip )"
+RDEPEND=""
+
+src_prepare() {
+	default
+
+	# prevent pre-stripping
+	sed -e 's:-strip $(BINDIR)/$(EXE)::' -i Makefile || die
+}
+
+src_compile() {
+	local my_arch
+	# generic unoptimized first
+	use general-32 && my_arch=general-32
+	use general-64 && my_arch=general-64
+	# x86
+	use x86 && my_arch=x86-32-old
+	use cpu_flags_x86_sse && my_arch=x86-32
+	# amd64
+	use amd64 && my_arch=x86-64
+	use cpu_flags_x86_popcnt && my_arch=x86-64-modern
+	# both bmi2 and avx2 are part of hni (haswell new instructions)
+	use cpu_flags_x86_avx2 && my_arch=x86-64-bmi2
+	# other architectures
+	use armv7 && my_arch=armv7
+	use ppc && my_arch=ppc
+	use ppc64 && my_arch=ppc64
+
+	emake build ARCH=${my_arch} \
+		debug=$(usex debug "yes" "no") \
+		optimize=$(usex optimize "yes" "no")
+}
+
+src_install() {
+	emake PREFIX="${D}/usr" install
+	dodoc ../AUTHORS ../Readme.md
+}


^ permalink raw reply related	[flat|nested] 40+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: games-board/stockfish/
@ 2016-08-25  0:03 Michael Orlitzky
  0 siblings, 0 replies; 40+ messages in thread
From: Michael Orlitzky @ 2016-08-25  0:03 UTC (permalink / raw
  To: gentoo-commits

commit:     81b7f2c2f3cccfa1d8d51eab895d2bc2b52526d5
Author:     Michael Orlitzky <mjo <AT> gentoo <DOT> org>
AuthorDate: Wed Aug 24 23:54:16 2016 +0000
Commit:     Michael Orlitzky <mjo <AT> gentoo <DOT> org>
CommitDate: Wed Aug 24 23:54:34 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=81b7f2c2

games-board/stockfish: new version 7 that respects $CC; remove old ones.

There is a new version of this that compiles fine with the existing
ebuilds. But the build system for this package has a whitelist of
compilers that makes it hard to get it to respect $CC. Fortunately,
there's a hack in the makefile to allow the package to build with
Travis CI, and we can hijack it to force our compiler of choice to be
used.

The version 6 ebuilds have been removed, since they were never
stabilized.

Gentoo-Bug: 542932

Package-Manager: portage-2.2.28

 games-board/stockfish/Manifest                     |  2 +-
 games-board/stockfish/stockfish-6-r1.ebuild        | 60 ----------------------
 .../{stockfish-6-r2.ebuild => stockfish-7.ebuild}  | 38 ++++++++------
 3 files changed, 24 insertions(+), 76 deletions(-)

diff --git a/games-board/stockfish/Manifest b/games-board/stockfish/Manifest
index 9142b4d..e3fc501 100644
--- a/games-board/stockfish/Manifest
+++ b/games-board/stockfish/Manifest
@@ -1 +1 @@
-DIST stockfish-6-src.zip 161183 SHA256 a69a371d3f84338cefde4575669bd930d186b046a10fa5ab0f8d1aed6cb204c3 SHA512 8381b7a8616281629f04c6dc4cbe5a279b06067f7af3faff271461f694122eeba9d83a0c4a295b9064142bcaa3b31eca8139b58eb9441684845aad45888402dc WHIRLPOOL 56672a5730ce1f9adef13b658e960f808a990752b749ab3c658e1dbdd54e81bbee9c32ab91c892cd6f8b91ad4d8fe5bcff2c5d0942616b5dda5e77c196ad5092
+DIST stockfish-7-src.zip 158788 SHA256 89f1bb855c9251c1c644156d82960c71aa68e837390367f5111aa756e0785f36 SHA512 e5f2bb5e1309db9bf8e89ed35d69c7cf1c63b9da5158dfb32faea33113569c337781e40ec3f4fc03760f1e17acfbb671ecc2eaf57dec1fd018173fe0ae6d70d1 WHIRLPOOL 201d405b977355be3326f21567b2b836522d8d021fdab028d74fb3dd21b5eb281825f28df56d35f6a85b0e91cad9f2f674775180715a96f11e85ad4a06f0d663

diff --git a/games-board/stockfish/stockfish-6-r1.ebuild b/games-board/stockfish/stockfish-6-r1.ebuild
deleted file mode 100644
index df819ce..00000000
--- a/games-board/stockfish/stockfish-6-r1.ebuild
+++ /dev/null
@@ -1,60 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-if [[ ${PV} == *9999* ]]; then
-	inherit git-r3
-	EGIT_REPO_URI="git://github.com/official-stockfish/Stockfish.git"
-	KEYWORDS=""
-	S=${WORKDIR}/${P}/src
-else
-	SRC_URI="https://stockfish.s3.amazonaws.com/${P}-src.zip"
-	KEYWORDS="~amd64 ~x86"
-	S=${WORKDIR}/${P}-src/src
-fi
-
-DESCRIPTION="Free UCI chess engine, claimed to be the strongest in the world"
-HOMEPAGE="http://stockfishchess.org/"
-
-LICENSE="GPL-3"
-SLOT="0"
-IUSE="armv7 cpu_flags_x86_avx2 cpu_flags_x86_popcnt cpu_flags_x86_sse debug
-	general-32 general-64 +optimize"
-
-DEPEND="|| ( app-arch/unzip
-	app-arch/zip )"
-RDEPEND=""
-
-src_prepare() {
-	# prevent pre-stripping
-	sed -e 's:-strip $(BINDIR)/$(EXE)::' -i Makefile || die
-}
-
-src_compile() {
-	local my_arch
-	# generic unoptimized first
-	use general-32 && my_arch=general-32
-	use general-64 && my_arch=general-64
-	# x86
-	use x86 && my_arch=x86-32-old
-	use cpu_flags_x86_sse && my_arch=x86-32
-	# amd64
-	use amd64 && my_arch=x86-64
-	use cpu_flags_x86_popcnt && my_arch=x86-64-modern
-	# both bmi2 and avx2 are part of hni (haswell new instructions)
-	use cpu_flags_x86_avx2 && my_arch=x86-64-bmi2
-	# other architectures
-	use armv7 && my_arch=armv7
-	use ppc && my_arch=ppc
-	use ppc64 && my_arch=ppc64
-
-	emake build ARCH=${my_arch} \
-		debug=$(usex debug "yes" "no") \
-		optimize=$(usex optimize "yes" "no")
-}
-
-src_install() {
-	emake PREFIX="${D}/usr" install
-	dodoc ../AUTHORS ../Readme.md
-}

diff --git a/games-board/stockfish/stockfish-6-r2.ebuild b/games-board/stockfish/stockfish-7.ebuild
similarity index 60%
rename from games-board/stockfish/stockfish-6-r2.ebuild
rename to games-board/stockfish/stockfish-7.ebuild
index c38f33f..ff0852b 100644
--- a/games-board/stockfish/stockfish-6-r2.ebuild
+++ b/games-board/stockfish/stockfish-7.ebuild
@@ -3,60 +3,68 @@
 # $Id$
 
 EAPI=6
-if [[ ${PV} == *9999* ]]; then
-	inherit git-r3
-	EGIT_REPO_URI="git://github.com/official-stockfish/Stockfish.git"
-	KEYWORDS=""
-	S=${WORKDIR}/${P}/src
-else
-	SRC_URI="https://stockfish.s3.amazonaws.com/${P}-src.zip"
-	KEYWORDS="~amd64 ~x86"
-	S=${WORKDIR}/${P}-src/src
-fi
+
+inherit toolchain-funcs
 
 DESCRIPTION="Free UCI chess engine, claimed to be the strongest in the world"
 HOMEPAGE="http://stockfishchess.org/"
 
+SRC_URI="https://stockfish.s3.amazonaws.com/${P}-src.zip"
 LICENSE="GPL-3"
 SLOT="0"
+KEYWORDS="~amd64 ~x86"
 IUSE="armv7 cpu_flags_x86_avx2 cpu_flags_x86_popcnt cpu_flags_x86_sse debug
 	general-32 general-64 +optimize"
 
-DEPEND="|| ( app-arch/unzip
-	app-arch/zip )"
+DEPEND="|| ( app-arch/unzip	app-arch/zip )"
 RDEPEND=""
 
+S="${WORKDIR}/${P}-src/src"
+
 src_prepare() {
 	default
 
 	# prevent pre-stripping
-	sed -e 's:-strip $(BINDIR)/$(EXE)::' -i Makefile || die
+	sed -e 's:-strip $(BINDIR)/$(EXE)::' -i Makefile \
+		|| die 'failed to disable stripping in the Makefile'
 }
 
 src_compile() {
 	local my_arch
+
 	# generic unoptimized first
 	use general-32 && my_arch=general-32
 	use general-64 && my_arch=general-64
+
 	# x86
 	use x86 && my_arch=x86-32-old
 	use cpu_flags_x86_sse && my_arch=x86-32
+
 	# amd64
 	use amd64 && my_arch=x86-64
 	use cpu_flags_x86_popcnt && my_arch=x86-64-modern
+
 	# both bmi2 and avx2 are part of hni (haswell new instructions)
 	use cpu_flags_x86_avx2 && my_arch=x86-64-bmi2
+
 	# other architectures
 	use armv7 && my_arch=armv7
 	use ppc && my_arch=ppc
 	use ppc64 && my_arch=ppc64
 
-	emake build ARCH=${my_arch} \
+	# Skip the "build" target and use "all" instead to avoid the config
+	# sanity check (which would throw a fit about our compiler). 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 all ARCH="${my_arch}" \
+		COMP=$(tc-getCXX) \
+		COMPILER=$(tc-getCXX) \
 		debug=$(usex debug "yes" "no") \
 		optimize=$(usex optimize "yes" "no")
 }
 
 src_install() {
-	emake PREFIX="${D}/usr" install
+	dobin "${PN}"
 	dodoc ../AUTHORS ../Readme.md
 }


^ permalink raw reply related	[flat|nested] 40+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: games-board/stockfish/
@ 2016-11-17  5:20 Matthias Maier
  0 siblings, 0 replies; 40+ messages in thread
From: Matthias Maier @ 2016-11-17  5:20 UTC (permalink / raw
  To: gentoo-commits

commit:     ca6b7a4e16875ac5c136b10974834faa226c4f51
Author:     Matthias Maier <tamiko <AT> gentoo <DOT> org>
AuthorDate: Thu Nov 17 05:16:25 2016 +0000
Commit:     Matthias Maier <tamiko <AT> gentoo <DOT> org>
CommitDate: Thu Nov 17 05:19:52 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ca6b7a4e

games-board/stockfish: bump to version 8

Package-Manager: portage-2.3.0

 games-board/stockfish/Manifest           |  1 +
 games-board/stockfish/stockfish-8.ebuild | 70 ++++++++++++++++++++++++++++++++
 2 files changed, 71 insertions(+)

diff --git a/games-board/stockfish/Manifest b/games-board/stockfish/Manifest
index e3fc501..77676e8 100644
--- a/games-board/stockfish/Manifest
+++ b/games-board/stockfish/Manifest
@@ -1 +1,2 @@
 DIST stockfish-7-src.zip 158788 SHA256 89f1bb855c9251c1c644156d82960c71aa68e837390367f5111aa756e0785f36 SHA512 e5f2bb5e1309db9bf8e89ed35d69c7cf1c63b9da5158dfb32faea33113569c337781e40ec3f4fc03760f1e17acfbb671ecc2eaf57dec1fd018173fe0ae6d70d1 WHIRLPOOL 201d405b977355be3326f21567b2b836522d8d021fdab028d74fb3dd21b5eb281825f28df56d35f6a85b0e91cad9f2f674775180715a96f11e85ad4a06f0d663
+DIST stockfish-8-src.zip 159017 SHA256 7bad36f21f649ab24f6d7786bbb1b74b3e4037f165f32e3d42d1ae19c8874ce9 SHA512 4dcc8c6e975367e96d5b4e76c241094e1bade53fd19fa29320a5df10177ff5ae04844ca7ae9f9cfe929aa1341d898aabbbe523bbdab4c5beef75ca8332ce50c1 WHIRLPOOL ac28ea7e89a447e465dfc102cc4f1a7a9131e0933bf52f57b00483f541065613d678797c807d462c6b364a1052b86c55e0471bfb76fe8e61e3355ea79133fc84

diff --git a/games-board/stockfish/stockfish-8.ebuild b/games-board/stockfish/stockfish-8.ebuild
new file mode 100644
index 00000000..ff0852b
--- /dev/null
+++ b/games-board/stockfish/stockfish-8.ebuild
@@ -0,0 +1,70 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+inherit toolchain-funcs
+
+DESCRIPTION="Free UCI chess engine, claimed to be the strongest in the world"
+HOMEPAGE="http://stockfishchess.org/"
+
+SRC_URI="https://stockfish.s3.amazonaws.com/${P}-src.zip"
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="armv7 cpu_flags_x86_avx2 cpu_flags_x86_popcnt cpu_flags_x86_sse debug
+	general-32 general-64 +optimize"
+
+DEPEND="|| ( app-arch/unzip	app-arch/zip )"
+RDEPEND=""
+
+S="${WORKDIR}/${P}-src/src"
+
+src_prepare() {
+	default
+
+	# prevent pre-stripping
+	sed -e 's:-strip $(BINDIR)/$(EXE)::' -i Makefile \
+		|| die 'failed to disable stripping in the Makefile'
+}
+
+src_compile() {
+	local my_arch
+
+	# generic unoptimized first
+	use general-32 && my_arch=general-32
+	use general-64 && my_arch=general-64
+
+	# x86
+	use x86 && my_arch=x86-32-old
+	use cpu_flags_x86_sse && my_arch=x86-32
+
+	# amd64
+	use amd64 && my_arch=x86-64
+	use cpu_flags_x86_popcnt && my_arch=x86-64-modern
+
+	# both bmi2 and avx2 are part of hni (haswell new instructions)
+	use cpu_flags_x86_avx2 && my_arch=x86-64-bmi2
+
+	# other architectures
+	use armv7 && my_arch=armv7
+	use ppc && my_arch=ppc
+	use ppc64 && my_arch=ppc64
+
+	# Skip the "build" target and use "all" instead to avoid the config
+	# sanity check (which would throw a fit about our compiler). 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 all ARCH="${my_arch}" \
+		COMP=$(tc-getCXX) \
+		COMPILER=$(tc-getCXX) \
+		debug=$(usex debug "yes" "no") \
+		optimize=$(usex optimize "yes" "no")
+}
+
+src_install() {
+	dobin "${PN}"
+	dodoc ../AUTHORS ../Readme.md
+}


^ permalink raw reply related	[flat|nested] 40+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: games-board/stockfish/
@ 2016-11-17  5:20 Matthias Maier
  0 siblings, 0 replies; 40+ messages in thread
From: Matthias Maier @ 2016-11-17  5:20 UTC (permalink / raw
  To: gentoo-commits

commit:     d16f74e7c0aab3f2166842134dc305bcaa3174d4
Author:     Matthias Maier <tamiko <AT> gentoo <DOT> org>
AuthorDate: Thu Nov 17 05:18:32 2016 +0000
Commit:     Matthias Maier <tamiko <AT> gentoo <DOT> org>
CommitDate: Thu Nov 17 05:19:53 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d16f74e7

games-board/stockfish: take over maintainership

Package-Manager: portage-2.3.0

 games-board/stockfish/metadata.xml | 17 ++++++++++-------
 1 file changed, 10 insertions(+), 7 deletions(-)

diff --git a/games-board/stockfish/metadata.xml b/games-board/stockfish/metadata.xml
index 831231b..38f3f41 100644
--- a/games-board/stockfish/metadata.xml
+++ b/games-board/stockfish/metadata.xml
@@ -1,11 +1,14 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
 <pkgmetadata>
-  <!-- maintainer-needed -->
-  <use>
-    <flag name="armv7">Build for armv7; enables PIE</flag>
-    <flag name="general-32">Generic unoptimized 32-bits build</flag>
-    <flag name="general-64">Generic unoptimized 64-bits build</flag>
-    <flag name="optimize">Enable upstream -O3 optimizations (default enabled)</flag>
-  </use>
+	<maintainer type="person">
+		<email>tamiko@gentoo.org</email>
+		<name>Matthias Maier</name>
+	</maintainer>
+	<use>
+		<flag name="armv7">Build for armv7; enables PIE</flag>
+		<flag name="general-32">Generic unoptimized 32-bits build</flag>
+		<flag name="general-64">Generic unoptimized 64-bits build</flag>
+		<flag name="optimize">Enable upstream -O3 optimizations (default enabled)</flag>
+	</use>
 </pkgmetadata>


^ permalink raw reply related	[flat|nested] 40+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: games-board/stockfish/
@ 2017-01-26 19:48 Matthias Maier
  0 siblings, 0 replies; 40+ messages in thread
From: Matthias Maier @ 2017-01-26 19:48 UTC (permalink / raw
  To: gentoo-commits

commit:     17200647213345634fe3ce051e422a98a7de28c6
Author:     Matthias Maier <tamiko <AT> gentoo <DOT> org>
AuthorDate: Thu Jan 26 19:47:54 2017 +0000
Commit:     Matthias Maier <tamiko <AT> gentoo <DOT> org>
CommitDate: Thu Jan 26 19:47:54 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=17200647

games-board/stockfish: drop old

Package-Manager: Portage-2.3.3, Repoman-2.3.1

 games-board/stockfish/Manifest           |  1 -
 games-board/stockfish/stockfish-7.ebuild | 70 --------------------------------
 2 files changed, 71 deletions(-)

diff --git a/games-board/stockfish/Manifest b/games-board/stockfish/Manifest
index 77676e8..2970fca 100644
--- a/games-board/stockfish/Manifest
+++ b/games-board/stockfish/Manifest
@@ -1,2 +1 @@
-DIST stockfish-7-src.zip 158788 SHA256 89f1bb855c9251c1c644156d82960c71aa68e837390367f5111aa756e0785f36 SHA512 e5f2bb5e1309db9bf8e89ed35d69c7cf1c63b9da5158dfb32faea33113569c337781e40ec3f4fc03760f1e17acfbb671ecc2eaf57dec1fd018173fe0ae6d70d1 WHIRLPOOL 201d405b977355be3326f21567b2b836522d8d021fdab028d74fb3dd21b5eb281825f28df56d35f6a85b0e91cad9f2f674775180715a96f11e85ad4a06f0d663
 DIST stockfish-8-src.zip 159017 SHA256 7bad36f21f649ab24f6d7786bbb1b74b3e4037f165f32e3d42d1ae19c8874ce9 SHA512 4dcc8c6e975367e96d5b4e76c241094e1bade53fd19fa29320a5df10177ff5ae04844ca7ae9f9cfe929aa1341d898aabbbe523bbdab4c5beef75ca8332ce50c1 WHIRLPOOL ac28ea7e89a447e465dfc102cc4f1a7a9131e0933bf52f57b00483f541065613d678797c807d462c6b364a1052b86c55e0471bfb76fe8e61e3355ea79133fc84

diff --git a/games-board/stockfish/stockfish-7.ebuild b/games-board/stockfish/stockfish-7.ebuild
deleted file mode 100644
index ff0852b..00000000
--- a/games-board/stockfish/stockfish-7.ebuild
+++ /dev/null
@@ -1,70 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=6
-
-inherit toolchain-funcs
-
-DESCRIPTION="Free UCI chess engine, claimed to be the strongest in the world"
-HOMEPAGE="http://stockfishchess.org/"
-
-SRC_URI="https://stockfish.s3.amazonaws.com/${P}-src.zip"
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="armv7 cpu_flags_x86_avx2 cpu_flags_x86_popcnt cpu_flags_x86_sse debug
-	general-32 general-64 +optimize"
-
-DEPEND="|| ( app-arch/unzip	app-arch/zip )"
-RDEPEND=""
-
-S="${WORKDIR}/${P}-src/src"
-
-src_prepare() {
-	default
-
-	# prevent pre-stripping
-	sed -e 's:-strip $(BINDIR)/$(EXE)::' -i Makefile \
-		|| die 'failed to disable stripping in the Makefile'
-}
-
-src_compile() {
-	local my_arch
-
-	# generic unoptimized first
-	use general-32 && my_arch=general-32
-	use general-64 && my_arch=general-64
-
-	# x86
-	use x86 && my_arch=x86-32-old
-	use cpu_flags_x86_sse && my_arch=x86-32
-
-	# amd64
-	use amd64 && my_arch=x86-64
-	use cpu_flags_x86_popcnt && my_arch=x86-64-modern
-
-	# both bmi2 and avx2 are part of hni (haswell new instructions)
-	use cpu_flags_x86_avx2 && my_arch=x86-64-bmi2
-
-	# other architectures
-	use armv7 && my_arch=armv7
-	use ppc && my_arch=ppc
-	use ppc64 && my_arch=ppc64
-
-	# Skip the "build" target and use "all" instead to avoid the config
-	# sanity check (which would throw a fit about our compiler). 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 all ARCH="${my_arch}" \
-		COMP=$(tc-getCXX) \
-		COMPILER=$(tc-getCXX) \
-		debug=$(usex debug "yes" "no") \
-		optimize=$(usex optimize "yes" "no")
-}
-
-src_install() {
-	dobin "${PN}"
-	dodoc ../AUTHORS ../Readme.md
-}


^ permalink raw reply related	[flat|nested] 40+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: games-board/stockfish/
@ 2017-01-27  9:02 Agostino Sarubbo
  0 siblings, 0 replies; 40+ messages in thread
From: Agostino Sarubbo @ 2017-01-27  9:02 UTC (permalink / raw
  To: gentoo-commits

commit:     c1a4c7e71383f131a857fb73dd4e59a7873d6bb5
Author:     Agostino Sarubbo <ago <AT> gentoo <DOT> org>
AuthorDate: Fri Jan 27 09:00:56 2017 +0000
Commit:     Agostino Sarubbo <ago <AT> gentoo <DOT> org>
CommitDate: Fri Jan 27 09:00:56 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c1a4c7e7

games-board/stockfish: amd64 stable wrt bug #607334

Package-Manager: portage-2.3.0
RepoMan-Options: --include-arches="amd64"
Signed-off-by: Agostino Sarubbo <ago <AT> gentoo.org>

 games-board/stockfish/stockfish-8.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/games-board/stockfish/stockfish-8.ebuild b/games-board/stockfish/stockfish-8.ebuild
index ff0852b..0e6d1e9 100644
--- a/games-board/stockfish/stockfish-8.ebuild
+++ b/games-board/stockfish/stockfish-8.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -12,7 +12,7 @@ HOMEPAGE="http://stockfishchess.org/"
 SRC_URI="https://stockfish.s3.amazonaws.com/${P}-src.zip"
 LICENSE="GPL-3"
 SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="amd64 ~x86"
 IUSE="armv7 cpu_flags_x86_avx2 cpu_flags_x86_popcnt cpu_flags_x86_sse debug
 	general-32 general-64 +optimize"
 


^ permalink raw reply related	[flat|nested] 40+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: games-board/stockfish/
@ 2017-01-27  9:07 Agostino Sarubbo
  0 siblings, 0 replies; 40+ messages in thread
From: Agostino Sarubbo @ 2017-01-27  9:07 UTC (permalink / raw
  To: gentoo-commits

commit:     378fc65c608414f6f9dd4c0f3e1c78831de7d214
Author:     Agostino Sarubbo <ago <AT> gentoo <DOT> org>
AuthorDate: Fri Jan 27 09:06:40 2017 +0000
Commit:     Agostino Sarubbo <ago <AT> gentoo <DOT> org>
CommitDate: Fri Jan 27 09:06:40 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=378fc65c

games-board/stockfish: x86 stable wrt bug #607334

Package-Manager: portage-2.3.0
RepoMan-Options: --include-arches="x86"
Signed-off-by: Agostino Sarubbo <ago <AT> gentoo.org>

 games-board/stockfish/stockfish-8.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/games-board/stockfish/stockfish-8.ebuild b/games-board/stockfish/stockfish-8.ebuild
index 0e6d1e9..6ff9844 100644
--- a/games-board/stockfish/stockfish-8.ebuild
+++ b/games-board/stockfish/stockfish-8.ebuild
@@ -12,7 +12,7 @@ HOMEPAGE="http://stockfishchess.org/"
 SRC_URI="https://stockfish.s3.amazonaws.com/${P}-src.zip"
 LICENSE="GPL-3"
 SLOT="0"
-KEYWORDS="amd64 ~x86"
+KEYWORDS="amd64 x86"
 IUSE="armv7 cpu_flags_x86_avx2 cpu_flags_x86_popcnt cpu_flags_x86_sse debug
 	general-32 general-64 +optimize"
 


^ permalink raw reply related	[flat|nested] 40+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: games-board/stockfish/
@ 2018-06-11 16:28 Aaron Bauman
  0 siblings, 0 replies; 40+ messages in thread
From: Aaron Bauman @ 2018-06-11 16:28 UTC (permalink / raw
  To: gentoo-commits

commit:     3d85b892400fdf438fc89362dc73ba3433f3776c
Author:     Michael Mair-Keimberger <m.mairkeimberger <AT> gmail <DOT> com>
AuthorDate: Sat Jun  9 19:42:41 2018 +0000
Commit:     Aaron Bauman <bman <AT> gentoo <DOT> org>
CommitDate: Mon Jun 11 16:28:06 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3d85b892

games-board/stockfish: use HTTPs

 games-board/stockfish/stockfish-8.ebuild | 4 ++--
 games-board/stockfish/stockfish-9.ebuild | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/games-board/stockfish/stockfish-8.ebuild b/games-board/stockfish/stockfish-8.ebuild
index 857f59d3875..c908d406a8c 100644
--- a/games-board/stockfish/stockfish-8.ebuild
+++ b/games-board/stockfish/stockfish-8.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -6,7 +6,7 @@ EAPI=6
 inherit toolchain-funcs
 
 DESCRIPTION="Free UCI chess engine, claimed to be the strongest in the world"
-HOMEPAGE="http://stockfishchess.org/"
+HOMEPAGE="https://stockfishchess.org/"
 
 SRC_URI="https://stockfish.s3.amazonaws.com/${P}-src.zip"
 LICENSE="GPL-3"

diff --git a/games-board/stockfish/stockfish-9.ebuild b/games-board/stockfish/stockfish-9.ebuild
index da7db78dbf0..dc5c8779f35 100644
--- a/games-board/stockfish/stockfish-9.ebuild
+++ b/games-board/stockfish/stockfish-9.ebuild
@@ -6,7 +6,7 @@ EAPI=6
 inherit toolchain-funcs
 
 DESCRIPTION="Free UCI chess engine, claimed to be the strongest in the world"
-HOMEPAGE="http://stockfishchess.org/"
+HOMEPAGE="https://stockfishchess.org/"
 
 SRC_URI="https://stockfish.s3.amazonaws.com/${P}-src.zip"
 LICENSE="GPL-3"


^ permalink raw reply related	[flat|nested] 40+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: games-board/stockfish/
@ 2019-06-20 18:02 Sergei Trofimovich
  0 siblings, 0 replies; 40+ messages in thread
From: Sergei Trofimovich @ 2019-06-20 18:02 UTC (permalink / raw
  To: gentoo-commits

commit:     d0c188432a54fae4bc241cb1690d220dd36aab6d
Author:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Thu Jun 20 06:55:51 2019 +0000
Commit:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Thu Jun 20 18:02:47 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d0c18843

games-board/stockfish: bump up to 10, bug #688196

Reported-by: Sleepy Mario
Closes: https://bugs.gentoo.org/688196
Package-Manager: Portage-2.3.67, Repoman-2.3.14
Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org>

 games-board/stockfish/Manifest            |  1 +
 games-board/stockfish/stockfish-10.ebuild | 69 +++++++++++++++++++++++++++++++
 2 files changed, 70 insertions(+)

diff --git a/games-board/stockfish/Manifest b/games-board/stockfish/Manifest
index a876fd75b48..a979ab6f2d9 100644
--- a/games-board/stockfish/Manifest
+++ b/games-board/stockfish/Manifest
@@ -1,2 +1,3 @@
+DIST stockfish-10-src.zip 174377 BLAKE2B 58142b16f59f15773c8811d6e10588dbc680c94cd504d26f4ca285dbe632d845ede06571e501a4e2b77adbb9b00d91978236ff179a46a73dc9a03cfa1ae3490c SHA512 959c4f3c497ba3108884dabc38de824f11781ae57b4ab5fdf25daf9a7fc0326e663adb1c081b8c8d57a7bf5f2e941369502a50a0c93135a001c6bd1af360d0f8
 DIST stockfish-8-src.zip 159017 BLAKE2B 01f2bf017a3e822e9a1cc35b3fd3a05a1e25e3acbc51b4b8ad9d9447eb5e35a8f8e313f72b4353e5ce1937ceb0aeb581a35d393e593fd0dd9851f149ea658b73 SHA512 4dcc8c6e975367e96d5b4e76c241094e1bade53fd19fa29320a5df10177ff5ae04844ca7ae9f9cfe929aa1341d898aabbbe523bbdab4c5beef75ca8332ce50c1
 DIST stockfish-9-src.zip 171925 BLAKE2B dacfe02525e2d78bf91a41bf2d22077ecb808566f87317382515aa14baade2c03c150ecd62ae026c5883321642330cd9beab50df35db3f1c7de18c8b84922ae0 SHA512 47b5dfea9e015dd68e33c8b1a131ed83710e4e5d67abe0c278a423f2940b07c7a5d661ce27915257ae3dad83fc2bb8e50d3d28bfa11a7c4cdf396d0378cd80f8

diff --git a/games-board/stockfish/stockfish-10.ebuild b/games-board/stockfish/stockfish-10.ebuild
new file mode 100644
index 00000000000..bf574d4333b
--- /dev/null
+++ b/games-board/stockfish/stockfish-10.ebuild
@@ -0,0 +1,69 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit toolchain-funcs
+
+DESCRIPTION="Free UCI chess engine, claimed to be the strongest in the world"
+HOMEPAGE="https://stockfishchess.org/"
+
+SRC_URI="https://stockfish.s3.amazonaws.com/${P}-src.zip"
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="armv7 cpu_flags_x86_avx2 cpu_flags_x86_popcnt cpu_flags_x86_sse debug
+	general-32 general-64 +optimize"
+
+DEPEND="|| ( app-arch/unzip app-arch/zip )"
+RDEPEND=""
+
+S="${WORKDIR}/src"
+
+src_prepare() {
+	default
+
+	# prevent pre-stripping
+	sed -e 's:-strip $(BINDIR)/$(EXE)::' -i Makefile \
+		|| die 'failed to disable stripping in the Makefile'
+}
+
+src_compile() {
+	local my_arch
+
+	# generic unoptimized first
+	use general-32 && my_arch=general-32
+	use general-64 && my_arch=general-64
+
+	# x86
+	use x86 && my_arch=x86-32-old
+	use cpu_flags_x86_sse && my_arch=x86-32
+
+	# amd64
+	use amd64 && my_arch=x86-64
+	use cpu_flags_x86_popcnt && my_arch=x86-64-modern
+
+	# both bmi2 and avx2 are part of hni (haswell new instructions)
+	use cpu_flags_x86_avx2 && my_arch=x86-64-bmi2
+
+	# other architectures
+	use armv7 && my_arch=armv7
+	use ppc && my_arch=ppc
+	use ppc64 && my_arch=ppc64
+
+	# Skip the "build" target and use "all" instead to avoid the config
+	# sanity check (which would throw a fit about our compiler). 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 all ARCH="${my_arch}" \
+		COMP=$(tc-getCXX) \
+		COMPILER=$(tc-getCXX) \
+		debug=$(usex debug "yes" "no") \
+		optimize=$(usex optimize "yes" "no")
+}
+
+src_install() {
+	dobin "${PN}"
+	dodoc ../AUTHORS ../Readme.md
+}


^ permalink raw reply related	[flat|nested] 40+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: games-board/stockfish/
@ 2019-07-02 10:33 Agostino Sarubbo
  0 siblings, 0 replies; 40+ messages in thread
From: Agostino Sarubbo @ 2019-07-02 10:33 UTC (permalink / raw
  To: gentoo-commits

commit:     1d7d16d7ddfabe934ef8f0745731fad2a3e0fe47
Author:     Agostino Sarubbo <ago <AT> gentoo <DOT> org>
AuthorDate: Tue Jul  2 10:33:13 2019 +0000
Commit:     Agostino Sarubbo <ago <AT> gentoo <DOT> org>
CommitDate: Tue Jul  2 10:33:13 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1d7d16d7

games-board/stockfish: amd64 stable wrt bug #689018

Signed-off-by: Agostino Sarubbo <ago <AT> gentoo.org>
Package-Manager: Portage-2.3.66, Repoman-2.3.11
RepoMan-Options: --include-arches="amd64"

 games-board/stockfish/stockfish-10.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/games-board/stockfish/stockfish-10.ebuild b/games-board/stockfish/stockfish-10.ebuild
index bf574d4333b..d6e91d7bd25 100644
--- a/games-board/stockfish/stockfish-10.ebuild
+++ b/games-board/stockfish/stockfish-10.ebuild
@@ -11,7 +11,7 @@ HOMEPAGE="https://stockfishchess.org/"
 SRC_URI="https://stockfish.s3.amazonaws.com/${P}-src.zip"
 LICENSE="GPL-3"
 SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="amd64 ~x86"
 IUSE="armv7 cpu_flags_x86_avx2 cpu_flags_x86_popcnt cpu_flags_x86_sse debug
 	general-32 general-64 +optimize"
 


^ permalink raw reply related	[flat|nested] 40+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: games-board/stockfish/
@ 2019-07-02 11:56 Agostino Sarubbo
  0 siblings, 0 replies; 40+ messages in thread
From: Agostino Sarubbo @ 2019-07-02 11:56 UTC (permalink / raw
  To: gentoo-commits

commit:     b56764003f15d5e213cd65cd17e5d2ec99b3b1e2
Author:     Agostino Sarubbo <ago <AT> gentoo <DOT> org>
AuthorDate: Tue Jul  2 11:56:01 2019 +0000
Commit:     Agostino Sarubbo <ago <AT> gentoo <DOT> org>
CommitDate: Tue Jul  2 11:56:01 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b5676400

games-board/stockfish: x86 stable wrt bug #689018

Signed-off-by: Agostino Sarubbo <ago <AT> gentoo.org>
Package-Manager: Portage-2.3.66, Repoman-2.3.11
RepoMan-Options: --include-arches="x86"

 games-board/stockfish/stockfish-10.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/games-board/stockfish/stockfish-10.ebuild b/games-board/stockfish/stockfish-10.ebuild
index d6e91d7bd25..f507eeb1a67 100644
--- a/games-board/stockfish/stockfish-10.ebuild
+++ b/games-board/stockfish/stockfish-10.ebuild
@@ -11,7 +11,7 @@ HOMEPAGE="https://stockfishchess.org/"
 SRC_URI="https://stockfish.s3.amazonaws.com/${P}-src.zip"
 LICENSE="GPL-3"
 SLOT="0"
-KEYWORDS="amd64 ~x86"
+KEYWORDS="amd64 x86"
 IUSE="armv7 cpu_flags_x86_avx2 cpu_flags_x86_popcnt cpu_flags_x86_sse debug
 	general-32 general-64 +optimize"
 


^ permalink raw reply related	[flat|nested] 40+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: games-board/stockfish/
@ 2020-02-28  1:17 Matthias Maier
  0 siblings, 0 replies; 40+ messages in thread
From: Matthias Maier @ 2020-02-28  1:17 UTC (permalink / raw
  To: gentoo-commits

commit:     0981f6977b0af8e154c33845e5fff0393b34828a
Author:     Matthias Maier <tamiko <AT> gentoo <DOT> org>
AuthorDate: Fri Feb 28 01:07:18 2020 +0000
Commit:     Matthias Maier <tamiko <AT> gentoo <DOT> org>
CommitDate: Fri Feb 28 01:07:18 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0981f697

games-board/stockfish: port to proper cpu_flags_arm use flag

Closes: https://bugs.gentoo.org/694098
Package-Manager: Portage-2.3.89, Repoman-2.3.20
Signed-off-by: Matthias Maier <tamiko <AT> gentoo.org>

 games-board/stockfish/metadata.xml        | 1 -
 games-board/stockfish/stockfish-10.ebuild | 6 +++---
 2 files changed, 3 insertions(+), 4 deletions(-)

diff --git a/games-board/stockfish/metadata.xml b/games-board/stockfish/metadata.xml
index 38f3f419b3a..2ffc98e206f 100644
--- a/games-board/stockfish/metadata.xml
+++ b/games-board/stockfish/metadata.xml
@@ -6,7 +6,6 @@
 		<name>Matthias Maier</name>
 	</maintainer>
 	<use>
-		<flag name="armv7">Build for armv7; enables PIE</flag>
 		<flag name="general-32">Generic unoptimized 32-bits build</flag>
 		<flag name="general-64">Generic unoptimized 64-bits build</flag>
 		<flag name="optimize">Enable upstream -O3 optimizations (default enabled)</flag>

diff --git a/games-board/stockfish/stockfish-10.ebuild b/games-board/stockfish/stockfish-10.ebuild
index f507eeb1a67..5974776f35e 100644
--- a/games-board/stockfish/stockfish-10.ebuild
+++ b/games-board/stockfish/stockfish-10.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -12,7 +12,7 @@ SRC_URI="https://stockfish.s3.amazonaws.com/${P}-src.zip"
 LICENSE="GPL-3"
 SLOT="0"
 KEYWORDS="amd64 x86"
-IUSE="armv7 cpu_flags_x86_avx2 cpu_flags_x86_popcnt cpu_flags_x86_sse debug
+IUSE="cpu_flags_arm_v7 cpu_flags_x86_avx2 cpu_flags_x86_popcnt cpu_flags_x86_sse debug
 	general-32 general-64 +optimize"
 
 DEPEND="|| ( app-arch/unzip app-arch/zip )"
@@ -47,7 +47,7 @@ src_compile() {
 	use cpu_flags_x86_avx2 && my_arch=x86-64-bmi2
 
 	# other architectures
-	use armv7 && my_arch=armv7
+	use cpu_flags_arm_v7 && my_arch=armv7
 	use ppc && my_arch=ppc
 	use ppc64 && my_arch=ppc64
 


^ permalink raw reply related	[flat|nested] 40+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: games-board/stockfish/
@ 2020-02-28  1:17 Matthias Maier
  0 siblings, 0 replies; 40+ messages in thread
From: Matthias Maier @ 2020-02-28  1:17 UTC (permalink / raw
  To: gentoo-commits

commit:     e3629f5638ac3db3b78cba39c05250882fad2746
Author:     Matthias Maier <tamiko <AT> gentoo <DOT> org>
AuthorDate: Fri Feb 28 01:09:35 2020 +0000
Commit:     Matthias Maier <tamiko <AT> gentoo <DOT> org>
CommitDate: Fri Feb 28 01:16:51 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e3629f56

games-board/stockfish: version bump to 11

Closes: https://bugs.gentoo.org/709784
Package-Manager: Portage-2.3.89, Repoman-2.3.20
Signed-off-by: Matthias Maier <tamiko <AT> gentoo.org>

 games-board/stockfish/Manifest            |  1 +
 games-board/stockfish/stockfish-11.ebuild | 69 +++++++++++++++++++++++++++++++
 2 files changed, 70 insertions(+)

diff --git a/games-board/stockfish/Manifest b/games-board/stockfish/Manifest
index ec4790075f0..b76b0028dbd 100644
--- a/games-board/stockfish/Manifest
+++ b/games-board/stockfish/Manifest
@@ -1 +1,2 @@
 DIST stockfish-10-src.zip 174377 BLAKE2B 58142b16f59f15773c8811d6e10588dbc680c94cd504d26f4ca285dbe632d845ede06571e501a4e2b77adbb9b00d91978236ff179a46a73dc9a03cfa1ae3490c SHA512 959c4f3c497ba3108884dabc38de824f11781ae57b4ab5fdf25daf9a7fc0326e663adb1c081b8c8d57a7bf5f2e941369502a50a0c93135a001c6bd1af360d0f8
+DIST stockfish-11.zip 179371 BLAKE2B c58839e8c8f8b9424f93555316c9cddccc8dec8cc29dde52bfd73af0d6c727b3a94eea07db08ebc88b97986b814a3a53e22726cdece0fbdbb54a131cec591d64 SHA512 5291a8200172d37f5a94711aeeb65b11d7a9b9ccc366182c4c6a8b454dd4fad72bf19d1494fe091cb71502288f81ec3c7d0fa16b815af7fc76b2894cb26dc8f4

diff --git a/games-board/stockfish/stockfish-11.ebuild b/games-board/stockfish/stockfish-11.ebuild
new file mode 100644
index 00000000000..c0198fa586c
--- /dev/null
+++ b/games-board/stockfish/stockfish-11.ebuild
@@ -0,0 +1,69 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit toolchain-funcs
+
+DESCRIPTION="Free UCI chess engine, claimed to be the strongest in the world"
+HOMEPAGE="https://stockfishchess.org/"
+
+SRC_URI="https://github.com/official-stockfish/Stockfish/archive/sf_${PV}.zip -> ${P}.zip"
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="cpu_flags_arm_v7 cpu_flags_x86_avx2 cpu_flags_x86_popcnt cpu_flags_x86_sse debug
+	general-32 general-64 +optimize"
+
+DEPEND="|| ( app-arch/unzip app-arch/zip )"
+RDEPEND=""
+
+S="${WORKDIR}/Stockfish-sf_${PV}/src"
+
+src_prepare() {
+	default
+
+	# prevent pre-stripping
+	sed -e 's:-strip $(BINDIR)/$(EXE)::' -i Makefile \
+		|| die 'failed to disable stripping in the Makefile'
+}
+
+src_compile() {
+	local my_arch
+
+	# generic unoptimized first
+	use general-32 && my_arch=general-32
+	use general-64 && my_arch=general-64
+
+	# x86
+	use x86 && my_arch=x86-32-old
+	use cpu_flags_x86_sse && my_arch=x86-32
+
+	# amd64
+	use amd64 && my_arch=x86-64
+	use cpu_flags_x86_popcnt && my_arch=x86-64-modern
+
+	# both bmi2 and avx2 are part of hni (haswell new instructions)
+	use cpu_flags_x86_avx2 && my_arch=x86-64-bmi2
+
+	# other architectures
+	use cpu_flags_arm_v7 && my_arch=armv7
+	use ppc && my_arch=ppc
+	use ppc64 && my_arch=ppc64
+
+	# Skip the "build" target and use "all" instead to avoid the config
+	# sanity check (which would throw a fit about our compiler). 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 all ARCH="${my_arch}" \
+		COMP=$(tc-getCXX) \
+		COMPILER=$(tc-getCXX) \
+		debug=$(usex debug "yes" "no") \
+		optimize=$(usex optimize "yes" "no")
+}
+
+src_install() {
+	dobin "${PN}"
+	dodoc ../AUTHORS ../Readme.md
+}


^ permalink raw reply related	[flat|nested] 40+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: games-board/stockfish/
@ 2020-02-28  1:17 Matthias Maier
  0 siblings, 0 replies; 40+ messages in thread
From: Matthias Maier @ 2020-02-28  1:17 UTC (permalink / raw
  To: gentoo-commits

commit:     7eac8280a7d649dd1d956f9eb894da8f473ec602
Author:     Matthias Maier <tamiko <AT> gentoo <DOT> org>
AuthorDate: Fri Feb 28 01:04:07 2020 +0000
Commit:     Matthias Maier <tamiko <AT> gentoo <DOT> org>
CommitDate: Fri Feb 28 01:04:07 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7eac8280

games-board/stockfish: remove old versions

Package-Manager: Portage-2.3.89, Repoman-2.3.20
Signed-off-by: Matthias Maier <tamiko <AT> gentoo.org>

 games-board/stockfish/Manifest           |  2 -
 games-board/stockfish/stockfish-8.ebuild | 69 --------------------------------
 games-board/stockfish/stockfish-9.ebuild | 69 --------------------------------
 3 files changed, 140 deletions(-)

diff --git a/games-board/stockfish/Manifest b/games-board/stockfish/Manifest
index a979ab6f2d9..ec4790075f0 100644
--- a/games-board/stockfish/Manifest
+++ b/games-board/stockfish/Manifest
@@ -1,3 +1 @@
 DIST stockfish-10-src.zip 174377 BLAKE2B 58142b16f59f15773c8811d6e10588dbc680c94cd504d26f4ca285dbe632d845ede06571e501a4e2b77adbb9b00d91978236ff179a46a73dc9a03cfa1ae3490c SHA512 959c4f3c497ba3108884dabc38de824f11781ae57b4ab5fdf25daf9a7fc0326e663adb1c081b8c8d57a7bf5f2e941369502a50a0c93135a001c6bd1af360d0f8
-DIST stockfish-8-src.zip 159017 BLAKE2B 01f2bf017a3e822e9a1cc35b3fd3a05a1e25e3acbc51b4b8ad9d9447eb5e35a8f8e313f72b4353e5ce1937ceb0aeb581a35d393e593fd0dd9851f149ea658b73 SHA512 4dcc8c6e975367e96d5b4e76c241094e1bade53fd19fa29320a5df10177ff5ae04844ca7ae9f9cfe929aa1341d898aabbbe523bbdab4c5beef75ca8332ce50c1
-DIST stockfish-9-src.zip 171925 BLAKE2B dacfe02525e2d78bf91a41bf2d22077ecb808566f87317382515aa14baade2c03c150ecd62ae026c5883321642330cd9beab50df35db3f1c7de18c8b84922ae0 SHA512 47b5dfea9e015dd68e33c8b1a131ed83710e4e5d67abe0c278a423f2940b07c7a5d661ce27915257ae3dad83fc2bb8e50d3d28bfa11a7c4cdf396d0378cd80f8

diff --git a/games-board/stockfish/stockfish-8.ebuild b/games-board/stockfish/stockfish-8.ebuild
deleted file mode 100644
index c908d406a8c..00000000000
--- a/games-board/stockfish/stockfish-8.ebuild
+++ /dev/null
@@ -1,69 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit toolchain-funcs
-
-DESCRIPTION="Free UCI chess engine, claimed to be the strongest in the world"
-HOMEPAGE="https://stockfishchess.org/"
-
-SRC_URI="https://stockfish.s3.amazonaws.com/${P}-src.zip"
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS="amd64 x86"
-IUSE="armv7 cpu_flags_x86_avx2 cpu_flags_x86_popcnt cpu_flags_x86_sse debug
-	general-32 general-64 +optimize"
-
-DEPEND="|| ( app-arch/unzip	app-arch/zip )"
-RDEPEND=""
-
-S="${WORKDIR}/${P}-src/src"
-
-src_prepare() {
-	default
-
-	# prevent pre-stripping
-	sed -e 's:-strip $(BINDIR)/$(EXE)::' -i Makefile \
-		|| die 'failed to disable stripping in the Makefile'
-}
-
-src_compile() {
-	local my_arch
-
-	# generic unoptimized first
-	use general-32 && my_arch=general-32
-	use general-64 && my_arch=general-64
-
-	# x86
-	use x86 && my_arch=x86-32-old
-	use cpu_flags_x86_sse && my_arch=x86-32
-
-	# amd64
-	use amd64 && my_arch=x86-64
-	use cpu_flags_x86_popcnt && my_arch=x86-64-modern
-
-	# both bmi2 and avx2 are part of hni (haswell new instructions)
-	use cpu_flags_x86_avx2 && my_arch=x86-64-bmi2
-
-	# other architectures
-	use armv7 && my_arch=armv7
-	use ppc && my_arch=ppc
-	use ppc64 && my_arch=ppc64
-
-	# Skip the "build" target and use "all" instead to avoid the config
-	# sanity check (which would throw a fit about our compiler). 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 all ARCH="${my_arch}" \
-		COMP=$(tc-getCXX) \
-		COMPILER=$(tc-getCXX) \
-		debug=$(usex debug "yes" "no") \
-		optimize=$(usex optimize "yes" "no")
-}
-
-src_install() {
-	dobin "${PN}"
-	dodoc ../AUTHORS ../Readme.md
-}

diff --git a/games-board/stockfish/stockfish-9.ebuild b/games-board/stockfish/stockfish-9.ebuild
deleted file mode 100644
index dc5c8779f35..00000000000
--- a/games-board/stockfish/stockfish-9.ebuild
+++ /dev/null
@@ -1,69 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit toolchain-funcs
-
-DESCRIPTION="Free UCI chess engine, claimed to be the strongest in the world"
-HOMEPAGE="https://stockfishchess.org/"
-
-SRC_URI="https://stockfish.s3.amazonaws.com/${P}-src.zip"
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="armv7 cpu_flags_x86_avx2 cpu_flags_x86_popcnt cpu_flags_x86_sse debug
-	general-32 general-64 +optimize"
-
-DEPEND="|| ( app-arch/unzip	app-arch/zip )"
-RDEPEND=""
-
-S="${WORKDIR}/src"
-
-src_prepare() {
-	default
-
-	# prevent pre-stripping
-	sed -e 's:-strip $(BINDIR)/$(EXE)::' -i Makefile \
-		|| die 'failed to disable stripping in the Makefile'
-}
-
-src_compile() {
-	local my_arch
-
-	# generic unoptimized first
-	use general-32 && my_arch=general-32
-	use general-64 && my_arch=general-64
-
-	# x86
-	use x86 && my_arch=x86-32-old
-	use cpu_flags_x86_sse && my_arch=x86-32
-
-	# amd64
-	use amd64 && my_arch=x86-64
-	use cpu_flags_x86_popcnt && my_arch=x86-64-modern
-
-	# both bmi2 and avx2 are part of hni (haswell new instructions)
-	use cpu_flags_x86_avx2 && my_arch=x86-64-bmi2
-
-	# other architectures
-	use armv7 && my_arch=armv7
-	use ppc && my_arch=ppc
-	use ppc64 && my_arch=ppc64
-
-	# Skip the "build" target and use "all" instead to avoid the config
-	# sanity check (which would throw a fit about our compiler). 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 all ARCH="${my_arch}" \
-		COMP=$(tc-getCXX) \
-		COMPILER=$(tc-getCXX) \
-		debug=$(usex debug "yes" "no") \
-		optimize=$(usex optimize "yes" "no")
-}
-
-src_install() {
-	dobin "${PN}"
-	dodoc ../AUTHORS ../Readme.md
-}


^ permalink raw reply related	[flat|nested] 40+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: games-board/stockfish/
@ 2020-02-28  2:00 Matthias Maier
  0 siblings, 0 replies; 40+ messages in thread
From: Matthias Maier @ 2020-02-28  2:00 UTC (permalink / raw
  To: gentoo-commits

commit:     0a7a5cc914d0f6f2cadedc3af23cad8b9bc78e45
Author:     Matthias Maier <tamiko <AT> gentoo <DOT> org>
AuthorDate: Fri Feb 28 02:00:00 2020 +0000
Commit:     Matthias Maier <tamiko <AT> gentoo <DOT> org>
CommitDate: Fri Feb 28 02:00:00 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0a7a5cc9

games-board/stockfish: use tar.gz instead of zip

Package-Manager: Portage-2.3.89, Repoman-2.3.20
Signed-off-by: Matthias Maier <tamiko <AT> gentoo.org>

 games-board/stockfish/Manifest            | 2 +-
 games-board/stockfish/stockfish-11.ebuild | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/games-board/stockfish/Manifest b/games-board/stockfish/Manifest
index b76b0028dbd..a2208e61ea3 100644
--- a/games-board/stockfish/Manifest
+++ b/games-board/stockfish/Manifest
@@ -1,2 +1,2 @@
 DIST stockfish-10-src.zip 174377 BLAKE2B 58142b16f59f15773c8811d6e10588dbc680c94cd504d26f4ca285dbe632d845ede06571e501a4e2b77adbb9b00d91978236ff179a46a73dc9a03cfa1ae3490c SHA512 959c4f3c497ba3108884dabc38de824f11781ae57b4ab5fdf25daf9a7fc0326e663adb1c081b8c8d57a7bf5f2e941369502a50a0c93135a001c6bd1af360d0f8
-DIST stockfish-11.zip 179371 BLAKE2B c58839e8c8f8b9424f93555316c9cddccc8dec8cc29dde52bfd73af0d6c727b3a94eea07db08ebc88b97986b814a3a53e22726cdece0fbdbb54a131cec591d64 SHA512 5291a8200172d37f5a94711aeeb65b11d7a9b9ccc366182c4c6a8b454dd4fad72bf19d1494fe091cb71502288f81ec3c7d0fa16b815af7fc76b2894cb26dc8f4
+DIST stockfish-11.tar.gz 145868 BLAKE2B a4b7b523492cb37206f475cc6d7c512be2a626836e15e0cb0e98d43bf1737e569a6be5f2e87c7633c0802b44863130e7bfe47e49e99ec05015f150ff1baa9755 SHA512 3e6035d422d04a47c9fba61f3815f2be645c6c5cc8c57cc6b17f8f1f2a30651da9c51bafc19b17d4a843be1900b00c5b90e3d6fdd2c6ced45be7510feeb3559a

diff --git a/games-board/stockfish/stockfish-11.ebuild b/games-board/stockfish/stockfish-11.ebuild
index c0198fa586c..1b453a18755 100644
--- a/games-board/stockfish/stockfish-11.ebuild
+++ b/games-board/stockfish/stockfish-11.ebuild
@@ -8,7 +8,7 @@ inherit toolchain-funcs
 DESCRIPTION="Free UCI chess engine, claimed to be the strongest in the world"
 HOMEPAGE="https://stockfishchess.org/"
 
-SRC_URI="https://github.com/official-stockfish/Stockfish/archive/sf_${PV}.zip -> ${P}.zip"
+SRC_URI="https://github.com/official-stockfish/Stockfish/archive/sf_${PV}.tar.gz -> ${P}.tar.gz"
 LICENSE="GPL-3"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"


^ permalink raw reply related	[flat|nested] 40+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: games-board/stockfish/
@ 2021-03-01  0:40 Matthias Maier
  0 siblings, 0 replies; 40+ messages in thread
From: Matthias Maier @ 2021-03-01  0:40 UTC (permalink / raw
  To: gentoo-commits

commit:     3cc1d89d5b5aa267a6786f85d652187c915fae09
Author:     Matthias Maier <tamiko <AT> gentoo <DOT> org>
AuthorDate: Mon Mar  1 00:38:03 2021 +0000
Commit:     Matthias Maier <tamiko <AT> gentoo <DOT> org>
CommitDate: Mon Mar  1 00:39:42 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3cc1d89d

games-board/stockfish: drop broken

Package-Manager: Portage-3.0.14, Repoman-3.0.2
Signed-off-by: Matthias Maier <tamiko <AT> gentoo.org>

 games-board/stockfish/Manifest            |  1 -
 games-board/stockfish/stockfish-11.ebuild | 69 -------------------------------
 2 files changed, 70 deletions(-)

diff --git a/games-board/stockfish/Manifest b/games-board/stockfish/Manifest
index fd543cd52cb..52bdaa5c7f9 100644
--- a/games-board/stockfish/Manifest
+++ b/games-board/stockfish/Manifest
@@ -1,4 +1,3 @@
 DIST stockfish-10-src.zip 174377 BLAKE2B 58142b16f59f15773c8811d6e10588dbc680c94cd504d26f4ca285dbe632d845ede06571e501a4e2b77adbb9b00d91978236ff179a46a73dc9a03cfa1ae3490c SHA512 959c4f3c497ba3108884dabc38de824f11781ae57b4ab5fdf25daf9a7fc0326e663adb1c081b8c8d57a7bf5f2e941369502a50a0c93135a001c6bd1af360d0f8
-DIST stockfish-11.tar.gz 145868 BLAKE2B a4b7b523492cb37206f475cc6d7c512be2a626836e15e0cb0e98d43bf1737e569a6be5f2e87c7633c0802b44863130e7bfe47e49e99ec05015f150ff1baa9755 SHA512 3e6035d422d04a47c9fba61f3815f2be645c6c5cc8c57cc6b17f8f1f2a30651da9c51bafc19b17d4a843be1900b00c5b90e3d6fdd2c6ced45be7510feeb3559a
 DIST stockfish-13-nn-62ef826d1a6d.nnue 21022697 BLAKE2B 013396fec72e14dfb90ca308bdcbaf98f27b29feb03cb2c855f521dc33d0787de51812cb2a52e4aa94622120fc89a5f2302fd6296a4fb1db33e0de57156a41c3 SHA512 25a0a1b5c440fcfaa8ee122391fbb075e4b4e6bdacae816a2897bb346c0d5c459ae464fc7680414e87eadf2a5a00565d4f3ac2c559fea4bdddd1e4a38874fba7
 DIST stockfish-13.tar.gz 181226 BLAKE2B ab6f2afccce2b4767c69d07c18aa611cb71388aae9b27e8a6c95b61db4a27c18b0e7a21aa30e10b4b56d018c1a4146dcea4896c4d68d7a9f297fa0758739ce9c SHA512 5ee6581b8324ed32f02ed0f1ea5df311635203e5f1806d00f9819ad076ef4082481f8ecebbb531154cbb120bb2b396c738c3ef2e2e6ee0fd6a5bd6ff88192706

diff --git a/games-board/stockfish/stockfish-11.ebuild b/games-board/stockfish/stockfish-11.ebuild
deleted file mode 100644
index 1b453a18755..00000000000
--- a/games-board/stockfish/stockfish-11.ebuild
+++ /dev/null
@@ -1,69 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit toolchain-funcs
-
-DESCRIPTION="Free UCI chess engine, claimed to be the strongest in the world"
-HOMEPAGE="https://stockfishchess.org/"
-
-SRC_URI="https://github.com/official-stockfish/Stockfish/archive/sf_${PV}.tar.gz -> ${P}.tar.gz"
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="cpu_flags_arm_v7 cpu_flags_x86_avx2 cpu_flags_x86_popcnt cpu_flags_x86_sse debug
-	general-32 general-64 +optimize"
-
-DEPEND="|| ( app-arch/unzip app-arch/zip )"
-RDEPEND=""
-
-S="${WORKDIR}/Stockfish-sf_${PV}/src"
-
-src_prepare() {
-	default
-
-	# prevent pre-stripping
-	sed -e 's:-strip $(BINDIR)/$(EXE)::' -i Makefile \
-		|| die 'failed to disable stripping in the Makefile'
-}
-
-src_compile() {
-	local my_arch
-
-	# generic unoptimized first
-	use general-32 && my_arch=general-32
-	use general-64 && my_arch=general-64
-
-	# x86
-	use x86 && my_arch=x86-32-old
-	use cpu_flags_x86_sse && my_arch=x86-32
-
-	# amd64
-	use amd64 && my_arch=x86-64
-	use cpu_flags_x86_popcnt && my_arch=x86-64-modern
-
-	# both bmi2 and avx2 are part of hni (haswell new instructions)
-	use cpu_flags_x86_avx2 && my_arch=x86-64-bmi2
-
-	# other architectures
-	use cpu_flags_arm_v7 && my_arch=armv7
-	use ppc && my_arch=ppc
-	use ppc64 && my_arch=ppc64
-
-	# Skip the "build" target and use "all" instead to avoid the config
-	# sanity check (which would throw a fit about our compiler). 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 all ARCH="${my_arch}" \
-		COMP=$(tc-getCXX) \
-		COMPILER=$(tc-getCXX) \
-		debug=$(usex debug "yes" "no") \
-		optimize=$(usex optimize "yes" "no")
-}
-
-src_install() {
-	dobin "${PN}"
-	dodoc ../AUTHORS ../Readme.md
-}


^ permalink raw reply related	[flat|nested] 40+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: games-board/stockfish/
@ 2021-03-01  0:40 Matthias Maier
  0 siblings, 0 replies; 40+ messages in thread
From: Matthias Maier @ 2021-03-01  0:40 UTC (permalink / raw
  To: gentoo-commits

commit:     a96f677672fd4ad4c20e272c0212182a329ef325
Author:     Matthias Maier <tamiko <AT> gentoo <DOT> org>
AuthorDate: Mon Mar  1 00:36:57 2021 +0000
Commit:     Matthias Maier <tamiko <AT> gentoo <DOT> org>
CommitDate: Mon Mar  1 00:39:38 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a96f6776

games-board/stockfish: version bump to 13

Closes: https://bugs.gentoo.org/729236
Package-Manager: Portage-3.0.14, Repoman-3.0.2
Signed-off-by: Matthias Maier <tamiko <AT> gentoo.org>

 games-board/stockfish/Manifest            |  2 +
 games-board/stockfish/stockfish-13.ebuild | 74 +++++++++++++++++++++++++++++++
 2 files changed, 76 insertions(+)

diff --git a/games-board/stockfish/Manifest b/games-board/stockfish/Manifest
index a2208e61ea3..fd543cd52cb 100644
--- a/games-board/stockfish/Manifest
+++ b/games-board/stockfish/Manifest
@@ -1,2 +1,4 @@
 DIST stockfish-10-src.zip 174377 BLAKE2B 58142b16f59f15773c8811d6e10588dbc680c94cd504d26f4ca285dbe632d845ede06571e501a4e2b77adbb9b00d91978236ff179a46a73dc9a03cfa1ae3490c SHA512 959c4f3c497ba3108884dabc38de824f11781ae57b4ab5fdf25daf9a7fc0326e663adb1c081b8c8d57a7bf5f2e941369502a50a0c93135a001c6bd1af360d0f8
 DIST stockfish-11.tar.gz 145868 BLAKE2B a4b7b523492cb37206f475cc6d7c512be2a626836e15e0cb0e98d43bf1737e569a6be5f2e87c7633c0802b44863130e7bfe47e49e99ec05015f150ff1baa9755 SHA512 3e6035d422d04a47c9fba61f3815f2be645c6c5cc8c57cc6b17f8f1f2a30651da9c51bafc19b17d4a843be1900b00c5b90e3d6fdd2c6ced45be7510feeb3559a
+DIST stockfish-13-nn-62ef826d1a6d.nnue 21022697 BLAKE2B 013396fec72e14dfb90ca308bdcbaf98f27b29feb03cb2c855f521dc33d0787de51812cb2a52e4aa94622120fc89a5f2302fd6296a4fb1db33e0de57156a41c3 SHA512 25a0a1b5c440fcfaa8ee122391fbb075e4b4e6bdacae816a2897bb346c0d5c459ae464fc7680414e87eadf2a5a00565d4f3ac2c559fea4bdddd1e4a38874fba7
+DIST stockfish-13.tar.gz 181226 BLAKE2B ab6f2afccce2b4767c69d07c18aa611cb71388aae9b27e8a6c95b61db4a27c18b0e7a21aa30e10b4b56d018c1a4146dcea4896c4d68d7a9f297fa0758739ce9c SHA512 5ee6581b8324ed32f02ed0f1ea5df311635203e5f1806d00f9819ad076ef4082481f8ecebbb531154cbb120bb2b396c738c3ef2e2e6ee0fd6a5bd6ff88192706

diff --git a/games-board/stockfish/stockfish-13.ebuild b/games-board/stockfish/stockfish-13.ebuild
new file mode 100644
index 00000000000..c473fbc9e6f
--- /dev/null
+++ b/games-board/stockfish/stockfish-13.ebuild
@@ -0,0 +1,74 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit toolchain-funcs
+
+DESCRIPTION="Free UCI chess engine, claimed to be the strongest in the world"
+HOMEPAGE="https://stockfishchess.org/"
+
+NNUE_FILE="nn-62ef826d1a6d.nnue"
+
+SRC_URI="https://github.com/official-stockfish/Stockfish/archive/sf_${PV}.tar.gz -> ${P}.tar.gz
+	https://tests.stockfishchess.org/api/nn/${NNUE_FILE} -> ${P}-${NNUE_FILE}"
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="cpu_flags_arm_v7 cpu_flags_x86_avx2 cpu_flags_x86_popcnt cpu_flags_x86_sse debug
+	general-32 general-64 +optimize"
+
+DEPEND="|| ( app-arch/unzip app-arch/zip )"
+RDEPEND=""
+
+S="${WORKDIR}/Stockfish-sf_${PV}/src"
+
+src_prepare() {
+	default
+
+	cp "${DISTDIR}"/${P}-${NNUE_FILE} ${NNUE_FILE} || die "copying the nnue file failed"
+
+	# prevent pre-stripping
+	sed -e 's:-strip $(BINDIR)/$(EXE)::' -i Makefile \
+		|| die 'failed to disable stripping in the Makefile'
+}
+
+src_compile() {
+	local my_arch
+
+	# generic unoptimized first
+	use general-32 && my_arch=general-32
+	use general-64 && my_arch=general-64
+
+	# x86
+	use x86 && my_arch=x86-32-old
+	use cpu_flags_x86_sse && my_arch=x86-32
+
+	# amd64
+	use amd64 && my_arch=x86-64
+	use cpu_flags_x86_popcnt && my_arch=x86-64-modern
+
+	# both bmi2 and avx2 are part of hni (haswell new instructions)
+	use cpu_flags_x86_avx2 && my_arch=x86-64-bmi2
+
+	# other architectures
+	use cpu_flags_arm_v7 && my_arch=armv7
+	use ppc && my_arch=ppc
+	use ppc64 && my_arch=ppc64
+
+	# Skip the "build" target and use "all" instead to avoid the config
+	# sanity check (which would throw a fit about our compiler). 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 all ARCH="${my_arch}" \
+		COMP=$(tc-getCXX) \
+		COMPILER=$(tc-getCXX) \
+		debug=$(usex debug "yes" "no") \
+		optimize=$(usex optimize "yes" "no")
+}
+
+src_install() {
+	dobin "${PN}"
+	dodoc ../AUTHORS ../README.md
+}


^ permalink raw reply related	[flat|nested] 40+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: games-board/stockfish/
@ 2021-05-17  7:47 Agostino Sarubbo
  0 siblings, 0 replies; 40+ messages in thread
From: Agostino Sarubbo @ 2021-05-17  7:47 UTC (permalink / raw
  To: gentoo-commits

commit:     e9892c0aa7ecac190754c90db719e50776fd5362
Author:     Agostino Sarubbo <ago <AT> gentoo <DOT> org>
AuthorDate: Mon May 17 07:47:02 2021 +0000
Commit:     Agostino Sarubbo <ago <AT> gentoo <DOT> org>
CommitDate: Mon May 17 07:47:02 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e9892c0a

games-board/stockfish: amd64 stable wrt bug #790623

Package-Manager: Portage-3.0.13, Repoman-3.0.2
RepoMan-Options: --include-arches="amd64"
Signed-off-by: Agostino Sarubbo <ago <AT> gentoo.org>

 games-board/stockfish/stockfish-13.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/games-board/stockfish/stockfish-13.ebuild b/games-board/stockfish/stockfish-13.ebuild
index c473fbc9e6f..baee61eac60 100644
--- a/games-board/stockfish/stockfish-13.ebuild
+++ b/games-board/stockfish/stockfish-13.ebuild
@@ -14,7 +14,7 @@ SRC_URI="https://github.com/official-stockfish/Stockfish/archive/sf_${PV}.tar.gz
 	https://tests.stockfishchess.org/api/nn/${NNUE_FILE} -> ${P}-${NNUE_FILE}"
 LICENSE="GPL-3"
 SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="amd64 ~x86"
 IUSE="cpu_flags_arm_v7 cpu_flags_x86_avx2 cpu_flags_x86_popcnt cpu_flags_x86_sse debug
 	general-32 general-64 +optimize"
 


^ permalink raw reply related	[flat|nested] 40+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: games-board/stockfish/
@ 2021-05-17  7:49 Agostino Sarubbo
  0 siblings, 0 replies; 40+ messages in thread
From: Agostino Sarubbo @ 2021-05-17  7:49 UTC (permalink / raw
  To: gentoo-commits

commit:     edbd5d13f41e97d79128e657c6c1823b7de96808
Author:     Agostino Sarubbo <ago <AT> gentoo <DOT> org>
AuthorDate: Mon May 17 07:47:44 2021 +0000
Commit:     Agostino Sarubbo <ago <AT> gentoo <DOT> org>
CommitDate: Mon May 17 07:49:01 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=edbd5d13

games-board/stockfish: x86 stable wrt bug #790623

Package-Manager: Portage-3.0.13, Repoman-3.0.2
RepoMan-Options: --include-arches="x86"
Signed-off-by: Agostino Sarubbo <ago <AT> gentoo.org>

 games-board/stockfish/stockfish-13.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/games-board/stockfish/stockfish-13.ebuild b/games-board/stockfish/stockfish-13.ebuild
index baee61eac60..69d38bbeee9 100644
--- a/games-board/stockfish/stockfish-13.ebuild
+++ b/games-board/stockfish/stockfish-13.ebuild
@@ -14,7 +14,7 @@ SRC_URI="https://github.com/official-stockfish/Stockfish/archive/sf_${PV}.tar.gz
 	https://tests.stockfishchess.org/api/nn/${NNUE_FILE} -> ${P}-${NNUE_FILE}"
 LICENSE="GPL-3"
 SLOT="0"
-KEYWORDS="amd64 ~x86"
+KEYWORDS="amd64 x86"
 IUSE="cpu_flags_arm_v7 cpu_flags_x86_avx2 cpu_flags_x86_popcnt cpu_flags_x86_sse debug
 	general-32 general-64 +optimize"
 


^ permalink raw reply related	[flat|nested] 40+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: games-board/stockfish/
@ 2021-07-03 19:06 罗百科
  0 siblings, 0 replies; 40+ messages in thread
From: 罗百科 @ 2021-07-03 19:06 UTC (permalink / raw
  To: gentoo-commits

commit:     ad36939141dae40edbcce598c27b0b0cf8da23a6
Author:     Patrick Lauer <patrick <AT> gentoo <DOT> org>
AuthorDate: Sat Jul  3 19:06:23 2021 +0000
Commit:     罗百科 <patrick <AT> gentoo <DOT> org>
CommitDate: Sat Jul  3 19:06:41 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ad369391

games-board/stockfish: Bump to 14

Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Patrick Lauer <patrick <AT> gentoo.org>

 games-board/stockfish/Manifest            |  2 +
 games-board/stockfish/stockfish-14.ebuild | 74 +++++++++++++++++++++++++++++++
 2 files changed, 76 insertions(+)

diff --git a/games-board/stockfish/Manifest b/games-board/stockfish/Manifest
index 52bdaa5c7f9..994f8aa25d8 100644
--- a/games-board/stockfish/Manifest
+++ b/games-board/stockfish/Manifest
@@ -1,3 +1,5 @@
 DIST stockfish-10-src.zip 174377 BLAKE2B 58142b16f59f15773c8811d6e10588dbc680c94cd504d26f4ca285dbe632d845ede06571e501a4e2b77adbb9b00d91978236ff179a46a73dc9a03cfa1ae3490c SHA512 959c4f3c497ba3108884dabc38de824f11781ae57b4ab5fdf25daf9a7fc0326e663adb1c081b8c8d57a7bf5f2e941369502a50a0c93135a001c6bd1af360d0f8
 DIST stockfish-13-nn-62ef826d1a6d.nnue 21022697 BLAKE2B 013396fec72e14dfb90ca308bdcbaf98f27b29feb03cb2c855f521dc33d0787de51812cb2a52e4aa94622120fc89a5f2302fd6296a4fb1db33e0de57156a41c3 SHA512 25a0a1b5c440fcfaa8ee122391fbb075e4b4e6bdacae816a2897bb346c0d5c459ae464fc7680414e87eadf2a5a00565d4f3ac2c559fea4bdddd1e4a38874fba7
 DIST stockfish-13.tar.gz 181226 BLAKE2B ab6f2afccce2b4767c69d07c18aa611cb71388aae9b27e8a6c95b61db4a27c18b0e7a21aa30e10b4b56d018c1a4146dcea4896c4d68d7a9f297fa0758739ce9c SHA512 5ee6581b8324ed32f02ed0f1ea5df311635203e5f1806d00f9819ad076ef4082481f8ecebbb531154cbb120bb2b396c738c3ef2e2e6ee0fd6a5bd6ff88192706
+DIST stockfish-14-nn-3475407dc199.nnue 47721371 BLAKE2B e0d21fb2c282bb6c07a027474ba4c55d4ba993bd7e203a13eda034266c0d7004b9d7a5f6e68ce3209e0e9c71f52692a5e5124d93d10f2dd2ed034be389901023 SHA512 11774bd70a38a9df2b314ab19631a45139a75fcd7cf81fcc3bf5568505292d3f66bad4a2d5eff7f51e2f091995cc76107c6fb43fcfd6e0f8a6ee3ff6e59d72ab
+DIST stockfish-14.tar.gz 183879 BLAKE2B fd2fbcd37f90baf6b81432ebee7aa5b949c05253e04ec361fa502687de597e90aa6c85a90a5fd1baea52da423264d8e14853303564c3bc6f37bc98de890c5d3c SHA512 90025c0559d09f950732c051362711bed7f22e5495daeadf1ac8d7b1be9ede7e9aff80ca8755fccd95bdb48e2b2ea4b4355e02cd9112ac8e5eec457774289f34

diff --git a/games-board/stockfish/stockfish-14.ebuild b/games-board/stockfish/stockfish-14.ebuild
new file mode 100644
index 00000000000..b363cf44903
--- /dev/null
+++ b/games-board/stockfish/stockfish-14.ebuild
@@ -0,0 +1,74 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit toolchain-funcs
+
+DESCRIPTION="Free UCI chess engine, claimed to be the strongest in the world"
+HOMEPAGE="https://stockfishchess.org/"
+
+NNUE_FILE="nn-3475407dc199.nnue"
+
+SRC_URI="https://github.com/official-stockfish/Stockfish/archive/sf_${PV}.tar.gz -> ${P}.tar.gz
+	https://tests.stockfishchess.org/api/nn/${NNUE_FILE} -> ${P}-${NNUE_FILE}"
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="cpu_flags_arm_v7 cpu_flags_x86_avx2 cpu_flags_x86_popcnt cpu_flags_x86_sse debug
+	general-32 general-64 +optimize"
+
+DEPEND="|| ( app-arch/unzip app-arch/zip )"
+RDEPEND=""
+
+S="${WORKDIR}/Stockfish-sf_${PV}/src"
+
+src_prepare() {
+	default
+
+	cp "${DISTDIR}"/${P}-${NNUE_FILE} ${NNUE_FILE} || die "copying the nnue file failed"
+
+	# prevent pre-stripping
+	sed -e 's:-strip $(BINDIR)/$(EXE)::' -i Makefile \
+		|| die 'failed to disable stripping in the Makefile'
+}
+
+src_compile() {
+	local my_arch
+
+	# generic unoptimized first
+	use general-32 && my_arch=general-32
+	use general-64 && my_arch=general-64
+
+	# x86
+	use x86 && my_arch=x86-32-old
+	use cpu_flags_x86_sse && my_arch=x86-32
+
+	# amd64
+	use amd64 && my_arch=x86-64
+	use cpu_flags_x86_popcnt && my_arch=x86-64-modern
+
+	# both bmi2 and avx2 are part of hni (haswell new instructions)
+	use cpu_flags_x86_avx2 && my_arch=x86-64-bmi2
+
+	# other architectures
+	use cpu_flags_arm_v7 && my_arch=armv7
+	use ppc && my_arch=ppc
+	use ppc64 && my_arch=ppc64
+
+	# Skip the "build" target and use "all" instead to avoid the config
+	# sanity check (which would throw a fit about our compiler). 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 all ARCH="${my_arch}" \
+		COMP=$(tc-getCXX) \
+		COMPILER=$(tc-getCXX) \
+		debug=$(usex debug "yes" "no") \
+		optimize=$(usex optimize "yes" "no")
+}
+
+src_install() {
+	dobin "${PN}"
+	dodoc ../AUTHORS ../README.md
+}


^ permalink raw reply related	[flat|nested] 40+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: games-board/stockfish/
@ 2021-10-30  7:11 罗百科
  0 siblings, 0 replies; 40+ messages in thread
From: 罗百科 @ 2021-10-30  7:11 UTC (permalink / raw
  To: gentoo-commits

commit:     03a4478f36abe2bfc5d0450a25e69a18ea72dea2
Author:     Patrick Lauer <patrick <AT> gentoo <DOT> org>
AuthorDate: Sat Oct 30 07:11:01 2021 +0000
Commit:     罗百科 <patrick <AT> gentoo <DOT> org>
CommitDate: Sat Oct 30 07:11:11 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=03a4478f

games-board/stockfish: Bump to 14.1

Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Patrick Lauer <patrick <AT> gentoo.org>

 games-board/stockfish/Manifest              |  2 +
 games-board/stockfish/stockfish-14.1.ebuild | 74 +++++++++++++++++++++++++++++
 2 files changed, 76 insertions(+)

diff --git a/games-board/stockfish/Manifest b/games-board/stockfish/Manifest
index 994f8aa25d8..84766990634 100644
--- a/games-board/stockfish/Manifest
+++ b/games-board/stockfish/Manifest
@@ -2,4 +2,6 @@ DIST stockfish-10-src.zip 174377 BLAKE2B 58142b16f59f15773c8811d6e10588dbc680c94
 DIST stockfish-13-nn-62ef826d1a6d.nnue 21022697 BLAKE2B 013396fec72e14dfb90ca308bdcbaf98f27b29feb03cb2c855f521dc33d0787de51812cb2a52e4aa94622120fc89a5f2302fd6296a4fb1db33e0de57156a41c3 SHA512 25a0a1b5c440fcfaa8ee122391fbb075e4b4e6bdacae816a2897bb346c0d5c459ae464fc7680414e87eadf2a5a00565d4f3ac2c559fea4bdddd1e4a38874fba7
 DIST stockfish-13.tar.gz 181226 BLAKE2B ab6f2afccce2b4767c69d07c18aa611cb71388aae9b27e8a6c95b61db4a27c18b0e7a21aa30e10b4b56d018c1a4146dcea4896c4d68d7a9f297fa0758739ce9c SHA512 5ee6581b8324ed32f02ed0f1ea5df311635203e5f1806d00f9819ad076ef4082481f8ecebbb531154cbb120bb2b396c738c3ef2e2e6ee0fd6a5bd6ff88192706
 DIST stockfish-14-nn-3475407dc199.nnue 47721371 BLAKE2B e0d21fb2c282bb6c07a027474ba4c55d4ba993bd7e203a13eda034266c0d7004b9d7a5f6e68ce3209e0e9c71f52692a5e5124d93d10f2dd2ed034be389901023 SHA512 11774bd70a38a9df2b314ab19631a45139a75fcd7cf81fcc3bf5568505292d3f66bad4a2d5eff7f51e2f091995cc76107c6fb43fcfd6e0f8a6ee3ff6e59d72ab
+DIST stockfish-14.1-nn-13406b1dcbe0.nnue 47001243 BLAKE2B ef7deeeac9d4fb03e70695978b57d5f5e0861d4e1b5af4f6c5decade689a81f238553f87fbc06741c931dea6b5b672bd585df61f5960378e67fe3aa25b74b709 SHA512 89b1242262d10aba9de168d5fdcaf70b36f9ad84d79eca7245591174c679473d60251b30d8a05100967fd5bf0e8e59632749d6d77f2bbdce0a3f77b8d15dd5cc
+DIST stockfish-14.1.tar.gz 187792 BLAKE2B 84ed9da634a1e52579d0aa1ef356cd31a350ecafc44ebc632080b1c6c2c01d7a2cab8d7ab44065abd140b74e65bdcea8e3cc0a5e5c5daca8060303798df90c6f SHA512 b45ec44ba88a22e528a9ae417135851ace75006d0295eb77ab92dd1dc08f3c445a50047b1f2a4a7ab73773b2ce07bd98b601e40c6f75a63586c565cec5e33039
 DIST stockfish-14.tar.gz 183879 BLAKE2B fd2fbcd37f90baf6b81432ebee7aa5b949c05253e04ec361fa502687de597e90aa6c85a90a5fd1baea52da423264d8e14853303564c3bc6f37bc98de890c5d3c SHA512 90025c0559d09f950732c051362711bed7f22e5495daeadf1ac8d7b1be9ede7e9aff80ca8755fccd95bdb48e2b2ea4b4355e02cd9112ac8e5eec457774289f34

diff --git a/games-board/stockfish/stockfish-14.1.ebuild b/games-board/stockfish/stockfish-14.1.ebuild
new file mode 100644
index 00000000000..95f30e5ff4b
--- /dev/null
+++ b/games-board/stockfish/stockfish-14.1.ebuild
@@ -0,0 +1,74 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit toolchain-funcs
+
+DESCRIPTION="Free UCI chess engine, claimed to be the strongest in the world"
+HOMEPAGE="https://stockfishchess.org/"
+
+NNUE_FILE="nn-13406b1dcbe0.nnue"
+
+SRC_URI="https://github.com/official-stockfish/Stockfish/archive/sf_${PV}.tar.gz -> ${P}.tar.gz
+	https://tests.stockfishchess.org/api/nn/${NNUE_FILE} -> ${P}-${NNUE_FILE}"
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~riscv ~x86"
+IUSE="cpu_flags_arm_v7 cpu_flags_x86_avx2 cpu_flags_x86_popcnt cpu_flags_x86_sse debug
+	general-32 general-64 +optimize"
+
+DEPEND="|| ( app-arch/unzip app-arch/zip )"
+RDEPEND=""
+
+S="${WORKDIR}/Stockfish-sf_${PV}/src"
+
+src_prepare() {
+	default
+
+	cp "${DISTDIR}"/${P}-${NNUE_FILE} ${NNUE_FILE} || die "copying the nnue file failed"
+
+	# prevent pre-stripping
+	sed -e 's:-strip $(BINDIR)/$(EXE)::' -i Makefile \
+		|| die 'failed to disable stripping in the Makefile'
+}
+
+src_compile() {
+	local my_arch
+
+	# generic unoptimized first
+	use general-32 && my_arch=general-32
+	use general-64 && my_arch=general-64
+
+	# x86
+	use x86 && my_arch=x86-32-old
+	use cpu_flags_x86_sse && my_arch=x86-32
+
+	# amd64
+	use amd64 && my_arch=x86-64
+	use cpu_flags_x86_popcnt && my_arch=x86-64-modern
+
+	# both bmi2 and avx2 are part of hni (haswell new instructions)
+	use cpu_flags_x86_avx2 && my_arch=x86-64-bmi2
+
+	# other architectures
+	use cpu_flags_arm_v7 && my_arch=armv7
+	use ppc && my_arch=ppc
+	use ppc64 && my_arch=ppc64
+
+	# Skip the "build" target and use "all" instead to avoid the config
+	# sanity check (which would throw a fit about our compiler). 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 all ARCH="${my_arch}" \
+		COMP=$(tc-getCXX) \
+		COMPILER=$(tc-getCXX) \
+		debug=$(usex debug "yes" "no") \
+		optimize=$(usex optimize "yes" "no")
+}
+
+src_install() {
+	dobin "${PN}"
+	dodoc ../AUTHORS ../README.md
+}


^ permalink raw reply related	[flat|nested] 40+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: games-board/stockfish/
@ 2022-03-20  0:26 Sam James
  0 siblings, 0 replies; 40+ messages in thread
From: Sam James @ 2022-03-20  0:26 UTC (permalink / raw
  To: gentoo-commits

commit:     9c2a341fbbc3fa0f15b48c0c49b4fed99e10ad71
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Mar 20 00:25:13 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Mar 20 00:25:13 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9c2a341f

games-board/stockfish: [QA] fix tc-get* quoting

This can cause build problems for e.g. 32-bit (gcc -m32 ...)

Signed-off-by: Sam James <sam <AT> gentoo.org>

 games-board/stockfish/stockfish-10.ebuild   | 6 +++---
 games-board/stockfish/stockfish-13.ebuild   | 6 +++---
 games-board/stockfish/stockfish-14.1.ebuild | 6 +++---
 games-board/stockfish/stockfish-14.ebuild   | 6 +++---
 4 files changed, 12 insertions(+), 12 deletions(-)

diff --git a/games-board/stockfish/stockfish-10.ebuild b/games-board/stockfish/stockfish-10.ebuild
index 5974776f35e1..f8c2aa054feb 100644
--- a/games-board/stockfish/stockfish-10.ebuild
+++ b/games-board/stockfish/stockfish-10.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -57,8 +57,8 @@ src_compile() {
 	# COMPILER to support Travis CI and we abuse it to make sure that we
 	# build with our compiler of choice.
 	emake all ARCH="${my_arch}" \
-		COMP=$(tc-getCXX) \
-		COMPILER=$(tc-getCXX) \
+		COMP="$(tc-getCXX)" \
+		COMPILER="$(tc-getCXX)" \
 		debug=$(usex debug "yes" "no") \
 		optimize=$(usex optimize "yes" "no")
 }

diff --git a/games-board/stockfish/stockfish-13.ebuild b/games-board/stockfish/stockfish-13.ebuild
index 69d38bbeee91..7e9dda906792 100644
--- a/games-board/stockfish/stockfish-13.ebuild
+++ b/games-board/stockfish/stockfish-13.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -62,8 +62,8 @@ src_compile() {
 	# COMPILER to support Travis CI and we abuse it to make sure that we
 	# build with our compiler of choice.
 	emake all ARCH="${my_arch}" \
-		COMP=$(tc-getCXX) \
-		COMPILER=$(tc-getCXX) \
+		COMP="$(tc-getCXX)" \
+		COMPILER="$(tc-getCXX)" \
 		debug=$(usex debug "yes" "no") \
 		optimize=$(usex optimize "yes" "no")
 }

diff --git a/games-board/stockfish/stockfish-14.1.ebuild b/games-board/stockfish/stockfish-14.1.ebuild
index 95f30e5ff4b6..2ccc74178557 100644
--- a/games-board/stockfish/stockfish-14.1.ebuild
+++ b/games-board/stockfish/stockfish-14.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -62,8 +62,8 @@ src_compile() {
 	# COMPILER to support Travis CI and we abuse it to make sure that we
 	# build with our compiler of choice.
 	emake all ARCH="${my_arch}" \
-		COMP=$(tc-getCXX) \
-		COMPILER=$(tc-getCXX) \
+		COMP="$(tc-getCXX)" \
+		COMPILER="$(tc-getCXX)" \
 		debug=$(usex debug "yes" "no") \
 		optimize=$(usex optimize "yes" "no")
 }

diff --git a/games-board/stockfish/stockfish-14.ebuild b/games-board/stockfish/stockfish-14.ebuild
index 4fb8113d9839..dd2f85f84bc6 100644
--- a/games-board/stockfish/stockfish-14.ebuild
+++ b/games-board/stockfish/stockfish-14.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -62,8 +62,8 @@ src_compile() {
 	# COMPILER to support Travis CI and we abuse it to make sure that we
 	# build with our compiler of choice.
 	emake all ARCH="${my_arch}" \
-		COMP=$(tc-getCXX) \
-		COMPILER=$(tc-getCXX) \
+		COMP="$(tc-getCXX)" \
+		COMPILER="$(tc-getCXX)" \
 		debug=$(usex debug "yes" "no") \
 		optimize=$(usex optimize "yes" "no")
 }


^ permalink raw reply related	[flat|nested] 40+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: games-board/stockfish/
@ 2022-04-20  8:02 罗百科
  0 siblings, 0 replies; 40+ messages in thread
From: 罗百科 @ 2022-04-20  8:02 UTC (permalink / raw
  To: gentoo-commits

commit:     7fb90707f9879732ece1a9831980f62b960999ee
Author:     Patrick Lauer <patrick <AT> gentoo <DOT> org>
AuthorDate: Wed Apr 20 08:01:57 2022 +0000
Commit:     罗百科 <patrick <AT> gentoo <DOT> org>
CommitDate: Wed Apr 20 08:01:57 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7fb90707

games-board/stockfish: Bump to 15

Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Patrick Lauer <patrick <AT> gentoo.org>

 games-board/stockfish/Manifest            |  2 +
 games-board/stockfish/stockfish-15.ebuild | 74 +++++++++++++++++++++++++++++++
 2 files changed, 76 insertions(+)

diff --git a/games-board/stockfish/Manifest b/games-board/stockfish/Manifest
index 847669906340..56a3e17f5a6b 100644
--- a/games-board/stockfish/Manifest
+++ b/games-board/stockfish/Manifest
@@ -5,3 +5,5 @@ DIST stockfish-14-nn-3475407dc199.nnue 47721371 BLAKE2B e0d21fb2c282bb6c07a02747
 DIST stockfish-14.1-nn-13406b1dcbe0.nnue 47001243 BLAKE2B ef7deeeac9d4fb03e70695978b57d5f5e0861d4e1b5af4f6c5decade689a81f238553f87fbc06741c931dea6b5b672bd585df61f5960378e67fe3aa25b74b709 SHA512 89b1242262d10aba9de168d5fdcaf70b36f9ad84d79eca7245591174c679473d60251b30d8a05100967fd5bf0e8e59632749d6d77f2bbdce0a3f77b8d15dd5cc
 DIST stockfish-14.1.tar.gz 187792 BLAKE2B 84ed9da634a1e52579d0aa1ef356cd31a350ecafc44ebc632080b1c6c2c01d7a2cab8d7ab44065abd140b74e65bdcea8e3cc0a5e5c5daca8060303798df90c6f SHA512 b45ec44ba88a22e528a9ae417135851ace75006d0295eb77ab92dd1dc08f3c445a50047b1f2a4a7ab73773b2ce07bd98b601e40c6f75a63586c565cec5e33039
 DIST stockfish-14.tar.gz 183879 BLAKE2B fd2fbcd37f90baf6b81432ebee7aa5b949c05253e04ec361fa502687de597e90aa6c85a90a5fd1baea52da423264d8e14853303564c3bc6f37bc98de890c5d3c SHA512 90025c0559d09f950732c051362711bed7f22e5495daeadf1ac8d7b1be9ede7e9aff80ca8755fccd95bdb48e2b2ea4b4355e02cd9112ac8e5eec457774289f34
+DIST stockfish-15-nn-6877cd24400e.nnue 47001499 BLAKE2B 12d9c250e7fc920aa1c575bdfa280ee648419307d7bb30dbda0e52a7a4b92a15063fba9a00e04c4201602d8778e181f8fff73a2f5a2963f197fb30020fdf78a0 SHA512 456961b01c7b7a852ac23eb9de8aca65204d5d0566868c998eb8918abd9c9eef7f7fb08ac08a7750eaede451859f93a15e92e1a14ecc269268dadb9a7b0eb135
+DIST stockfish-15.tar.gz 189578 BLAKE2B 49af86be2d926ad51021edc119fee260d54fbb37d22d9e0883c382a60d6d0f742b7eee5df296b1dc85552e24269e97c172df70e0a894b328e5bfa92d0614d608 SHA512 d79f713654d5ff0b7f158394c887dce015ef613242e52ef55575c024255da6f6a6bdfe974ff1037599fc99ddfdc2774e37bbc6b8fc88ed0df59590f820a27ffa

diff --git a/games-board/stockfish/stockfish-15.ebuild b/games-board/stockfish/stockfish-15.ebuild
new file mode 100644
index 000000000000..42d1b704aea0
--- /dev/null
+++ b/games-board/stockfish/stockfish-15.ebuild
@@ -0,0 +1,74 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit toolchain-funcs
+
+DESCRIPTION="Free UCI chess engine, claimed to be the strongest in the world"
+HOMEPAGE="https://stockfishchess.org/"
+
+NNUE_FILE="nn-6877cd24400e.nnue"
+
+SRC_URI="https://github.com/official-stockfish/Stockfish/archive/sf_${PV}.tar.gz -> ${P}.tar.gz
+	https://tests.stockfishchess.org/api/nn/${NNUE_FILE} -> ${P}-${NNUE_FILE}"
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~riscv ~x86"
+IUSE="cpu_flags_arm_v7 cpu_flags_x86_avx2 cpu_flags_x86_popcnt cpu_flags_x86_sse debug
+	general-32 general-64 +optimize"
+
+DEPEND="|| ( app-arch/unzip app-arch/zip )"
+RDEPEND=""
+
+S="${WORKDIR}/Stockfish-sf_${PV}/src"
+
+src_prepare() {
+	default
+
+	cp "${DISTDIR}"/${P}-${NNUE_FILE} ${NNUE_FILE} || die "copying the nnue file failed"
+
+	# prevent pre-stripping
+	sed -e 's:-strip $(BINDIR)/$(EXE)::' -i Makefile \
+		|| die 'failed to disable stripping in the Makefile'
+}
+
+src_compile() {
+	local my_arch
+
+	# generic unoptimized first
+	use general-32 && my_arch=general-32
+	use general-64 && my_arch=general-64
+
+	# x86
+	use x86 && my_arch=x86-32-old
+	use cpu_flags_x86_sse && my_arch=x86-32
+
+	# amd64
+	use amd64 && my_arch=x86-64
+	use cpu_flags_x86_popcnt && my_arch=x86-64-modern
+
+	# both bmi2 and avx2 are part of hni (haswell new instructions)
+	use cpu_flags_x86_avx2 && my_arch=x86-64-bmi2
+
+	# other architectures
+	use cpu_flags_arm_v7 && my_arch=armv7
+	use ppc && my_arch=ppc
+	use ppc64 && my_arch=ppc64
+
+	# Skip the "build" target and use "all" instead to avoid the config
+	# sanity check (which would throw a fit about our compiler). 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 all ARCH="${my_arch}" \
+		COMP="$(tc-getCXX)" \
+		COMPILER="$(tc-getCXX)" \
+		debug=$(usex debug "yes" "no") \
+		optimize=$(usex optimize "yes" "no")
+}
+
+src_install() {
+	dobin "${PN}"
+	dodoc ../AUTHORS ../README.md
+}


^ permalink raw reply related	[flat|nested] 40+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: games-board/stockfish/
@ 2022-04-20 16:51 罗百科
  0 siblings, 0 replies; 40+ messages in thread
From: 罗百科 @ 2022-04-20 16:51 UTC (permalink / raw
  To: gentoo-commits

commit:     2545fec8d0ff4095a0911b69eb76fc6391433c0b
Author:     Patrick Lauer <patrick <AT> gentoo <DOT> org>
AuthorDate: Wed Apr 20 16:51:26 2022 +0000
Commit:     罗百科 <patrick <AT> gentoo <DOT> org>
CommitDate: Wed Apr 20 16:51:56 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2545fec8

games-board/stockfish: Switch to 'profile-build' makefile target

Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Patrick Lauer <patrick <AT> gentoo.org>

 .../stockfish/{stockfish-15.ebuild => stockfish-15-r1.ebuild}    | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/games-board/stockfish/stockfish-15.ebuild b/games-board/stockfish/stockfish-15-r1.ebuild
similarity index 88%
rename from games-board/stockfish/stockfish-15.ebuild
rename to games-board/stockfish/stockfish-15-r1.ebuild
index 42d1b704aea0..3bd9252b0553 100644
--- a/games-board/stockfish/stockfish-15.ebuild
+++ b/games-board/stockfish/stockfish-15-r1.ebuild
@@ -26,6 +26,9 @@ S="${WORKDIR}/Stockfish-sf_${PV}/src"
 src_prepare() {
 	default
 
+	# remove config sanity check that doesn't like our COMPILER settings
+	sed -i -e 's/ config-sanity//g' Makefile || die
+
 	cp "${DISTDIR}"/${P}-${NNUE_FILE} ${NNUE_FILE} || die "copying the nnue file failed"
 
 	# prevent pre-stripping
@@ -56,12 +59,10 @@ src_compile() {
 	use ppc && my_arch=ppc
 	use ppc64 && my_arch=ppc64
 
-	# Skip the "build" target and use "all" instead to avoid the config
-	# sanity check (which would throw a fit about our compiler). There's
-	# a nice hack in the Makefile that overrides the value of CXX with
+	# 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 all ARCH="${my_arch}" \
+	emake profile-build ARCH="${my_arch}" \
 		COMP="$(tc-getCXX)" \
 		COMPILER="$(tc-getCXX)" \
 		debug=$(usex debug "yes" "no") \


^ permalink raw reply related	[flat|nested] 40+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: games-board/stockfish/
@ 2022-09-29 19:59 Sam James
  0 siblings, 0 replies; 40+ messages in thread
From: Sam James @ 2022-09-29 19:59 UTC (permalink / raw
  To: gentoo-commits

commit:     b77f42caa20f4c3b5ebbf6a308c86e69fd2bd614
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu Sep 29 19:59:18 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Sep 29 19:59:18 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b77f42ca

games-board/stockfish: Stabilize 15-r1 amd64, #873454

Signed-off-by: Sam James <sam <AT> gentoo.org>

 games-board/stockfish/stockfish-15-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/games-board/stockfish/stockfish-15-r1.ebuild b/games-board/stockfish/stockfish-15-r1.ebuild
index 3bd9252b0553..0f696fbba453 100644
--- a/games-board/stockfish/stockfish-15-r1.ebuild
+++ b/games-board/stockfish/stockfish-15-r1.ebuild
@@ -14,7 +14,7 @@ SRC_URI="https://github.com/official-stockfish/Stockfish/archive/sf_${PV}.tar.gz
 	https://tests.stockfishchess.org/api/nn/${NNUE_FILE} -> ${P}-${NNUE_FILE}"
 LICENSE="GPL-3"
 SLOT="0"
-KEYWORDS="~amd64 ~riscv ~x86"
+KEYWORDS="amd64 ~riscv ~x86"
 IUSE="cpu_flags_arm_v7 cpu_flags_x86_avx2 cpu_flags_x86_popcnt cpu_flags_x86_sse debug
 	general-32 general-64 +optimize"
 


^ permalink raw reply related	[flat|nested] 40+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: games-board/stockfish/
@ 2022-09-30 11:51 Agostino Sarubbo
  0 siblings, 0 replies; 40+ messages in thread
From: Agostino Sarubbo @ 2022-09-30 11:51 UTC (permalink / raw
  To: gentoo-commits

commit:     dc8d330306c7c17ac71218418d48f593088916bc
Author:     Agostino Sarubbo <ago <AT> gentoo <DOT> org>
AuthorDate: Fri Sep 30 11:50:32 2022 +0000
Commit:     Agostino Sarubbo <ago <AT> gentoo <DOT> org>
CommitDate: Fri Sep 30 11:50:32 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dc8d3303

games-board/stockfish: Stabilize 15-r1 x86, #873454

Signed-off-by: Agostino Sarubbo <ago <AT> gentoo.org>

 games-board/stockfish/stockfish-15-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/games-board/stockfish/stockfish-15-r1.ebuild b/games-board/stockfish/stockfish-15-r1.ebuild
index 0f696fbba453..73b2da8cffe6 100644
--- a/games-board/stockfish/stockfish-15-r1.ebuild
+++ b/games-board/stockfish/stockfish-15-r1.ebuild
@@ -14,7 +14,7 @@ SRC_URI="https://github.com/official-stockfish/Stockfish/archive/sf_${PV}.tar.gz
 	https://tests.stockfishchess.org/api/nn/${NNUE_FILE} -> ${P}-${NNUE_FILE}"
 LICENSE="GPL-3"
 SLOT="0"
-KEYWORDS="amd64 ~riscv ~x86"
+KEYWORDS="amd64 ~riscv x86"
 IUSE="cpu_flags_arm_v7 cpu_flags_x86_avx2 cpu_flags_x86_popcnt cpu_flags_x86_sse debug
 	general-32 general-64 +optimize"
 


^ permalink raw reply related	[flat|nested] 40+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: games-board/stockfish/
@ 2022-12-06 16:23 罗百科
  0 siblings, 0 replies; 40+ messages in thread
From: 罗百科 @ 2022-12-06 16:23 UTC (permalink / raw
  To: gentoo-commits

commit:     a1d3777d40e4887d2188b9ee3d5dc209d0774bb0
Author:     Patrick Lauer <patrick <AT> gentoo <DOT> org>
AuthorDate: Tue Dec  6 16:23:22 2022 +0000
Commit:     罗百科 <patrick <AT> gentoo <DOT> org>
CommitDate: Tue Dec  6 16:23:22 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a1d3777d

games-board/stockfish: add 15.1

Signed-off-by: Patrick Lauer <patrick <AT> gentoo.org>

 games-board/stockfish/Manifest              |  2 +
 games-board/stockfish/stockfish-15.1.ebuild | 75 +++++++++++++++++++++++++++++
 2 files changed, 77 insertions(+)

diff --git a/games-board/stockfish/Manifest b/games-board/stockfish/Manifest
index 56a3e17f5a6b..46402e3653e0 100644
--- a/games-board/stockfish/Manifest
+++ b/games-board/stockfish/Manifest
@@ -6,4 +6,6 @@ DIST stockfish-14.1-nn-13406b1dcbe0.nnue 47001243 BLAKE2B ef7deeeac9d4fb03e70695
 DIST stockfish-14.1.tar.gz 187792 BLAKE2B 84ed9da634a1e52579d0aa1ef356cd31a350ecafc44ebc632080b1c6c2c01d7a2cab8d7ab44065abd140b74e65bdcea8e3cc0a5e5c5daca8060303798df90c6f SHA512 b45ec44ba88a22e528a9ae417135851ace75006d0295eb77ab92dd1dc08f3c445a50047b1f2a4a7ab73773b2ce07bd98b601e40c6f75a63586c565cec5e33039
 DIST stockfish-14.tar.gz 183879 BLAKE2B fd2fbcd37f90baf6b81432ebee7aa5b949c05253e04ec361fa502687de597e90aa6c85a90a5fd1baea52da423264d8e14853303564c3bc6f37bc98de890c5d3c SHA512 90025c0559d09f950732c051362711bed7f22e5495daeadf1ac8d7b1be9ede7e9aff80ca8755fccd95bdb48e2b2ea4b4355e02cd9112ac8e5eec457774289f34
 DIST stockfish-15-nn-6877cd24400e.nnue 47001499 BLAKE2B 12d9c250e7fc920aa1c575bdfa280ee648419307d7bb30dbda0e52a7a4b92a15063fba9a00e04c4201602d8778e181f8fff73a2f5a2963f197fb30020fdf78a0 SHA512 456961b01c7b7a852ac23eb9de8aca65204d5d0566868c998eb8918abd9c9eef7f7fb08ac08a7750eaede451859f93a15e92e1a14ecc269268dadb9a7b0eb135
+DIST stockfish-15.1-nn-ad9b42354671.nnue 47001499 BLAKE2B ae4caa4c7c68941fe57b03fe6c8df996dad9138e7a53caad6f08e3c8ce924c9445ecfba9f8ff3091380d4d7b0b932cff654ded7758b3abcec934cd322bf73418 SHA512 25114b2ada67cf1dd8a0a5ff78eb3b48e8406fb3e3851753d1293acf2512878856fac6c171e65b9d186e639482fd34e2b80553a1331ed73c7d40f85460a46d42
+DIST stockfish-15.1.tar.gz 193408 BLAKE2B 53f90d1ec35a96e804dc572ccc53f94b7d16686e02fb1c490f22129c313d74f39c3beeadf896016a0e0bdf9fd01bfec2f78efcaa1261869fbb599e45f8549a4b SHA512 86c0e7cdaf84b70078ab1c7db89e710ea20876952cfa726507e50d739aadcdf892bb1545bbc5fe1bf861bfbcd829e6414ee54dd9020763db9fd43617b7431532
 DIST stockfish-15.tar.gz 189578 BLAKE2B 49af86be2d926ad51021edc119fee260d54fbb37d22d9e0883c382a60d6d0f742b7eee5df296b1dc85552e24269e97c172df70e0a894b328e5bfa92d0614d608 SHA512 d79f713654d5ff0b7f158394c887dce015ef613242e52ef55575c024255da6f6a6bdfe974ff1037599fc99ddfdc2774e37bbc6b8fc88ed0df59590f820a27ffa

diff --git a/games-board/stockfish/stockfish-15.1.ebuild b/games-board/stockfish/stockfish-15.1.ebuild
new file mode 100644
index 000000000000..41f4912b4c4e
--- /dev/null
+++ b/games-board/stockfish/stockfish-15.1.ebuild
@@ -0,0 +1,75 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit toolchain-funcs
+
+DESCRIPTION="Free UCI chess engine, claimed to be the strongest in the world"
+HOMEPAGE="https://stockfishchess.org/"
+
+NNUE_FILE="nn-ad9b42354671.nnue"
+
+SRC_URI="https://github.com/official-stockfish/Stockfish/archive/sf_${PV}.tar.gz -> ${P}.tar.gz
+	https://tests.stockfishchess.org/api/nn/${NNUE_FILE} -> ${P}-${NNUE_FILE}"
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~riscv ~x86"
+IUSE="cpu_flags_arm_v7 cpu_flags_x86_avx2 cpu_flags_x86_popcnt cpu_flags_x86_sse debug
+	general-32 general-64 +optimize"
+
+DEPEND="|| ( app-arch/unzip app-arch/zip )"
+RDEPEND=""
+
+S="${WORKDIR}/Stockfish-sf_${PV}/src"
+
+src_prepare() {
+	default
+
+	# remove config sanity check that doesn't like our COMPILER settings
+	sed -i -e 's/ config-sanity//g' Makefile || die
+
+	cp "${DISTDIR}"/${P}-${NNUE_FILE} ${NNUE_FILE} || die "copying the nnue file failed"
+
+	# prevent pre-stripping
+	sed -e 's:-strip $(BINDIR)/$(EXE)::' -i Makefile \
+		|| die 'failed to disable stripping in the Makefile'
+}
+
+src_compile() {
+	local my_arch
+
+	# generic unoptimized first
+	use general-32 && my_arch=general-32
+	use general-64 && my_arch=general-64
+
+	# x86
+	use x86 && my_arch=x86-32-old
+	use cpu_flags_x86_sse && my_arch=x86-32
+
+	# amd64
+	use amd64 && my_arch=x86-64
+	use cpu_flags_x86_popcnt && my_arch=x86-64-modern
+
+	# both bmi2 and avx2 are part of hni (haswell new instructions)
+	use cpu_flags_x86_avx2 && my_arch=x86-64-bmi2
+
+	# other architectures
+	use cpu_flags_arm_v7 && my_arch=armv7
+	use ppc && my_arch=ppc
+	use ppc64 && my_arch=ppc64
+
+	# 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)" \
+		COMPILER="$(tc-getCXX)" \
+		debug=$(usex debug "yes" "no") \
+		optimize=$(usex optimize "yes" "no")
+}
+
+src_install() {
+	dobin "${PN}"
+	dodoc ../AUTHORS ../README.md
+}


^ permalink raw reply related	[flat|nested] 40+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: games-board/stockfish/
@ 2023-06-04 10:54 WANG Xuerui
  0 siblings, 0 replies; 40+ messages in thread
From: WANG Xuerui @ 2023-06-04 10:54 UTC (permalink / raw
  To: gentoo-commits

commit:     1ec94f67010d0aa90ce713cf5254ae3a18df17af
Author:     WANG Xuerui <xen0n <AT> gentoo <DOT> org>
AuthorDate: Sun Jun  4 10:52:39 2023 +0000
Commit:     WANG Xuerui <xen0n <AT> gentoo <DOT> org>
CommitDate: Sun Jun  4 10:52:39 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1ec94f67

games-board/stockfish: keyword 15-r1 for ~loong

Signed-off-by: WANG Xuerui <xen0n <AT> gentoo.org>

 games-board/stockfish/stockfish-15-r1.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/games-board/stockfish/stockfish-15-r1.ebuild b/games-board/stockfish/stockfish-15-r1.ebuild
index 73b2da8cffe6..6b5725f3a328 100644
--- a/games-board/stockfish/stockfish-15-r1.ebuild
+++ b/games-board/stockfish/stockfish-15-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -14,7 +14,7 @@ SRC_URI="https://github.com/official-stockfish/Stockfish/archive/sf_${PV}.tar.gz
 	https://tests.stockfishchess.org/api/nn/${NNUE_FILE} -> ${P}-${NNUE_FILE}"
 LICENSE="GPL-3"
 SLOT="0"
-KEYWORDS="amd64 ~riscv x86"
+KEYWORDS="amd64 ~loong ~riscv x86"
 IUSE="cpu_flags_arm_v7 cpu_flags_x86_avx2 cpu_flags_x86_popcnt cpu_flags_x86_sse debug
 	general-32 general-64 +optimize"
 


^ permalink raw reply related	[flat|nested] 40+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: games-board/stockfish/
@ 2023-07-01 16:34 罗百科
  0 siblings, 0 replies; 40+ messages in thread
From: 罗百科 @ 2023-07-01 16:34 UTC (permalink / raw
  To: gentoo-commits

commit:     35f27e35feadcadf781372e974ba2de866642d1f
Author:     Patrick Lauer <patrick <AT> gentoo <DOT> org>
AuthorDate: Sat Jul  1 16:33:27 2023 +0000
Commit:     罗百科 <patrick <AT> gentoo <DOT> org>
CommitDate: Sat Jul  1 16:34:52 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=35f27e35

games-board/stockfish: add 16

Signed-off-by: Patrick Lauer <patrick <AT> gentoo.org>

 games-board/stockfish/Manifest            |  2 +
 games-board/stockfish/stockfish-16.ebuild | 78 +++++++++++++++++++++++++++++++
 2 files changed, 80 insertions(+)

diff --git a/games-board/stockfish/Manifest b/games-board/stockfish/Manifest
index 46402e3653e0..61a3b6e5deb3 100644
--- a/games-board/stockfish/Manifest
+++ b/games-board/stockfish/Manifest
@@ -9,3 +9,5 @@ DIST stockfish-15-nn-6877cd24400e.nnue 47001499 BLAKE2B 12d9c250e7fc920aa1c575bd
 DIST stockfish-15.1-nn-ad9b42354671.nnue 47001499 BLAKE2B ae4caa4c7c68941fe57b03fe6c8df996dad9138e7a53caad6f08e3c8ce924c9445ecfba9f8ff3091380d4d7b0b932cff654ded7758b3abcec934cd322bf73418 SHA512 25114b2ada67cf1dd8a0a5ff78eb3b48e8406fb3e3851753d1293acf2512878856fac6c171e65b9d186e639482fd34e2b80553a1331ed73c7d40f85460a46d42
 DIST stockfish-15.1.tar.gz 193408 BLAKE2B 53f90d1ec35a96e804dc572ccc53f94b7d16686e02fb1c490f22129c313d74f39c3beeadf896016a0e0bdf9fd01bfec2f78efcaa1261869fbb599e45f8549a4b SHA512 86c0e7cdaf84b70078ab1c7db89e710ea20876952cfa726507e50d739aadcdf892bb1545bbc5fe1bf861bfbcd829e6414ee54dd9020763db9fd43617b7431532
 DIST stockfish-15.tar.gz 189578 BLAKE2B 49af86be2d926ad51021edc119fee260d54fbb37d22d9e0883c382a60d6d0f742b7eee5df296b1dc85552e24269e97c172df70e0a894b328e5bfa92d0614d608 SHA512 d79f713654d5ff0b7f158394c887dce015ef613242e52ef55575c024255da6f6a6bdfe974ff1037599fc99ddfdc2774e37bbc6b8fc88ed0df59590f820a27ffa
+DIST stockfish-16-nn-5af11540bbfe.nnue 40119326 BLAKE2B dc1bf038317c696ba7423d527dc039a077b6008ef6c721afa2084e48b69acb1f3cfde6e0d4861cb29bf8b1cbf693481432f2e0bc376d786c9d6dbb80248883bd SHA512 e86633e1129a5e9727d137ddddba44918bb4dfb88b192659e2323ae4eafc44175c1e9c24ab1ce72dc2a05682b00bdf6aba1f1caf6b0b44ec1cef4a14ae465006
+DIST stockfish-16.tar.gz 195462 BLAKE2B 0f2a55baae13a9abd682672dd88aebcfcd66e4bf6cf1d0886eba48ff331e9aa853bd44fab74c6dbb8a1db4873bf8fe9f98b33ab713878d071950095bd3c0ba82 SHA512 cc8728bd76cb71ab2e3dddb909acf3ebd26a7d44130509dcb2cd90959c939d7324abebf2c69092230028333428a90fa345a10fcb4e9c50e53f4958c61daedcc7

diff --git a/games-board/stockfish/stockfish-16.ebuild b/games-board/stockfish/stockfish-16.ebuild
new file mode 100644
index 000000000000..4535c43cd2b9
--- /dev/null
+++ b/games-board/stockfish/stockfish-16.ebuild
@@ -0,0 +1,78 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit toolchain-funcs
+
+DESCRIPTION="Free UCI chess engine, claimed to be the strongest in the world"
+HOMEPAGE="https://stockfishchess.org/"
+
+NNUE_FILE="nn-5af11540bbfe.nnue"
+
+SRC_URI="https://github.com/official-stockfish/Stockfish/archive/sf_${PV}.tar.gz -> ${P}.tar.gz
+	https://tests.stockfishchess.org/api/nn/${NNUE_FILE} -> ${P}-${NNUE_FILE}"
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~loong ~riscv ~x86"
+IUSE="cpu_flags_arm_v7 cpu_flags_x86_avx2 cpu_flags_x86_popcnt cpu_flags_x86_sse debug
+	general-32 general-64 +optimize"
+
+DEPEND="|| ( app-arch/unzip app-arch/zip )"
+RDEPEND=""
+
+S="${WORKDIR}/Stockfish-sf_${PV}/src"
+
+src_prepare() {
+	default
+
+	# remove config sanity check that doesn't like our COMPILER settings
+	sed -i -e 's/ config-sanity//g' Makefile || die
+
+	cp "${DISTDIR}"/${P}-${NNUE_FILE} ${NNUE_FILE} || die "copying the nnue file failed"
+
+	# prevent pre-stripping
+	sed -e 's:-strip $(BINDIR)/$(EXE)::' -i Makefile \
+		|| die 'failed to disable stripping in the Makefile'
+
+	# Makefile is a bit optimistic
+	sed -e 's:-flto=full:-flto:g' -i Makefile || die
+}
+
+src_compile() {
+	local my_arch
+
+	# generic unoptimized first
+	use general-32 && my_arch=general-32
+	use general-64 && my_arch=general-64
+
+	# x86
+	use x86 && my_arch=x86-32-old
+	use cpu_flags_x86_sse && my_arch=x86-32
+
+	# amd64
+	use amd64 && my_arch=x86-64
+	use cpu_flags_x86_popcnt && my_arch=x86-64-modern
+
+	# both bmi2 and avx2 are part of hni (haswell new instructions)
+	use cpu_flags_x86_avx2 && my_arch=x86-64-bmi2
+
+	# other architectures
+	use cpu_flags_arm_v7 && my_arch=armv7
+	use ppc && my_arch=ppc
+	use ppc64 && my_arch=ppc64
+
+	# 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)" \
+		COMPILER="$(tc-getCXX)" \
+		debug=$(usex debug "yes" "no") \
+		optimize=$(usex optimize "yes" "no")
+}
+
+src_install() {
+	dobin "${PN}"
+	dodoc ../AUTHORS ../README.md
+}


^ permalink raw reply related	[flat|nested] 40+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: games-board/stockfish/
@ 2023-11-15  5:24 Sam James
  0 siblings, 0 replies; 40+ messages in thread
From: Sam James @ 2023-11-15  5:24 UTC (permalink / raw
  To: gentoo-commits

commit:     fb631aedde5a41b4b1ae60ab8d98243797655513
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Wed Nov 15 05:24:21 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Nov 15 05:24:21 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fb631aed

games-board/stockfish: Keyword 16 arm64, #909638

Signed-off-by: Sam James <sam <AT> gentoo.org>

 games-board/stockfish/stockfish-16.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/games-board/stockfish/stockfish-16.ebuild b/games-board/stockfish/stockfish-16.ebuild
index 4535c43cd2b9..2a93af907f98 100644
--- a/games-board/stockfish/stockfish-16.ebuild
+++ b/games-board/stockfish/stockfish-16.ebuild
@@ -14,7 +14,7 @@ SRC_URI="https://github.com/official-stockfish/Stockfish/archive/sf_${PV}.tar.gz
 	https://tests.stockfishchess.org/api/nn/${NNUE_FILE} -> ${P}-${NNUE_FILE}"
 LICENSE="GPL-3"
 SLOT="0"
-KEYWORDS="~amd64 ~loong ~riscv ~x86"
+KEYWORDS="~amd64 ~arm64 ~loong ~riscv ~x86"
 IUSE="cpu_flags_arm_v7 cpu_flags_x86_avx2 cpu_flags_x86_popcnt cpu_flags_x86_sse debug
 	general-32 general-64 +optimize"
 


^ permalink raw reply related	[flat|nested] 40+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: games-board/stockfish/
@ 2024-01-04 15:46 罗百科
  0 siblings, 0 replies; 40+ messages in thread
From: 罗百科 @ 2024-01-04 15:46 UTC (permalink / raw
  To: gentoo-commits

commit:     804b980d2d3c5c257ff0ebbb4603e6418e2861c5
Author:     Patrick Lauer <patrick <AT> gentoo <DOT> org>
AuthorDate: Thu Jan  4 15:45:07 2024 +0000
Commit:     罗百科 <patrick <AT> gentoo <DOT> org>
CommitDate: Thu Jan  4 15:46:48 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=804b980d

games-board/stockfish: Enable avx512 support

Signed-off-by: Patrick Lauer <patrick <AT> gentoo.org>

 games-board/stockfish/stockfish-16-r1.ebuild | 83 ++++++++++++++++++++++++++++
 1 file changed, 83 insertions(+)

diff --git a/games-board/stockfish/stockfish-16-r1.ebuild b/games-board/stockfish/stockfish-16-r1.ebuild
new file mode 100644
index 000000000000..a6734bf75de8
--- /dev/null
+++ b/games-board/stockfish/stockfish-16-r1.ebuild
@@ -0,0 +1,83 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit toolchain-funcs
+
+DESCRIPTION="Free UCI chess engine, claimed to be the strongest in the world"
+HOMEPAGE="https://stockfishchess.org/"
+
+NNUE_FILE="nn-5af11540bbfe.nnue"
+
+SRC_URI="https://github.com/official-stockfish/Stockfish/archive/sf_${PV}.tar.gz -> ${P}.tar.gz
+	https://tests.stockfishchess.org/api/nn/${NNUE_FILE} -> ${P}-${NNUE_FILE}"
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~loong ~riscv ~x86"
+IUSE="cpu_flags_arm_v7 cpu_flags_x86_avx2 cpu_flags_x86_popcnt cpu_flags_x86_sse cpu_flags_x86_avx512f
+	cpu_flags_x86_avx512dq debug general-32 general-64 +optimize"
+
+DEPEND="|| ( app-arch/unzip app-arch/zip )"
+RDEPEND=""
+
+S="${WORKDIR}/Stockfish-sf_${PV}/src"
+
+src_prepare() {
+	default
+
+	# remove config sanity check that doesn't like our COMPILER settings
+	sed -i -e 's/ config-sanity//g' Makefile || die
+
+	cp "${DISTDIR}"/${P}-${NNUE_FILE} ${NNUE_FILE} || die "copying the nnue file failed"
+
+	# prevent pre-stripping
+	sed -e 's:-strip $(BINDIR)/$(EXE)::' -i Makefile \
+		|| die 'failed to disable stripping in the Makefile'
+
+	# Makefile is a bit optimistic
+	sed -e 's:-flto=full:-flto:g' -i Makefile || die
+}
+
+src_compile() {
+	local my_arch
+
+	# generic unoptimized first
+	use general-32 && my_arch=general-32
+	use general-64 && my_arch=general-64
+
+	# x86
+	use x86 && my_arch=x86-32-old
+	use cpu_flags_x86_sse && my_arch=x86-32
+
+	# amd64
+	use amd64 && my_arch=x86-64
+	use cpu_flags_x86_popcnt && my_arch=x86-64-modern
+
+	# both bmi2 and avx2 are part of hni (haswell new instructions)
+	use cpu_flags_x86_avx2 && my_arch=x86-64-bmi2
+
+	# avx512
+	# we currently can't express  'avx512vnni' 'avx512dq' 'avx512f' 'avx512bw' 'avx512vl'
+	# so only enable basic support
+	use cpu_flags_x86_avx512f && use cpu_flags_x86_avx512dq && my_arch=x86-64-avx512
+
+	# other architectures
+	use cpu_flags_arm_v7 && my_arch=armv7
+	use ppc && my_arch=ppc
+	use ppc64 && my_arch=ppc64
+
+	# 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)" \
+		COMPILER="$(tc-getCXX)" \
+		debug=$(usex debug "yes" "no") \
+		optimize=$(usex optimize "yes" "no")
+}
+
+src_install() {
+	dobin "${PN}"
+	dodoc ../AUTHORS ../README.md
+}


^ permalink raw reply related	[flat|nested] 40+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: games-board/stockfish/
@ 2024-02-25  7:51 Patrick Lauer
  0 siblings, 0 replies; 40+ messages in thread
From: Patrick Lauer @ 2024-02-25  7:51 UTC (permalink / raw
  To: gentoo-commits

commit:     7facada5b3d377c4202c8e28307dab78f9a5786b
Author:     Patrick Lauer <patrick <AT> gentoo <DOT> org>
AuthorDate: Sun Feb 25 07:47:17 2024 +0000
Commit:     Patrick Lauer <patrick <AT> gentoo <DOT> org>
CommitDate: Sun Feb 25 07:51:23 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7facada5

games-board/stockfish: add 16.1

Signed-off-by: Patrick Lauer <patrick <AT> gentoo.org>

 games-board/stockfish/Manifest              |  3 +
 games-board/stockfish/stockfish-16.1.ebuild | 89 +++++++++++++++++++++++++++++
 2 files changed, 92 insertions(+)

diff --git a/games-board/stockfish/Manifest b/games-board/stockfish/Manifest
index 61a3b6e5deb3..c8d81f703dbd 100644
--- a/games-board/stockfish/Manifest
+++ b/games-board/stockfish/Manifest
@@ -10,4 +10,7 @@ DIST stockfish-15.1-nn-ad9b42354671.nnue 47001499 BLAKE2B ae4caa4c7c68941fe57b03
 DIST stockfish-15.1.tar.gz 193408 BLAKE2B 53f90d1ec35a96e804dc572ccc53f94b7d16686e02fb1c490f22129c313d74f39c3beeadf896016a0e0bdf9fd01bfec2f78efcaa1261869fbb599e45f8549a4b SHA512 86c0e7cdaf84b70078ab1c7db89e710ea20876952cfa726507e50d739aadcdf892bb1545bbc5fe1bf861bfbcd829e6414ee54dd9020763db9fd43617b7431532
 DIST stockfish-15.tar.gz 189578 BLAKE2B 49af86be2d926ad51021edc119fee260d54fbb37d22d9e0883c382a60d6d0f742b7eee5df296b1dc85552e24269e97c172df70e0a894b328e5bfa92d0614d608 SHA512 d79f713654d5ff0b7f158394c887dce015ef613242e52ef55575c024255da6f6a6bdfe974ff1037599fc99ddfdc2774e37bbc6b8fc88ed0df59590f820a27ffa
 DIST stockfish-16-nn-5af11540bbfe.nnue 40119326 BLAKE2B dc1bf038317c696ba7423d527dc039a077b6008ef6c721afa2084e48b69acb1f3cfde6e0d4861cb29bf8b1cbf693481432f2e0bc376d786c9d6dbb80248883bd SHA512 e86633e1129a5e9727d137ddddba44918bb4dfb88b192659e2323ae4eafc44175c1e9c24ab1ce72dc2a05682b00bdf6aba1f1caf6b0b44ec1cef4a14ae465006
+DIST stockfish-16.1-nn-b1a57edbea57.nnue 65429575 BLAKE2B 22020e7e3a59530c2a9d2976cdc4669d2257e14d23efd1f085fd645c1d1b10dea48cd13b64135aadebef8a3d57b10d9180eaa5725789bfa6860633bc1e094fd3 SHA512 de2141ba301dd4da0cfa5d3a8f3574fa0ac9b24915fa1802654ad8baf274157feb1fd0ce96aae3893b789a1bb1df8eccdb4a5a331756802bebde3c4d1db5f1de
+DIST stockfish-16.1-nn-baff1ede1f90.nnue 3480122 BLAKE2B cb573cd1537b07afb6162c4c42da6363f3aaab472fedea8e2059ac481a7b774100637a067aa405c44f2d7f792ca74c32ed1e58ea8c4e00adafe1e8f0e3092a92 SHA512 56358da4810a2bf5b903668d8243ec888a0a64302a893207074b3f1644c9877ddd4557303f025eabcc6e0f7b31af42c1265ba2fd34209df9dd0ea205d4f4a8e9
+DIST stockfish-16.1.tar.gz 176846 BLAKE2B d1cbc980496a8aea6668d50c2f24b69e2de39858dd50ff4fd807a3fca470e8e319901dd638bc09bb00c4bb0f886e4a8e87b021a7ff6c44edc540bfab45ceebcf SHA512 39962d92deba234e625b1f89568c9c469ecae02209c9c68dfd380034c70ab950d917bc5b7fa202a80b0e5cb59b6f3ef726b128ec9a28969e966308ebc7fbb056
 DIST stockfish-16.tar.gz 195462 BLAKE2B 0f2a55baae13a9abd682672dd88aebcfcd66e4bf6cf1d0886eba48ff331e9aa853bd44fab74c6dbb8a1db4873bf8fe9f98b33ab713878d071950095bd3c0ba82 SHA512 cc8728bd76cb71ab2e3dddb909acf3ebd26a7d44130509dcb2cd90959c939d7324abebf2c69092230028333428a90fa345a10fcb4e9c50e53f4958c61daedcc7

diff --git a/games-board/stockfish/stockfish-16.1.ebuild b/games-board/stockfish/stockfish-16.1.ebuild
new file mode 100644
index 000000000000..4d19649f7066
--- /dev/null
+++ b/games-board/stockfish/stockfish-16.1.ebuild
@@ -0,0 +1,89 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit toolchain-funcs
+
+DESCRIPTION="Free UCI chess engine, claimed to be the strongest in the world"
+HOMEPAGE="https://stockfishchess.org/"
+
+NNUE_FILES="nn-b1a57edbea57.nnue nn-baff1ede1f90.nnue"
+
+SRC_URI="https://github.com/official-stockfish/Stockfish/archive/sf_${PV}.tar.gz -> ${P}.tar.gz"
+
+for i in $NNUE_FILES; do
+	SRC_URI+=" https://tests.stockfishchess.org/api/nn/${i} -> ${P}-${i}"
+done
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~loong ~riscv ~x86"
+IUSE="cpu_flags_arm_v7 cpu_flags_x86_avx2 cpu_flags_x86_popcnt cpu_flags_x86_sse cpu_flags_x86_avx512f
+	cpu_flags_x86_avx512dq debug general-32 general-64 +optimize"
+
+DEPEND="|| ( app-arch/unzip app-arch/zip )"
+RDEPEND=""
+
+S="${WORKDIR}/Stockfish-sf_${PV}/src"
+
+src_prepare() {
+	default
+
+	# remove config sanity check that doesn't like our COMPILER settings
+	sed -i -e 's/ config-sanity//g' Makefile || die
+
+	for i in $NNUE_FILES; do
+		cp "${DISTDIR}"/${P}-${i} ${i} || die "copying the nnue file failed"
+	done
+
+	# prevent pre-stripping
+	sed -e 's:-strip $(BINDIR)/$(EXE)::' -i Makefile \
+		|| die 'failed to disable stripping in the Makefile'
+
+	# Makefile is a bit optimistic
+	sed -e 's:-flto=full:-flto:g' -i Makefile || die
+}
+
+src_compile() {
+	local my_arch
+
+	# generic unoptimized first
+	use general-32 && my_arch=general-32
+	use general-64 && my_arch=general-64
+
+	# x86
+	use x86 && my_arch=x86-32-old
+	use cpu_flags_x86_sse && my_arch=x86-32
+
+	# amd64
+	use amd64 && my_arch=x86-64
+	use cpu_flags_x86_popcnt && my_arch=x86-64-modern
+
+	# both bmi2 and avx2 are part of hni (haswell new instructions)
+	use cpu_flags_x86_avx2 && my_arch=x86-64-bmi2
+
+	# avx512
+	# we currently can't express  'avx512vnni' 'avx512dq' 'avx512f' 'avx512bw' 'avx512vl'
+	# so only enable basic support
+	use cpu_flags_x86_avx512f && use cpu_flags_x86_avx512dq && my_arch=x86-64-avx512
+
+	# other architectures
+	use cpu_flags_arm_v7 && my_arch=armv7
+	use ppc && my_arch=ppc
+	use ppc64 && my_arch=ppc64
+
+	# 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)" \
+		COMPILER="$(tc-getCXX)" \
+		debug=$(usex debug "yes" "no") \
+		optimize=$(usex optimize "yes" "no")
+}
+
+src_install() {
+	dobin "${PN}"
+	dodoc ../AUTHORS ../README.md
+}


^ permalink raw reply related	[flat|nested] 40+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: games-board/stockfish/
@ 2024-02-25  7:51 Patrick Lauer
  0 siblings, 0 replies; 40+ messages in thread
From: Patrick Lauer @ 2024-02-25  7:51 UTC (permalink / raw
  To: gentoo-commits

commit:     e5f97d8d982d806341301a6922db9720946d5f9e
Author:     Patrick Lauer <patrick <AT> gentoo <DOT> org>
AuthorDate: Sun Feb 25 07:50:44 2024 +0000
Commit:     Patrick Lauer <patrick <AT> gentoo <DOT> org>
CommitDate: Sun Feb 25 07:51:24 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e5f97d8d

games-board/stockfish: Fix QA warnings

Empty RDEPEND is no longer wanted

Signed-off-by: Patrick Lauer <patrick <AT> gentoo.org>

 games-board/stockfish/stockfish-10.ebuild    | 3 +--
 games-board/stockfish/stockfish-13.ebuild    | 3 +--
 games-board/stockfish/stockfish-14.1.ebuild  | 3 +--
 games-board/stockfish/stockfish-14.ebuild    | 3 +--
 games-board/stockfish/stockfish-15-r1.ebuild | 3 +--
 games-board/stockfish/stockfish-15.1.ebuild  | 3 +--
 games-board/stockfish/stockfish-16-r1.ebuild | 1 -
 games-board/stockfish/stockfish-16.1.ebuild  | 1 -
 games-board/stockfish/stockfish-16.ebuild    | 3 +--
 9 files changed, 7 insertions(+), 16 deletions(-)

diff --git a/games-board/stockfish/stockfish-10.ebuild b/games-board/stockfish/stockfish-10.ebuild
index f8c2aa054feb..24a0f3282954 100644
--- a/games-board/stockfish/stockfish-10.ebuild
+++ b/games-board/stockfish/stockfish-10.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -16,7 +16,6 @@ IUSE="cpu_flags_arm_v7 cpu_flags_x86_avx2 cpu_flags_x86_popcnt cpu_flags_x86_sse
 	general-32 general-64 +optimize"
 
 DEPEND="|| ( app-arch/unzip app-arch/zip )"
-RDEPEND=""
 
 S="${WORKDIR}/src"
 

diff --git a/games-board/stockfish/stockfish-13.ebuild b/games-board/stockfish/stockfish-13.ebuild
index 7e9dda906792..91b5480df6bd 100644
--- a/games-board/stockfish/stockfish-13.ebuild
+++ b/games-board/stockfish/stockfish-13.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -19,7 +19,6 @@ IUSE="cpu_flags_arm_v7 cpu_flags_x86_avx2 cpu_flags_x86_popcnt cpu_flags_x86_sse
 	general-32 general-64 +optimize"
 
 DEPEND="|| ( app-arch/unzip app-arch/zip )"
-RDEPEND=""
 
 S="${WORKDIR}/Stockfish-sf_${PV}/src"
 

diff --git a/games-board/stockfish/stockfish-14.1.ebuild b/games-board/stockfish/stockfish-14.1.ebuild
index 2ccc74178557..d23cf5af9973 100644
--- a/games-board/stockfish/stockfish-14.1.ebuild
+++ b/games-board/stockfish/stockfish-14.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -19,7 +19,6 @@ IUSE="cpu_flags_arm_v7 cpu_flags_x86_avx2 cpu_flags_x86_popcnt cpu_flags_x86_sse
 	general-32 general-64 +optimize"
 
 DEPEND="|| ( app-arch/unzip app-arch/zip )"
-RDEPEND=""
 
 S="${WORKDIR}/Stockfish-sf_${PV}/src"
 

diff --git a/games-board/stockfish/stockfish-14.ebuild b/games-board/stockfish/stockfish-14.ebuild
index dd2f85f84bc6..f6130d54cc74 100644
--- a/games-board/stockfish/stockfish-14.ebuild
+++ b/games-board/stockfish/stockfish-14.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -19,7 +19,6 @@ IUSE="cpu_flags_arm_v7 cpu_flags_x86_avx2 cpu_flags_x86_popcnt cpu_flags_x86_sse
 	general-32 general-64 +optimize"
 
 DEPEND="|| ( app-arch/unzip app-arch/zip )"
-RDEPEND=""
 
 S="${WORKDIR}/Stockfish-sf_${PV}/src"
 

diff --git a/games-board/stockfish/stockfish-15-r1.ebuild b/games-board/stockfish/stockfish-15-r1.ebuild
index 6b5725f3a328..ea7a33b131ec 100644
--- a/games-board/stockfish/stockfish-15-r1.ebuild
+++ b/games-board/stockfish/stockfish-15-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=7
@@ -19,7 +19,6 @@ IUSE="cpu_flags_arm_v7 cpu_flags_x86_avx2 cpu_flags_x86_popcnt cpu_flags_x86_sse
 	general-32 general-64 +optimize"
 
 DEPEND="|| ( app-arch/unzip app-arch/zip )"
-RDEPEND=""
 
 S="${WORKDIR}/Stockfish-sf_${PV}/src"
 

diff --git a/games-board/stockfish/stockfish-15.1.ebuild b/games-board/stockfish/stockfish-15.1.ebuild
index 41f4912b4c4e..a8d227894a51 100644
--- a/games-board/stockfish/stockfish-15.1.ebuild
+++ b/games-board/stockfish/stockfish-15.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -19,7 +19,6 @@ IUSE="cpu_flags_arm_v7 cpu_flags_x86_avx2 cpu_flags_x86_popcnt cpu_flags_x86_sse
 	general-32 general-64 +optimize"
 
 DEPEND="|| ( app-arch/unzip app-arch/zip )"
-RDEPEND=""
 
 S="${WORKDIR}/Stockfish-sf_${PV}/src"
 

diff --git a/games-board/stockfish/stockfish-16-r1.ebuild b/games-board/stockfish/stockfish-16-r1.ebuild
index a6734bf75de8..87fef36d749c 100644
--- a/games-board/stockfish/stockfish-16-r1.ebuild
+++ b/games-board/stockfish/stockfish-16-r1.ebuild
@@ -19,7 +19,6 @@ IUSE="cpu_flags_arm_v7 cpu_flags_x86_avx2 cpu_flags_x86_popcnt cpu_flags_x86_sse
 	cpu_flags_x86_avx512dq debug general-32 general-64 +optimize"
 
 DEPEND="|| ( app-arch/unzip app-arch/zip )"
-RDEPEND=""
 
 S="${WORKDIR}/Stockfish-sf_${PV}/src"
 

diff --git a/games-board/stockfish/stockfish-16.1.ebuild b/games-board/stockfish/stockfish-16.1.ebuild
index 4d19649f7066..8d66d9cfa7cf 100644
--- a/games-board/stockfish/stockfish-16.1.ebuild
+++ b/games-board/stockfish/stockfish-16.1.ebuild
@@ -23,7 +23,6 @@ IUSE="cpu_flags_arm_v7 cpu_flags_x86_avx2 cpu_flags_x86_popcnt cpu_flags_x86_sse
 	cpu_flags_x86_avx512dq debug general-32 general-64 +optimize"
 
 DEPEND="|| ( app-arch/unzip app-arch/zip )"
-RDEPEND=""
 
 S="${WORKDIR}/Stockfish-sf_${PV}/src"
 

diff --git a/games-board/stockfish/stockfish-16.ebuild b/games-board/stockfish/stockfish-16.ebuild
index 2a93af907f98..4cabca417965 100644
--- a/games-board/stockfish/stockfish-16.ebuild
+++ b/games-board/stockfish/stockfish-16.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=7
@@ -19,7 +19,6 @@ IUSE="cpu_flags_arm_v7 cpu_flags_x86_avx2 cpu_flags_x86_popcnt cpu_flags_x86_sse
 	general-32 general-64 +optimize"
 
 DEPEND="|| ( app-arch/unzip app-arch/zip )"
-RDEPEND=""
 
 S="${WORKDIR}/Stockfish-sf_${PV}/src"
 


^ permalink raw reply related	[flat|nested] 40+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: games-board/stockfish/
@ 2024-02-25  7:51 Patrick Lauer
  0 siblings, 0 replies; 40+ messages in thread
From: Patrick Lauer @ 2024-02-25  7:51 UTC (permalink / raw
  To: gentoo-commits

commit:     78216ca95c5ea82caa87c77320679171b3820893
Author:     Patrick Lauer <patrick <AT> gentoo <DOT> org>
AuthorDate: Sun Feb 25 07:49:08 2024 +0000
Commit:     Patrick Lauer <patrick <AT> gentoo <DOT> org>
CommitDate: Sun Feb 25 07:51:23 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=78216ca9

games-board/stockfish: add github upstream metadata

Signed-off-by: Patrick Lauer <patrick <AT> gentoo.org>

 games-board/stockfish/metadata.xml | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/games-board/stockfish/metadata.xml b/games-board/stockfish/metadata.xml
index 0fc4724d0125..ae7eaa6fbcbd 100644
--- a/games-board/stockfish/metadata.xml
+++ b/games-board/stockfish/metadata.xml
@@ -10,4 +10,7 @@
 		<flag name="general-64">Generic unoptimized 64-bits build</flag>
 		<flag name="optimize">Enable upstream -O3 optimizations (default enabled)</flag>
 	</use>
+	<upstream>
+		<remote-id type="github">official-stockfish/Stockfish</remote-id>
+	</upstream>
 </pkgmetadata>


^ permalink raw reply related	[flat|nested] 40+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: games-board/stockfish/
@ 2024-07-04  4:55 Matthias Maier
  0 siblings, 0 replies; 40+ messages in thread
From: Matthias Maier @ 2024-07-04  4:55 UTC (permalink / raw
  To: gentoo-commits

commit:     e42be856eece8072aa128ea6faa25409eb05dee4
Author:     Matthias Maier <tamiko <AT> gentoo <DOT> org>
AuthorDate: Thu Jul  4 04:55:06 2024 +0000
Commit:     Matthias Maier <tamiko <AT> gentoo <DOT> org>
CommitDate: Thu Jul  4 04:55:28 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e42be856

games-board/stockfish: update maintainers

Signed-off-by: Matthias Maier <tamiko <AT> gentoo.org>

 games-board/stockfish/metadata.xml | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/games-board/stockfish/metadata.xml b/games-board/stockfish/metadata.xml
index ae7eaa6fbcbd..605aa0a1fdeb 100644
--- a/games-board/stockfish/metadata.xml
+++ b/games-board/stockfish/metadata.xml
@@ -1,6 +1,10 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
 <pkgmetadata>
+	<maintainer type="person">
+		<email>patrick@gentoo.org</email>
+		<name>Patrick Lauer</name>
+	</maintainer>
 	<maintainer type="person">
 		<email>tamiko@gentoo.org</email>
 		<name>Matthias Maier</name>


^ permalink raw reply related	[flat|nested] 40+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: games-board/stockfish/
@ 2024-08-02  8:03 Matthias Maier
  0 siblings, 0 replies; 40+ messages in thread
From: Matthias Maier @ 2024-08-02  8:03 UTC (permalink / raw
  To: gentoo-commits

commit:     e6181cc7381afd47385b9f3cd55600f4233cbef6
Author:     Matthias Maier <tamiko <AT> gentoo <DOT> org>
AuthorDate: Fri Aug  2 08:03:12 2024 +0000
Commit:     Matthias Maier <tamiko <AT> gentoo <DOT> org>
CommitDate: Fri Aug  2 08:03:50 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e6181cc7

games-board/stockfish: drop myself as a maintainer

Signed-off-by: Matthias Maier <tamiko <AT> gentoo.org>

 games-board/stockfish/metadata.xml | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/games-board/stockfish/metadata.xml b/games-board/stockfish/metadata.xml
index 605aa0a1fdeb..7bd2eccc7b18 100644
--- a/games-board/stockfish/metadata.xml
+++ b/games-board/stockfish/metadata.xml
@@ -5,10 +5,6 @@
 		<email>patrick@gentoo.org</email>
 		<name>Patrick Lauer</name>
 	</maintainer>
-	<maintainer type="person">
-		<email>tamiko@gentoo.org</email>
-		<name>Matthias Maier</name>
-	</maintainer>
 	<use>
 		<flag name="general-32">Generic unoptimized 32-bits build</flag>
 		<flag name="general-64">Generic unoptimized 64-bits build</flag>


^ permalink raw reply related	[flat|nested] 40+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: games-board/stockfish/
@ 2024-09-13 14:25 Patrick Lauer
  0 siblings, 0 replies; 40+ messages in thread
From: Patrick Lauer @ 2024-09-13 14:25 UTC (permalink / raw
  To: gentoo-commits

commit:     1a3b6786a8cb49f8abd383ebdfec66cd3dceb7fa
Author:     Patrick Lauer <patrick <AT> gentoo <DOT> org>
AuthorDate: Fri Sep 13 14:24:32 2024 +0000
Commit:     Patrick Lauer <patrick <AT> gentoo <DOT> org>
CommitDate: Fri Sep 13 14:24:58 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1a3b6786

games-board/stockfish: add 17

Signed-off-by: Patrick Lauer <patrick <AT> gentoo.org>

 games-board/stockfish/Manifest            |  3 ++
 games-board/stockfish/stockfish-17.ebuild | 88 +++++++++++++++++++++++++++++++
 2 files changed, 91 insertions(+)

diff --git a/games-board/stockfish/Manifest b/games-board/stockfish/Manifest
index c8d81f703dbd..defd22d5c7a4 100644
--- a/games-board/stockfish/Manifest
+++ b/games-board/stockfish/Manifest
@@ -14,3 +14,6 @@ DIST stockfish-16.1-nn-b1a57edbea57.nnue 65429575 BLAKE2B 22020e7e3a59530c2a9d29
 DIST stockfish-16.1-nn-baff1ede1f90.nnue 3480122 BLAKE2B cb573cd1537b07afb6162c4c42da6363f3aaab472fedea8e2059ac481a7b774100637a067aa405c44f2d7f792ca74c32ed1e58ea8c4e00adafe1e8f0e3092a92 SHA512 56358da4810a2bf5b903668d8243ec888a0a64302a893207074b3f1644c9877ddd4557303f025eabcc6e0f7b31af42c1265ba2fd34209df9dd0ea205d4f4a8e9
 DIST stockfish-16.1.tar.gz 176846 BLAKE2B d1cbc980496a8aea6668d50c2f24b69e2de39858dd50ff4fd807a3fca470e8e319901dd638bc09bb00c4bb0f886e4a8e87b021a7ff6c44edc540bfab45ceebcf SHA512 39962d92deba234e625b1f89568c9c469ecae02209c9c68dfd380034c70ab950d917bc5b7fa202a80b0e5cb59b6f3ef726b128ec9a28969e966308ebc7fbb056
 DIST stockfish-16.tar.gz 195462 BLAKE2B 0f2a55baae13a9abd682672dd88aebcfcd66e4bf6cf1d0886eba48ff331e9aa853bd44fab74c6dbb8a1db4873bf8fe9f98b33ab713878d071950095bd3c0ba82 SHA512 cc8728bd76cb71ab2e3dddb909acf3ebd26a7d44130509dcb2cd90959c939d7324abebf2c69092230028333428a90fa345a10fcb4e9c50e53f4958c61daedcc7
+DIST stockfish-17-nn-1111cefa1111.nnue 74874478 BLAKE2B b2179b5727b13984be82f88715a55df7a84959944c92bd5758b492f6f8bd8f241696b491339ce64a0aaa059e3591115ff04d2382f7371075df5aea729cfa2dec SHA512 0814a77442d14f9eee02b1d45195cc8c9ed58e91d10ac22be56f562835baedc77094b442d23f2e088779e58d798184eabc8dfc919558e1ede552cde35d448025
+DIST stockfish-17-nn-37f18f62d772.nnue 3519630 BLAKE2B fe51553da8c051e66ecbc5e167f4a8b6c5701f80a9174e487b6a40962753c8a9ac96af2ff47df707b5044f83ef4baeac74b3154fd908dbe9728b40f020b8a7e6 SHA512 bf4d01f8cbff94dbff484636dd0351cd66f37eeaea7b7dbe16a3bfe231ae78cfabdeed040b789b64049c6063ef0dca21e4a4f332b99e49a52993e8595e372839
+DIST stockfish-17.tar.gz 204647 BLAKE2B 1b8bc3cb18df67fb8d8c0a02284c47d06862ca33aacd894816be92f3c11976f5eb3a767adce92a27bcbc35abec3db04e3600fe046060fe61247850fe263d9aea SHA512 2736c7e78a30670704b4400e20a4a5bb5b07b2e3a14d19149eccea9ba45cda5b9b42034b1ae40ef1f49c87fc1b0bc1750e998ff732da8c5fe45dd8bdbf90f9cc

diff --git a/games-board/stockfish/stockfish-17.ebuild b/games-board/stockfish/stockfish-17.ebuild
new file mode 100644
index 000000000000..37f055b2abc6
--- /dev/null
+++ b/games-board/stockfish/stockfish-17.ebuild
@@ -0,0 +1,88 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit toolchain-funcs
+
+DESCRIPTION="Free UCI chess engine, claimed to be the strongest in the world"
+HOMEPAGE="https://stockfishchess.org/"
+
+NNUE_FILES="nn-1111cefa1111.nnue nn-37f18f62d772.nnue"
+
+SRC_URI="https://github.com/official-stockfish/Stockfish/archive/sf_${PV}.tar.gz -> ${P}.tar.gz"
+
+for i in $NNUE_FILES; do
+	SRC_URI+=" https://tests.stockfishchess.org/api/nn/${i} -> ${P}-${i}"
+done
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~loong ~riscv ~x86"
+IUSE="cpu_flags_arm_v7 cpu_flags_x86_avx2 cpu_flags_x86_popcnt cpu_flags_x86_sse cpu_flags_x86_avx512f
+	cpu_flags_x86_avx512dq debug general-32 general-64 +optimize"
+
+DEPEND="|| ( app-arch/unzip app-arch/zip )"
+
+S="${WORKDIR}/Stockfish-sf_${PV}/src"
+
+src_prepare() {
+	default
+
+	# remove config sanity check that doesn't like our COMPILER settings
+	sed -i -e 's/ config-sanity//g' Makefile || die
+
+	for i in $NNUE_FILES; do
+		cp "${DISTDIR}"/${P}-${i} ${i} || die "copying the nnue file failed"
+	done
+
+	# prevent pre-stripping
+	sed -e 's:-strip $(BINDIR)/$(EXE)::' -i Makefile \
+		|| die 'failed to disable stripping in the Makefile'
+
+	# Makefile is a bit optimistic
+	sed -e 's:-flto=full:-flto:g' -i Makefile || die
+}
+
+src_compile() {
+	local my_arch
+
+	# generic unoptimized first
+	use general-32 && my_arch=general-32
+	use general-64 && my_arch=general-64
+
+	# x86
+	use x86 && my_arch=x86-32-old
+	use cpu_flags_x86_sse && my_arch=x86-32
+
+	# amd64
+	use amd64 && my_arch=x86-64
+	use cpu_flags_x86_popcnt && my_arch=x86-64-modern
+
+	# both bmi2 and avx2 are part of hni (haswell new instructions)
+	use cpu_flags_x86_avx2 && my_arch=x86-64-bmi2
+
+	# avx512
+	# we currently can't express  'avx512vnni' 'avx512dq' 'avx512f' 'avx512bw' 'avx512vl'
+	# so only enable basic support
+	use cpu_flags_x86_avx512f && use cpu_flags_x86_avx512dq && my_arch=x86-64-avx512
+
+	# other architectures
+	use cpu_flags_arm_v7 && my_arch=armv7
+	use ppc && my_arch=ppc
+	use ppc64 && my_arch=ppc64
+
+	# 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)" \
+		COMPILER="$(tc-getCXX)" \
+		debug=$(usex debug "yes" "no") \
+		optimize=$(usex optimize "yes" "no")
+}
+
+src_install() {
+	dobin "${PN}"
+	dodoc ../AUTHORS ../README.md
+}


^ permalink raw reply related	[flat|nested] 40+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: games-board/stockfish/
@ 2024-10-27  2:53 Sam James
  0 siblings, 0 replies; 40+ messages in thread
From: Sam James @ 2024-10-27  2:53 UTC (permalink / raw
  To: gentoo-commits

commit:     301562070218bf7673f5d9a09a61d22f5cfac89b
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Oct 27 02:52:57 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Oct 27 02:52:57 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=30156207

games-board/stockfish: Stabilize 17 x86, #942309

Signed-off-by: Sam James <sam <AT> gentoo.org>

 games-board/stockfish/stockfish-17.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/games-board/stockfish/stockfish-17.ebuild b/games-board/stockfish/stockfish-17.ebuild
index 37f055b2abc6..0120a0e71601 100644
--- a/games-board/stockfish/stockfish-17.ebuild
+++ b/games-board/stockfish/stockfish-17.ebuild
@@ -18,7 +18,7 @@ done
 
 LICENSE="GPL-3"
 SLOT="0"
-KEYWORDS="~amd64 ~arm64 ~loong ~riscv ~x86"
+KEYWORDS="~amd64 ~arm64 ~loong ~riscv x86"
 IUSE="cpu_flags_arm_v7 cpu_flags_x86_avx2 cpu_flags_x86_popcnt cpu_flags_x86_sse cpu_flags_x86_avx512f
 	cpu_flags_x86_avx512dq debug general-32 general-64 +optimize"
 


^ permalink raw reply related	[flat|nested] 40+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: games-board/stockfish/
@ 2024-10-27  4:05 Sam James
  0 siblings, 0 replies; 40+ messages in thread
From: Sam James @ 2024-10-27  4:05 UTC (permalink / raw
  To: gentoo-commits

commit:     5324674b6b1f1e47af4b0c8bbb4bc5abad7600ee
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Oct 27 04:04:41 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Oct 27 04:04:41 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5324674b

games-board/stockfish: Stabilize 17 amd64, #942309

Signed-off-by: Sam James <sam <AT> gentoo.org>

 games-board/stockfish/stockfish-17.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/games-board/stockfish/stockfish-17.ebuild b/games-board/stockfish/stockfish-17.ebuild
index 0120a0e71601..bbc0c90cbf73 100644
--- a/games-board/stockfish/stockfish-17.ebuild
+++ b/games-board/stockfish/stockfish-17.ebuild
@@ -18,7 +18,7 @@ done
 
 LICENSE="GPL-3"
 SLOT="0"
-KEYWORDS="~amd64 ~arm64 ~loong ~riscv x86"
+KEYWORDS="amd64 ~arm64 ~loong ~riscv x86"
 IUSE="cpu_flags_arm_v7 cpu_flags_x86_avx2 cpu_flags_x86_popcnt cpu_flags_x86_sse cpu_flags_x86_avx512f
 	cpu_flags_x86_avx512dq debug general-32 general-64 +optimize"
 


^ permalink raw reply related	[flat|nested] 40+ messages in thread

end of thread, other threads:[~2024-10-27  4:05 UTC | newest]

Thread overview: 40+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-02-25  7:51 [gentoo-commits] repo/gentoo:master commit in: games-board/stockfish/ Patrick Lauer
  -- strict thread matches above, loose matches on Subject: below --
2024-10-27  4:05 Sam James
2024-10-27  2:53 Sam James
2024-09-13 14:25 Patrick Lauer
2024-08-02  8:03 Matthias Maier
2024-07-04  4:55 Matthias Maier
2024-02-25  7:51 Patrick Lauer
2024-02-25  7:51 Patrick Lauer
2024-01-04 15:46 罗百科
2023-11-15  5:24 Sam James
2023-07-01 16:34 罗百科
2023-06-04 10:54 WANG Xuerui
2022-12-06 16:23 罗百科
2022-09-30 11:51 Agostino Sarubbo
2022-09-29 19:59 Sam James
2022-04-20 16:51 罗百科
2022-04-20  8:02 罗百科
2022-03-20  0:26 Sam James
2021-10-30  7:11 罗百科
2021-07-03 19:06 罗百科
2021-05-17  7:49 Agostino Sarubbo
2021-05-17  7:47 Agostino Sarubbo
2021-03-01  0:40 Matthias Maier
2021-03-01  0:40 Matthias Maier
2020-02-28  2:00 Matthias Maier
2020-02-28  1:17 Matthias Maier
2020-02-28  1:17 Matthias Maier
2020-02-28  1:17 Matthias Maier
2019-07-02 11:56 Agostino Sarubbo
2019-07-02 10:33 Agostino Sarubbo
2019-06-20 18:02 Sergei Trofimovich
2018-06-11 16:28 Aaron Bauman
2017-01-27  9:07 Agostino Sarubbo
2017-01-27  9:02 Agostino Sarubbo
2017-01-26 19:48 Matthias Maier
2016-11-17  5:20 Matthias Maier
2016-11-17  5:20 Matthias Maier
2016-08-25  0:03 Michael Orlitzky
2016-07-07 19:48 Austin English
2016-05-28 10:52 Pacho Ramos

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox