你已经派生过 gprMax
镜像自地址
https://gitee.com/sunhf/gprMax.git
已同步 2025-08-07 15:10:13 +08:00
Change template location
这个提交包含在:
6
setup.py
6
setup.py
@@ -48,7 +48,7 @@ def build_dispersive_material_templates():
|
||||
|
||||
iswin = True if sys.platform == 'win32' else False
|
||||
|
||||
env = Environment(loader = FileSystemLoader(os.path.join('gprMax', 'templates')), )
|
||||
env = Environment(loader = FileSystemLoader(os.path.join('gprMax', 'cython')), )
|
||||
|
||||
template = env.get_template('fields_updates_dispersive_template')
|
||||
|
||||
@@ -179,7 +179,9 @@ else:
|
||||
# implies -pthread
|
||||
elif sys.platform == 'darwin':
|
||||
# Check for Intel or Apple M series CPU
|
||||
cpuID = subprocess.check_output("sysctl -n machdep.cpu.brand_string", shell=True, stderr=subprocess.STDOUT).decode('utf-8').strip()
|
||||
cpuID = subprocess.check_output("sysctl -n machdep.cpu.brand_string",
|
||||
shell=True,
|
||||
stderr=subprocess.STDOUT).decode('utf-8').strip()
|
||||
cpuID = ' '.join(cpuID.split())
|
||||
if 'Apple' in cpuID:
|
||||
gccpath = glob.glob('/opt/homebrew/bin/gcc-[4-9]*')
|
||||
|
在新工单中引用
屏蔽一个用户