Summary: | games-board/stockfish-6-r1 does not respect CC | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Nikoli <nikoli> |
Component: | [OLD] Games | Assignee: | No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it <maintainer-needed> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | mjo |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 243502 |
I think I fixed this with a hack... this package has a whitelist of compilers that it will accept but I tricked it into thinking we're Travis CI so that it would use the value of $CXX that we tell it to. Let me know if you run into any problems. commit 81b7f2c2f3cccfa1d8d51eab895d2bc2b52526d5 Author: Michael Orlitzky <mjo@gentoo.org> Date: Wed Aug 24 19:54:16 2016 -0400 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 |
>>> Compiling source in /var/tmp/portage/games-board/stockfish-6-r1/work/stockfish-6-src/src ... make -j9 build ARCH=x86-64-modern debug=no optimize=yes make ARCH=x86-64-modern COMP=gcc config-sanity make[1]: Entering directory '/var/tmp/portage/games-board/stockfish-6-r1/work/stockfish-6-src/src' Config: debug: 'no' optimize: 'yes' arch: 'x86_64' bits: '64' prefetch: 'yes' bsfq: 'yes' popcnt: 'yes' sse: 'yes' pext: 'no' Flags: CXX: g++ CXXFLAGS: -march=corei7-avx -O2 -pipe -Wall -Wcast-qual -fno-exceptions -fno-rtti -ansi -pedantic -Wno-long-long -Wextra -Wshadow -DNDEBUG -O3 -DIS_64BIT -msse -DUSE_BSFQ -msse3 -mpopcnt -DUSE_POPCNT -flto -Wall -Wcast-qual -fno-exceptions -fno-rtti -ansi -pedantic -Wno-long-long -Wextra -Wshadow -DNDEBUG -O3 -DIS_64BIT -msse -DUSE_BSFQ -msse3 -mpopcnt -DUSE_POPCNT -flto LDFLAGS: -Wl,--hash-style=gnu -Wl,-O1 -Wl,--as-needed -lpthread -march=corei7-avx -O2 -pipe -Wall -Wcast-qual -fno-exceptions -fno-rtti -ansi -pedantic -Wno-long-long -Wextra -Wshadow -DNDEBUG -O3 -DIS_64BIT -msse -DUSE_BSFQ -msse3 -mpopcnt -DUSE_POPCNT -flto -lpthread -march=corei7-avx -O2 -pipe -Wall -Wcast-qual -fno-exceptions -fno-rtti -ansi -pedantic -Wno-long-long -Wextra -Wshadow -DNDEBUG -O3 -DIS_64BIT -msse -DUSE_BSFQ -msse3 -mpopcnt -DUSE_POPCNT -flto -Wall -Wcast-qual -fno-exceptions -fno-rtti -ansi -pedantic -Wno-long-long -Wextra -Wshadow -DNDEBUG -O3 -DIS_64BIT -msse -DUSE_BSFQ -msse3 -mpopcnt -DUSE_POPCNT -flto Testing config sanity. If this fails, try 'make help' ... make[1]: Leaving directory '/var/tmp/portage/games-board/stockfish-6-r1/work/stockfish-6-src/src' make ARCH=x86-64-modern COMP=gcc all make[1]: Entering directory '/var/tmp/portage/games-board/stockfish-6-r1/work/stockfish-6-src/src' g++ -march=corei7-avx -O2 -pipe -Wall -Wcast-qual -fno-exceptions -fno-rtti -ansi -pedantic -Wno-long-long -Wextra -Wshadow -DNDEBUG -O3 -DIS_64BIT -msse -DUSE_BSFQ -msse3 -mpopcnt -DUSE_POPCNT -flto -Wall -Wcast-qual -fno-exceptions -fno-rtti -ansi -pedantic -Wno-long-long -Wextra -Wshadow -DNDEBUG -O3 -DIS_64BIT -msse -DUSE_BSFQ -msse3 -mpopcnt -DUSE_POPCNT -flto -c -o benchmark.o benchmark.cpp g++ -march=corei7-avx -O2 -pipe -Wall -Wcast-qual -fno-exceptions -fno-rtti -ansi -pedantic -Wno-long-long -Wextra -Wshadow -DNDEBUG -O3 -DIS_64BIT -msse -DUSE_BSFQ -msse3 -mpopcnt -DUSE_POPCNT -flto -Wall -Wcast-qual -fno-exceptions -fno-rtti -ansi -pedantic -Wno-long-long -Wextra -Wshadow -DNDEBUG -O3 -DIS_64BIT -msse -DUSE_BSFQ -msse3 -mpopcnt -DUSE_POPCNT -flto -c -o bitbase.o bitbase.cpp