Bug#329073: crafty: build with libnuma

2005-12-01 Thread Christoph Berg
Re: To Debian Bug Tracking System in [EMAIL PROTECTED]
 It still doesn't build on amd64:

Hi, the fix for that was just uploaded to Delayed/7, patch below.

diff -u crafty-20.0/Makefile crafty-20.0/Makefile
--- crafty-20.0/Makefile
+++ crafty-20.0/Makefile
@@ -497,7 +497,7 @@
 egtb.o: egtb.cpp
$(CXX) -c $(CXFLAGS) $(opts) egtb.cpp
 clean:
-   -rm -f *.o crafty
+   -rm -f *.o *.gcno crafty
 
 $(objects): $(includes)
 
diff -u crafty-20.0/debian/changelog crafty-20.0/debian/changelog
--- crafty-20.0/debian/changelog
+++ crafty-20.0/debian/changelog
@@ -1,3 +1,14 @@
+crafty (20.0-1.1) unstable; urgency=low
+
+  [ Ian Wienand ]
+  * Non maintainer upload.
+  * Add libnuma dependency (Closes: #329073).
+
+  [ Christoph Berg ]
+  * Remove object files on clean (Closes: #337576).
+
+ -- Christoph Berg [EMAIL PROTECTED]  Fri,  2 Dec 2005 01:37:16 +0100
+
 crafty (20.0-1) unstable; urgency=low
 
   * New upstream release.
diff -u crafty-20.0/debian/control crafty-20.0/debian/control
--- crafty-20.0/debian/control
+++ crafty-20.0/debian/control
@@ -1,7 +1,7 @@
 Source: crafty
 Section: non-free/games
 Priority: optional
-Build-Depends: debhelper ( 2.0.0)
+Build-Depends: debhelper ( 2.0.0), libnuma-dev
 Maintainer: Eric Van Buggenhaut [EMAIL PROTECTED]
 Uploaders: Lukas Geyer [EMAIL PROTECTED]
 Standards-Version: 3.6.2
diff -u crafty-20.0/changelog crafty-20.0/changelog
--- crafty-20.0/changelog
+++ crafty-20.0/changelog
@@ -3065,6 +3065,107 @@
  *   opponent has a protected passer, which easily negates the outside 
*
  *   passer's threat.  
*
  * 
*
+ *   19.15   fix to outside passed pawn code that requires pawns on both sides 
*
+ *   of the board for the side with an outside passer or outside
*
+ *   candidate to avoid some bizarre evaluations. sel 0/0 now works   
*
+ *   without crashing Crafty.  this would fail in previous versions as 
*
+ *   the hash signature would be modified but not restored.  slightly  
*
+ *   more conservative limit on using null-move search to head off a   
*
+ *   few notable zugzwang problems was added.  fix to time control 
*
+ *   code to remove a hole that could cause a divide-by-zero at a time 
*
+ *   control boundary.  Stonewall detection removed completely as it   
*
+ *   appears to be no longer needed.  rook scoring changed to better   
*
+ *   evaluate open files by measuring mobility on them.  complete
*
+ *   removal of Phase() (phase.c) and references to the opening,   
*
+ *   middlegame and endgame phases as they were no longer referenced   
*
+ *   anywhere in the code. 
*
+ * 
*
+ *   19.16   fix to Trojan code to eliminate the time limit exclusion since  
*
+ *   many users still have old and slow hardware, and the time limit   
*
+ *   was not set correctly when PreEvaluate() was called anyway.  the  
*
+ *   code to display fail-high/fail-low information was cleaned up so  
*
+ *   that the +1 or +3 now makes sense from the black side where the   
*
+ *   score is really going down (good for black) rather than showing   
*
+ *   a +3 fail high (when Crafty is black) and the score is really 
*
+ *   going to drop (get better for black).  Now the fail-high-fail-low 
*
+ *   +/- sign is also relative to +=good for white like the scores 
*
+ *   have been for years.  adjustments to pawn evaluation terms to 
*
+ *   improve the scoring balance.  new now terminates parallel   
*
+ *   threads (they will be re-started when needed) so that we don't
*
+ *   burn CPU time when not actually playing a game.   
*
+ * 
*
+ *   19.17   changes to pawn evaluation to limit positional scores that could  
*
+ *   get a bit out of sane boundaries in some positions.   
*
+ * 
*
+ *   19.18   HashProbe() no longer adjusts alpha/beta bounds if the entry is   
*
+ *   not good enough to terminate the search here.  this has helped
*
+ *   speed things up (reduced size of tree) over many test positions   
*
+ *   so either it was buggy or not worthwhile.  regardless, it is now  
*
+ *   'gone'.  connected passed pawns now scored as a simple pair of
*
+ *   pawns that are better as they are advanced, the old connected 
*
+ *   passed pawns on the 6th rank special code has been removed.   
*
+ *  

Bug#329073: crafty: build with libnuma

2005-11-09 Thread Christoph Berg
Re: Ian Wienand in [EMAIL PROTECTED]
 I think a better solution is to require libnuma, suggested patch below
 
 -Build-Depends: debhelper ( 2.0.0)
 +Build-Depends: debhelper ( 2.0.0), libnuma-dev

It still doesn't build on amd64:

gcc -Wall -pipe -D_REENTRANT -fbranch-probabilities 
-fomit-frame-pointer -O3 -march=k8 -DTBDIR=\/var/lib/crafty/TB\ -DTABLEBASES 
-DFAST -DSMP -DNUMA -DLIBNUMA -DCPUS=8   -DFUTILITY -DUSE_ASSEMBLY 
-DINLINE_AMD -DLINUX -c iterate.c
iterate.c: In function ‘SetRootAlpha’:
iterate.c:633: note: file iterate.gcda not found, execution counts estimated
gcc -Wall -pipe -D_REENTRANT -fbranch-probabilities 
-fomit-frame-pointer -O3 -march=k8 -DTBDIR=\/var/lib/crafty/TB\ -DTABLEBASES 
-DFAST -DSMP -DNUMA -DLIBNUMA -DCPUS=8   -DFUTILITY -DUSE_ASSEMBLY 
-DINLINE_AMD -DLINUX -c main.c
main.c:12:20: error: numa.h: Datei oder Verzeichnis nicht gefunden
main.c: In function ‘main’:
main.c:3212: warning: implicit declaration of function ‘numa_available’
main.c:3215: warning: implicit declaration of function ‘numa_node_to_cpus’
main.c:3217: warning: implicit declaration of function ‘numa_max_node’
make[3]: *** [main.o] Fehler 1
make[3]: Verlasse Verzeichnis »/srv/debian/sponsor/crafty/crafty-20.0«
make[2]: *** [crafty-make] Fehler 2
make[2]: Verlasse Verzeichnis »/srv/debian/sponsor/crafty/crafty-20.0«
make[1]: *** [linux-amd64] Fehler 2
make[1]: Verlasse Verzeichnis »/srv/debian/sponsor/crafty/crafty-20.0«
make: *** [build-stamp] Fehler 2

The reason is numa.h being located in /usr/include/include, see
#338358.

Christoph
-- 
[EMAIL PROTECTED] | http://www.df7cb.de/


signature.asc
Description: Digital signature


Bug#329073: crafty: build with libnuma

2005-10-23 Thread Ian Wienand
Package: crafty
Version: 20.0-1
Followup-For: Bug #329073

Hi,

I think a better solution is to require libnuma, suggested patch below

--- control 2005-10-24 11:12:48.0 +1000
+++ control.old 2005-10-24 11:17:20.0 +1000
@@ -1,7 +1,7 @@
 Source: crafty
 Section: non-free/games
 Priority: optional
-Build-Depends: debhelper ( 2.0.0)
+Build-Depends: debhelper ( 2.0.0), libnuma-dev
 Maintainer: Eric Van Buggenhaut [EMAIL PROTECTED]
 Uploaders: Lukas Geyer [EMAIL PROTECTED]
 Standards-Version: 3.6.2

-i
[EMAIL PROTECTED]
http://www.gelato.unsw.edu.au


-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: ia64
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.14-rc4-gbb7e257e
Locale: LANG=en_AU, LC_CTYPE=en_AU (charmap=ISO-8859-1)


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]