From 4e9091816b92d84186cc529eef5968c06e0b6230 Mon Sep 17 00:00:00 2001 From: Joschka Roffe Date: Sun, 26 Nov 2023 07:27:02 +0000 Subject: [PATCH] extra link args --- setup.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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++", ) )