你已经派生过 gprMax
镜像自地址
https://gitee.com/sunhf/gprMax.git
已同步 2025-08-07 04:56:51 +08:00
Added Note
这个提交包含在:
2
setup.py
2
setup.py
@@ -107,7 +107,7 @@ elif sys.platform == 'darwin':
|
|||||||
if gccpath:
|
if gccpath:
|
||||||
os.environ['CC'] = gccpath[0].split(os.sep)[-1]
|
os.environ['CC'] = gccpath[0].split(os.sep)[-1]
|
||||||
else:
|
else:
|
||||||
raise('Cannot find gcc in /usr/local/bin. gprMax requires gcc to be installed - easily done through the Homebrew package manager (http://brew.sh).')
|
raise('Cannot find gcc in /usr/local/bin. gprMax requires gcc to be installed - easily done through the Homebrew package manager (http://brew.sh). Note: gcc won't be installed with OpenMP support at first, reinstall gcc using brew without multilib support')
|
||||||
compile_args = ['-O3', '-fopenmp', '-w']
|
compile_args = ['-O3', '-fopenmp', '-w']
|
||||||
linker_args = ['-fopenmp']
|
linker_args = ['-fopenmp']
|
||||||
# Linux
|
# Linux
|
||||||
|
在新工单中引用
屏蔽一个用户