New J.A Compiles

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

Moderator: Ras

User avatar
Jim Ablett
Posts: 2084
Joined: Fri Jul 14, 2006 7:56 am
Location: London, England
Full name: Jim Ablett

Re: New J.A Compiles

Post by Jim Ablett »

Image
https://github.com/hansbinderup/meltdown-chess-engine
Meltdown 1.6 by Hans Binderup

Meltdown 1.6 64 JA

Windows/Linux & Android profiled builds

Proton link:
https://drive.proton.me/urls/K9H5CN8ZQ4#LFpuSFkbiBzg

Smash link:
https://fromsmash.com/Meltdown16JA

Jim.
User avatar
Jim Ablett
Posts: 2084
Joined: Fri Jul 14, 2006 7:56 am
Location: London, England
Full name: Jim Ablett

Re: Automated Obsidian builder script JA

Post by Jim Ablett »

Jim Ablett wrote: Sat May 31, 2025 7:49 pm
Jim Ablett wrote: Fri May 30, 2025 9:16 am Image
Script Functionality
This Windows-only Python script is a comprehensive build system for the Obsidian
chess engine that:

• Automatically downloads and installs Git and WinLibs MinGW-w64 if needed
• Clones the Obsidian chess engine repository
• Applies SIMD-everywhere modifications for cross-platform compatibility
• Modifies various source files to use conditional includes
• Compiles the engine with specified build configurations
• Handles administrator privileges for file operations
• Supports multiple build types: native, sse2, ssse3, avx2, avx2-pext, avx512


Usage:

Make sure you have python installed on your system first (when not using executable version)
https://www.python.org/downloads/windows/

Make sure you have Git For Windows installed
https://git-scm.com/downloads/win

WinLibs MinGW-w64 will be auto-downloaded and installed the first time
then on subsequent builds the download will be skipped if already installed.


Run the executable or script from a Git Bash terminal (available from the right-click menu once
Git For Windows is installed).

Do not run the script from the Windows terminal.

Script will check to see if there is a new version of Obsidian available to download
when it starts.


Choose one of these: (without options = native)

using executable:

./obsidian_builder
./obsidian_builder build=native
./obsidian_builder build=sse2
./obsidian_builder build=ssse3
./obsidian_builder build=avx2
./obsidian_builder build=avx2-pext
./obsidian_builder build=avx512

Add pgo on the end for profile guided optimized build. (takes longer to build)
e.g ./obsidian_builder build=avx512 pgo

pgo produces slightly faster builds for avx2/avx2-pext/avx512
pgo produces slower builds for sse2/ssse3


using python:

python obsidian_builder.py
python obsidian_builder.py build=native
python obsidian_builder.py build=sse2
python obsidian_builder.py build=ssse3
python obsidian_builder.py build=avx2
python obsidian_builder.py build=avx2-pext
python obsidian_builder.py build=avx512

Add pgo on the end for profile guided optimized build. (takes longer to build)
e.g python obsidian_builder.py build=avx512 pgo


Proton link:
https://drive.proton.me/urls/CZ6V0DZZNG#8WWpROJ76PJH

Smash link:
https://fromsmash.com/DevObsidianAutoBuilderJA

Jim.

For anyone having trouble downloading because of Antivirus alerts.

That's the executable version included. When a python script is converted to an executable it triggers antivirus unfortunately. I forgot it does that.

Here is a version without the executable

Proton link:
https://drive.proton.me/urls/6K2GXEQT40#5gQnNx4VW6Ng

Smash link:
https://fromsmash.com/DevObsidianAutoBuilderNoEXEJA

Jim.

I've updated the Proton link for the download with executable. I've packed the executable with warp packer which significantly reduces the antivirus triggers.

Jim.
Chris Formula
Posts: 105
Joined: Sun Aug 21, 2016 7:59 am
Full name: Chris Euler

Re: New J.A Compiles

Post by Chris Formula »

thanks Jim! perhaps add SSE4 as well? some are interested in it. https://github.com/gab8192/Obsidian/issues/13

Chris
User avatar
Jim Ablett
Posts: 2084
Joined: Fri Jul 14, 2006 7:56 am
Location: London, England
Full name: Jim Ablett

Re: New J.A Compiles

Post by Jim Ablett »

Chris Formula wrote: Sun Jun 01, 2025 5:23 am thanks Jim! perhaps add SSE4 as well? some are interested in it. https://github.com/gab8192/Obsidian/issues/13

Chris
I have updated the script.

Now has options - 'build=sse4' and 'build=all' to build separate builds for each cpu instruction set your cpu supports.
Added Linux compatibility to the script.

Proton link (same as before)
https://drive.proton.me/urls/CZ6V0DZZNG#8WWpROJ76PJH

Smash link:
https://fromsmash.com/DevObsidianAutoBuilder

Jim.
User avatar
Jim Ablett
Posts: 2084
Joined: Fri Jul 14, 2006 7:56 am
Location: London, England
Full name: Jim Ablett

Re: New J.A Compiles

Post by Jim Ablett »

Jim Ablett wrote: Sun Jun 01, 2025 1:21 pm
Chris Formula wrote: Sun Jun 01, 2025 5:23 am thanks Jim! perhaps add SSE4 as well? some are interested in it. https://github.com/gab8192/Obsidian/issues/13

Chris
I have updated the script.

Now has options - 'build=sse4' and 'build=all' to build separate builds for each cpu instruction set your cpu supports.
Added Linux compatibility to the script.

Proton link (same as before)
https://drive.proton.me/urls/CZ6V0DZZNG#8WWpROJ76PJH

Smash link:
https://fromsmash.com/DevObsidianAutoBuilder

Jim.
Delete old Obsidian folder before using new script.
Joseph
Posts: 32
Joined: Tue Jul 02, 2024 1:53 pm
Full name: Joseph Masa

Re: New J.A Compiles

Post by Joseph »

https://github.com/brunocodutra/cinder
Cinder 0.2.0 new version!
User avatar
Jim Ablett
Posts: 2084
Joined: Fri Jul 14, 2006 7:56 am
Location: London, England
Full name: Jim Ablett

Re: New J.A Compiles

Post by Jim Ablett »

Image
https://github.com/op12no2/lozza
Lozza 6 by Colin Jenkins

Lozza 6 64 JA

Standalone Windows executable.

Proton link:
https://drive.proton.me/urls/A51RCW1W7C#t4f7eSXYNRk8

Smash link:
https://fromsmash.com/Lozza6JA

Jim.