mirror of
https://github.com/Abdess/retroarch_system.git
synced 2026-10-21 03:09:08 -05:00
fix: clone MAME and FBNeo sources per process
This commit is contained in:
1 parent
4130abb7bc
commit
3584acada0
3 files changed
+20
-2
No files matched your search
@@ -29,7 +29,8 @@ log = logging.getLogger(__name__)
|
||||
|
||||
REPO_URL = "https://github.com/finalburnneo/FBNeo.git"
|
||||
REPO_ROOT = Path(__file__).resolve().parent.parent.parent
|
||||
CLONE_DIR = REPO_ROOT / "tmp" / "fbneo"
|
||||
# One clone per process, for the reason mame_hash_scraper gives.
|
||||
CLONE_DIR = REPO_ROOT / "tmp" / f"fbneo-{os.getpid()}"
|
||||
CACHE_PATH = REPO_ROOT / "data" / "fbneo-hashes.json"
|
||||
EMULATORS_DIR = REPO_ROOT / "emulators"
|
||||
STALE_HOURS = 24
|
||||
|
||||
@@ -31,7 +31,9 @@ log = logging.getLogger(__name__)
|
||||
|
||||
_ROOT = Path(__file__).resolve().parents[2]
|
||||
_CACHE_PATH = _ROOT / "data" / "mame-hashes.json"
|
||||
_CLONE_DIR = _ROOT / "tmp" / "mame"
|
||||
# One clone per process: a fixed tmp/mame was removed and recloned at another
|
||||
# release by a second run while the first was still parsing it.
|
||||
_CLONE_DIR = _ROOT / "tmp" / f"mame-{os.getpid()}"
|
||||
_EMULATORS_DIR = _ROOT / "emulators"
|
||||
_REPO_URL = "https://github.com/mamedev/mame.git"
|
||||
_STALE_HOURS = 24
|
||||
|
||||
Reference in new issue
Block a user