Commit c00a867e authored by Zixian Cai's avatar Zixian Cai

Fix get_zebu_ver

parent 31b70de4
......@@ -29,3 +29,5 @@ WEB_POI_REPO = "mu-impl-fast"
WEB_POI_HOST = "angus"
WEB_RESULT_DIR = "../results"
WEB_SECRET = os.urandom(24)
ENVIRON = {}
......@@ -104,8 +104,11 @@ def get_hostname():
def get_zebu_ver():
mudir = Path(settings.ENVIRON["MU_ZEBU"])
libmu_dir = mudir / 'target' / settings.ENVIRON.get('ZEBU_BUILD', 'release')
mudir = Path(settings.ENVIRON.get("MU_ZEBU", os.environ.get("MU_ZEBU")))
libmu_dir = mudir / 'target' / settings.ENVIRON.get('ZEBU_BUILD',
os.environ.get(
"ZEBU_BUILD",
"release"))
if platform.system() == "Linux":
dll_ext = ".so"
elif platform.system() == "Darwin":
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment