mirror of https://github.com/Jittor/Jittor
add nvcc_path check
This commit is contained in:
parent
6a372f5f4f
commit
5d191e6247
|
@ -9,7 +9,7 @@
|
|||
# file 'LICENSE.txt', which is part of this source code package.
|
||||
# ***************************************************************
|
||||
|
||||
__version__ = '1.3.1.37'
|
||||
__version__ = '1.3.1.38'
|
||||
from jittor_utils import lock
|
||||
with lock.lock_scope():
|
||||
ori_int = int
|
||||
|
|
|
@ -974,6 +974,8 @@ if not nvcc_path:
|
|||
nvcc_path = try_find_exe(nvcc_path)
|
||||
if nvcc_path is None:
|
||||
nvcc_path = ""
|
||||
if "nvcc_path" in os.environ:
|
||||
nvcc_path = os.environ["nvcc_path"]
|
||||
gdb_path = env_or_try_find('gdb_path', 'gdb')
|
||||
addr2line_path = try_find_exe('addr2line')
|
||||
has_pybt = check_pybt(gdb_path, python_path)
|
||||
|
|
Loading…
Reference in New Issue