diff options
author | Patrick Lauer <patrick@gentoo.org> | 2022-04-20 16:51:26 +0000 |
---|---|---|
committer | Patrick Lauer <patrick@gentoo.org> | 2022-04-20 16:51:56 +0000 |
commit | 2545fec8d0ff4095a0911b69eb76fc6391433c0b (patch) | |
tree | e6c16c3ce93ef86bc969bcae0b033aa8a58122d0 /games-board/stockfish | |
parent | app-emacs/vertico: add 0.22 (diff) | |
download | gentoo-2545fec8d0ff4095a0911b69eb76fc6391433c0b.tar.gz gentoo-2545fec8d0ff4095a0911b69eb76fc6391433c0b.tar.bz2 gentoo-2545fec8d0ff4095a0911b69eb76fc6391433c0b.zip |
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@gentoo.org>
Diffstat (limited to 'games-board/stockfish')
-rw-r--r-- | games-board/stockfish/stockfish-15-r1.ebuild (renamed from games-board/stockfish/stockfish-15.ebuild) | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/games-board/stockfish/stockfish-15.ebuild b/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") \ |