Files
semios-packages/lib/arch.py
T
sisungo 3d480b48f3 Initial commit
Signed-off-by: sisungo <[email protected]>
2026-06-08 16:43:26 +08:00

20 lines
306 B
Python

import os
from . import packie
all: dict[str, dict[str, str]] = {
"aarch64-semios-linux": {},
}
_target: str = packie.host_arch()
def get_target():
return _target
def set_target(arch: str):
global _target
_target = arch
for key, val in all[_target]:
os.environ[key] = val