Commit 03e02e6c authored by rusty1s's avatar rusty1s
Browse files

[ci skip]

parent 26823fc5
......@@ -33,6 +33,9 @@ def get_extensions():
extra_compile_args = {'cxx': ['-O2']}
extra_link_args = ['-s']
if sys.platform == 'win32':
extra_compile_args['cxx'].append('/Zm500')
info = parallel_info()
if ('backend: OpenMP' in info and 'OpenMP not found' not in info
and sys.platform != 'darwin'):
......@@ -50,6 +53,8 @@ def get_extensions():
nvcc_flags = [] if nvcc_flags == '' else nvcc_flags.split(' ')
nvcc_flags += ['--expt-relaxed-constexpr', '-O2']
extra_compile_args['nvcc'] = nvcc_flags
if sys.platform == 'win32':
extra_compile_args['nvcc'].append('/Zm500')
name = main.split(os.sep)[-1][:-4]
sources = [main]
......
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