mirror of https://github.com/Jittor/Jittor
polish win path order
This commit is contained in:
parent
ad015f13f5
commit
66d9df2f82
|
@ -9,7 +9,7 @@
|
||||||
# file 'LICENSE.txt', which is part of this source code package.
|
# file 'LICENSE.txt', which is part of this source code package.
|
||||||
# ***************************************************************
|
# ***************************************************************
|
||||||
|
|
||||||
__version__ = '1.3.0.6'
|
__version__ = '1.3.0.7'
|
||||||
from jittor_utils import lock
|
from jittor_utils import lock
|
||||||
with lock.lock_scope():
|
with lock.lock_scope():
|
||||||
ori_int = int
|
ori_int = int
|
||||||
|
|
|
@ -1092,7 +1092,7 @@ if os.name == 'nt':
|
||||||
if path not in win_libpaths:
|
if path not in win_libpaths:
|
||||||
win_libpaths[path] = 1
|
win_libpaths[path] = 1
|
||||||
os.add_dll_directory(path)
|
os.add_dll_directory(path)
|
||||||
os.environ["PATH"] += f";{path};"
|
os.environ["PATH"] = f";{path};" + os.environ["PATH"]
|
||||||
output2.append("-LIBPATH:"+f[2:])
|
output2.append("-LIBPATH:"+f[2:])
|
||||||
elif ".lib" in f:
|
elif ".lib" in f:
|
||||||
output2.append(f)
|
output2.append(f)
|
||||||
|
|
Loading…
Reference in New Issue