Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Compiling crafty 19.20 for single CPU windows

Author: Robert Hyatt

Date: 08:02:45 08/24/05

Go up one level in this thread


On August 24, 2005 at 07:36:35, Andreas Stabel wrote:

>I've just done this and had to change a couple of things.
>I put them here so Mr. Hyatt perhaps can do it to the official source and
>others can correct or add to what I've done.
>
>1. Makefile.nt:
>   Remove phase.c from everywhere
>   Remove option /GS- from CFLAGS definition
>   To make single CPU build: Remove COPTS definitions
>
>2. init.c
>   Put #if defined(SMP)
>   around the "NUMA work" code from line 284 to 317 (before
>InitializeHashTables();)
>
>3. utility.c
>   Before line 2570: return WinMalloc(size, tid);
>   Put #  if !defined(SMP)  /* (Note the !) */
>          return (malloc(size));
>       #else
>
>   and after the 2570 line put #endif
>
>Regards
>Andreas


Thanks, I was just getting ready to dig into this.  I hope to have it fixed in a
couple of hours, max...




This page took 0 seconds to execute

Last modified: Thu, 15 Apr 21 08:11:13 -0700

Current Computer Chess Club Forums at Talkchess. This site by Sean Mintz.