Engines have specific Operating Systems they support

This commit is contained in:
andrew committed 2023-06-26 03:29:10 -04:00
1 parent abb924a02b
commit ef1f23503b
20 files changed
+44 -18

No files matched your search

+4
View File
@@ -317,6 +317,10 @@ class ServerReporter(object):
class Cutechess(object):
## Handles building the very long string of arguments that need to be passed
## to cutechess in order to launch a set of games. Operates on the Configuration,
## and a small number of secondary arguments that are not housed in the Configuration
@staticmethod
def basic_settings(config, socket):
+2 -1
View File
@@ -12,7 +12,8 @@
"build" : {
"path" : "",
"compilers" : ["g++"],
"cpuflags" : ["POPCNT"]
"cpuflags" : ["POPCNT"],
"systems" : ["Windows", "Linux"]
},
"testmodes" : {
+2 -1
View File
@@ -12,7 +12,8 @@
"build" : {
"path" : "src",
"compilers" : ["gcc"],
"cpuflags" : ["AVX2", "FMA", "POPCNT"]
"cpuflags" : ["AVX2", "FMA", "POPCNT"],
"systems" : ["Windows", "Linux"]
},
"testmodes" : {
+2 -1
View File
@@ -12,7 +12,8 @@
"build" : {
"path" : "src",
"compilers" : ["g++"],
"cpuflags" : ["POPCNT"]
"cpuflags" : ["POPCNT"],
"systems" : ["Windows", "Linux"]
},
"testmodes" : {
+2 -1
View File
@@ -12,7 +12,8 @@
"build" : {
"path" : "",
"compilers" : ["cargo>=1.57.0"],
"cpuflags" : [ "AVX2", "FMA", "POPCNT"]
"cpuflags" : ["AVX2", "FMA", "POPCNT"],
"systems" : ["Windows", "Linux"]
},
"testmodes" : {
+2 -1
View File
@@ -12,7 +12,8 @@
"build" : {
"path" : "src",
"compilers" : ["clang", "gcc"],
"cpuflags" : ["POPCNT"]
"cpuflags" : ["POPCNT"],
"systems" : ["Windows", "Linux"]
},
"testmodes" : {
+2 -1
View File
@@ -12,7 +12,8 @@
"build" : {
"path" : "",
"compilers" : ["g++"],
"cpuflags" : ["POPCNT"]
"cpuflags" : ["POPCNT"],
"systems" : ["Windows", "Linux"]
},
"testmodes" : {
+2 -1
View File
@@ -12,7 +12,8 @@
"build" : {
"path" : "src",
"compilers" : ["clang", "gcc"],
"cpuflags" : ["AVX2", "FMA", "POPCNT"]
"cpuflags" : ["AVX2", "FMA", "POPCNT"],
"systems" : ["Windows", "Linux"]
},
"testmodes" : {
+2 -1
View File
@@ -12,7 +12,8 @@
"build" : {
"path" : "",
"compilers" : ["cargo>=1.41.0"],
"cpuflags" : ["POPCNT"]
"cpuflags" : ["POPCNT"],
"systems" : ["Windows", "Linux"]
},
"testmodes" : {
+2 -1
View File
@@ -12,7 +12,8 @@
"build" : {
"path" : "src",
"compilers" : ["g++"],
"cpuflags" : ["POPCNT"]
"cpuflags" : ["POPCNT"],
"systems" : ["Windows", "Linux"]
},
"testmodes" : {
+2 -1
View File
@@ -12,7 +12,8 @@
"build" : {
"path" : "src",
"compilers" : ["g++"],
"cpuflags" : ["POPCNT"]
"cpuflags" : ["POPCNT"],
"systems" : ["Windows", "Linux"]
},
"testmodes" : {
+2 -1
View File
@@ -12,7 +12,8 @@
"build" : {
"path" : "src_files",
"compilers" : ["g++"],
"cpuflags" : ["AVX2", "FMA", "POPCNT"]
"cpuflags" : ["AVX2", "FMA", "POPCNT"],
"systems" : ["Windows", "Linux"]
},
"testmodes" : {
+2 -1
View File
@@ -12,7 +12,8 @@
"build" : {
"path" : "src",
"compilers" : ["g++"],
"cpuflags" : ["POPCNT"]
"cpuflags" : ["POPCNT"],
"systems" : ["Windows", "Linux"]
},
"testmodes" : {
+2 -1
View File
@@ -12,7 +12,8 @@
"build" : {
"path" : "src",
"compilers" : ["g++"],
"cpuflags" : ["POPCNT"]
"cpuflags" : ["POPCNT"],
"systems" : ["Windows", "Linux"]
},
"testmodes" : {
+2 -1
View File
@@ -12,7 +12,8 @@
"build" : {
"path" : "build",
"compilers" : ["g++>=9.0.0"],
"cpuflags" : ["AVX2", "FMA", "POPCNT"]
"cpuflags" : ["AVX2", "FMA", "POPCNT"],
"systems" : ["Windows", "Linux"]
},
"testmodes" : {
+2 -1
View File
@@ -12,7 +12,8 @@
"build" : {
"path" : "src",
"compilers" : ["gcc", "clang"],
"cpuflags" : ["POPCNT"]
"cpuflags" : ["POPCNT"],
"systems" : ["Windows", "Linux"]
},
"testmodes" : {
+2 -1
View File
@@ -12,7 +12,8 @@
"build" : {
"path" : "src",
"compilers" : ["gcc"],
"cpuflags" : ["POPCNT"]
"cpuflags" : ["POPCNT"],
"systems" : ["Windows", "Linux"]
},
"testmodes" : {
+2 -1
View File
@@ -12,7 +12,8 @@
"build" : {
"path" : "",
"compilers" : ["clang++", "g++"],
"cpuflags" : ["POPCNT"]
"cpuflags" : ["POPCNT"],
"systems" : ["Windows", "Linux"]
},
"testmodes" : {
+2 -1
View File
@@ -12,7 +12,8 @@
"build" : {
"path" : "",
"compilers" : ["go"],
"cpuflags" : ["AVX", "POPCNT"]
"cpuflags" : ["AVX", "POPCNT"],
"systems" : ["Windows", "Linux"]
},
"testmodes" : {
+4
View File
@@ -628,6 +628,10 @@ def client_worker_info(request):
if not data['private'] and engine not in machine.info['compilers'].keys():
continue
# Must match the Operating Systems supported by the engine
if machine.info['os_name'] not in data['build']['systems']:
continue
# All requirements are met, and this Machine can play with the given engine
machine.info['supported'].append(engine)