20 lines
306 B
Python
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
|