diff --git a/server/fishtest/api.py b/server/fishtest/api.py index 091f98e5f..21adbb861 100644 --- a/server/fishtest/api.py +++ b/server/fishtest/api.py @@ -25,7 +25,7 @@ on how frequently the main instance flushes its run cache. """ -WORKER_VERSION = 216 +WORKER_VERSION = 217 def validate_request(request): diff --git a/worker/games.py b/worker/games.py index c6b82c6bd..7c4acb82d 100644 --- a/worker/games.py +++ b/worker/games.py @@ -556,6 +556,13 @@ def make_targets(): def find_arch(compiler): """Find the best arch string based on the cpu/g++ capabilities and Makefile targets""" targets = make_targets() + + # recent SF support a native target + if "native" in targets: + print("Using native target architecture") + return "native" + + # older SF will need to fall back to this implementation props = gcc_props() if compiler == "g++" else clang_props() if is_64bit(): diff --git a/worker/sri.txt b/worker/sri.txt index d45de7556..b490913da 100644 --- a/worker/sri.txt +++ b/worker/sri.txt @@ -1 +1 @@ -{"__version": 216, "updater.py": "Mg+pWOgGA0gSo2TuXuuLCWLzwGwH91rsW1W3ixg3jYauHQpRMtNdGnCfuD1GqOhV", "worker.py": "+j8t596hJHgRde7jqxJibKLXPvgi1ygjM7cp/hKzEWF97aRCehCBiSEMsgkZkTUo", "games.py": "A1+dhkNt3mfL7rde3srtxVl0gDGDq3EaJNbmrKsQXON20bdCaC1sZSnB1VwLCQlw"} +{"__version": 217, "updater.py": "Mg+pWOgGA0gSo2TuXuuLCWLzwGwH91rsW1W3ixg3jYauHQpRMtNdGnCfuD1GqOhV", "worker.py": "cFunWo4iviMvzdV9b/8PTfOLoXbovy4hWwmGR6OI70agi5dkwoCJ07BoYwBU+xjd", "games.py": "+vQWJca7pOjAn9EBAV5KUb6JK2pwdtO4iu7Dl1Icnia/a7U3lWuyPHQ6XTC+3aRg"} diff --git a/worker/worker.py b/worker/worker.py index f39096c9c..372b94da7 100644 --- a/worker/worker.py +++ b/worker/worker.py @@ -54,7 +54,7 @@ # Several packages are called "expression". # So we make sure to use the locally installed one. -WORKER_VERSION = 216 +WORKER_VERSION = 217 FILE_LIST = ["updater.py", "worker.py", "games.py"] HTTP_TIMEOUT = 30.0 INITIAL_RETRY_TIME = 15.0