Spark 0.4 for Mac OSX released

Discussion of anything and everything relating to chess playing software and machines.

Moderators: hgm, Harvey Williamson, bob

Forum rules
This textbox is used to restore diagrams posted with the [d] tag before the upgrade.
Allard Siemelink
Posts: 297
Joined: Fri Jun 30, 2006 7:30 pm
Location: Netherlands
Contact:

Spark 0.4 for Mac OSX released

Post by Allard Siemelink » Mon Jun 14, 2010 9:56 pm

Spark 0.4 for Mac OSX, Intel 64-bit is now availabe from

http://members.ziggo.nl/allard.siemelink/spark/

User avatar
Marek Soszynski
Posts: 499
Joined: Wed May 10, 2006 5:28 pm
Location: Birmingham, England

Re: Spark 0.4 for Mac OSX released

Post by Marek Soszynski » Mon Jun 14, 2010 10:07 pm

What about Spark 0.5, which is already being tested by CCRL - when will that be on general release?
Marek Soszynski

zullil
Posts: 4878
Joined: Mon Jan 08, 2007 11:31 pm
Location: PA USA

Re: Spark 0.4 for Mac OSX released

Post by zullil » Mon Jun 14, 2010 10:09 pm

Allard Siemelink wrote:Spark 0.4 for Mac OSX, Intel 64-bit is now availabe from

http://members.ziggo.nl/allard.siemelink/spark/
Thanks. The binary works fine on my Core 2 Duo MacBook running OS X 10.6.3 (Snow Leopard).

Max
Posts: 171
Joined: Tue Apr 13, 2010 8:41 am

Re: Spark 0.4 for Mac OSX released

Post by Max » Tue Jun 15, 2010 9:23 am

Unfortunately Spark 0.4 does not run on Mac OS X 10.5.8 (Macbook with Core2Duo). Only this error message appears

Code: Select all

$ ./spark-0.4-osx-mp 
dyld: unknown required load command 0x80000022
Trace/BPT trap
The previous version does well

Code: Select all

$ ./spark-0.3a-mp 
spark-0.3a
(c) 2009-2010 AJ Siemelink

inifile=spark.ini

allocating hash...allocated 33554432 bytes=32Mb
starting threads...

initialized
% 
Allard, please don't forget us poor Leo users!

All the best,
Max

zullil
Posts: 4878
Joined: Mon Jan 08, 2007 11:31 pm
Location: PA USA

Re: Spark 0.4 for Mac OSX released

Post by zullil » Tue Jun 15, 2010 8:12 pm

Max wrote:Unfortunately Spark 0.4 does not run on Mac OS X 10.5.8 (Macbook with Core2Duo). Only this error message appears

Code: Select all

$ ./spark-0.4-osx-mp 
dyld: unknown required load command 0x80000022
Trace/BPT trap
The previous version does well

Code: Select all

$ ./spark-0.3a-mp 
spark-0.3a
(c) 2009-2010 AJ Siemelink

inifile=spark.ini

allocating hash...allocated 33554432 bytes=32Mb
starting threads...

initialized
% 
Allard, please don't forget us poor Leo users!

All the best,
Max
Perhaps Allard needs to recompile with

Code: Select all

$CFLAGS = -isysroot /Developer/SDKs/MacOSX10.5.sdk -mmacosx-version-min=10.5

Tord Romstad
Posts: 1808
Joined: Wed Mar 08, 2006 8:19 pm
Location: Oslo, Norway

Re: Spark 0.4 for Mac OSX released

Post by Tord Romstad » Tue Jun 15, 2010 8:23 pm

Thanks for the OS X binary, Allard! I wish more of the closed-source guys would release OS X binaries, and I look forward to testing Spark some time soon.
zullil wrote:Perhaps Allard needs to recompile with

Code: Select all

$CFLAGS = -isysroot /Developer/SDKs/MacOSX10.5.sdk -mmacosx-version-min=10.5
Worth a try, but it didn't do the trick for Stockfish. I still haven't been able to compile a binary compatible with 10.5.

By the way, I am very surprised that so many people are still using 10.5. I thought everybody would have upgraded by now. Snow Leopard is awesome, and the upgrade from Leopard is ridiculously cheap.

IanO
Posts: 450
Joined: Wed Mar 08, 2006 8:45 pm
Location: Portland, OR
Contact:

Re: Spark 0.4 for Mac OSX released

Post by IanO » Tue Jun 15, 2010 9:55 pm

Tord Romstad wrote:Thanks for the OS X binary, Allard! I wish more of the closed-source guys would release OS X binaries, and I look forward to testing Spark some time soon.
zullil wrote:Perhaps Allard needs to recompile with

Code: Select all

$CFLAGS = -isysroot /Developer/SDKs/MacOSX10.5.sdk -mmacosx-version-min=10.5
Worth a try, but it didn't do the trick for Stockfish. I still haven't been able to compile a binary compatible with 10.5.

By the way, I am very surprised that so many people are still using 10.5. I thought everybody would have upgraded by now. Snow Leopard is awesome, and the upgrade from Leopard is ridiculously cheap.
You also need to export a particular environment variable, to use the legacy linker format:

export MACOSX_DEPLOYMENT_TARGET="10.5"

Ian

zullil
Posts: 4878
Joined: Mon Jan 08, 2007 11:31 pm
Location: PA USA

Re: Spark 0.4 for Mac OSX released

Post by zullil » Tue Jun 15, 2010 10:35 pm

IanO wrote:
You also need to export a particular environment variable, to use the legacy linker format:

export MACOSX_DEPLOYMENT_TARGET="10.5"

Ian
Thanks. Will the resulting binary then work with both 10.5 and 10.6?

Allard Siemelink
Posts: 297
Joined: Fri Jun 30, 2006 7:30 pm
Location: Netherlands
Contact:

Re: Spark 0.4 for Mac OSX released

Post by Allard Siemelink » Wed Jun 16, 2010 11:30 am

Thanks, I've uploaded a new version, could you try if it is ok now?

http://members.ziggo.nl/allard.siemelink/spark/

Allard Siemelink
Posts: 297
Joined: Fri Jun 30, 2006 7:30 pm
Location: Netherlands
Contact:

Re: Spark 0.4 for Mac OSX released

Post by Allard Siemelink » Wed Jun 16, 2010 11:40 am

You're welcome. Anyway, building a mac version is not hard at all,
the changes compared to the linux version are minimal.
Just hope that the recompile (with -mmacosx-version-min=10.5) will work...
Tord Romstad wrote:Thanks for the OS X binary, Allard! I wish more of the closed-source guys would release OS X binaries, and I look forward to testing Spark some time soon.
zullil wrote:Perhaps Allard needs to recompile with

Code: Select all

$CFLAGS = -isysroot /Developer/SDKs/MacOSX10.5.sdk -mmacosx-version-min=10.5
Worth a try, but it didn't do the trick for Stockfish. I still haven't been able to compile a binary compatible with 10.5.

By the way, I am very surprised that so many people are still using 10.5. I thought everybody would have upgraded by now. Snow Leopard is awesome, and the upgrade from Leopard is ridiculously cheap.

Post Reply