diff --git a/setup.py b/setup.py index c7fb859..8a07efc 100755 --- a/setup.py +++ b/setup.py @@ -103,10 +103,8 @@ def generate_cython_stub_file(pyx_filepath: str, output_filepath: str) -> None: if sys.platform == "win32": compile_flags = ["/Ox", "/std:c++20",'-fopenmp'] - extra_link_args =['-lgomp','-fopenmp'], else: compile_flags = ["-std=c++2a", "-O3",'-fopenmp'] - extra_link_args =['-lgomp','-fopenmp'], this_directory = Path(__file__).parent @@ -125,7 +123,7 @@ def generate_cython_stub_file(pyx_filepath: str, output_filepath: str) -> None: library_dirs=[], include_dirs=[np.get_include(),'src_cpp', 'include/robin_map','include/ldpc/src_cpp'], extra_compile_args=compile_flags, - extra_link_args=extra_link_args, + extra_link_args=[], language="c++", ) )