From 52c3489a9061c69cb1d4c03962baf940ff710923 Mon Sep 17 00:00:00 2001 From: Alexander Kalistratov Date: Mon, 31 Aug 2020 16:20:23 -0500 Subject: [PATCH 1/2] Add language='c++' to all native components --- setup.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/setup.py b/setup.py index be24b29c3..c684d0fab 100644 --- a/setup.py +++ b/setup.py @@ -144,6 +144,7 @@ def check_file_at_path(path2file): extra_link_args=ela, include_dirs=ind, library_dirs=lid, + language="c++" ) ext_chiframes = Extension(name="sdc.chiframes", @@ -153,6 +154,7 @@ def check_file_at_path(path2file): extra_link_args=ela, include_dirs=ind, library_dirs=lid, + language="c++" ) ext_set = Extension(name="sdc.hset_ext", @@ -161,6 +163,7 @@ def check_file_at_path(path2file): extra_link_args=ela, include_dirs=ind, library_dirs=lid, + language="c++" ) ext_sort = Extension(name="sdc.concurrent_sort", @@ -194,6 +197,7 @@ def check_file_at_path(path2file): extra_link_args=ela, include_dirs=np_compile_args['include_dirs'] + ind, library_dirs=np_compile_args['library_dirs'] + lid, + language="c++" ) ext_dt = Extension(name="sdc.hdatetime_ext", @@ -217,6 +221,7 @@ def check_file_at_path(path2file): extra_compile_args=eca, extra_link_args=ela, library_dirs=lid, + language="c++" ) _ext_mods = [ext_hdist, ext_chiframes, ext_set, ext_str, ext_dt, ext_io, ext_transport_seq, ext_sort] From 07008361fe12f151f5b4992443a1e6ed85a1c6f4 Mon Sep 17 00:00:00 2001 From: Alexander Kalistratov Date: Fri, 4 Sep 2020 08:39:43 -0500 Subject: [PATCH 2/2] Add -v flag --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index c684d0fab..e695bba6f 100644 --- a/setup.py +++ b/setup.py @@ -110,7 +110,7 @@ def check_file_at_path(path2file): ind = [PREFIX_DIR + '/include', ] lid = [PREFIX_DIR + '/lib', ] -eca = ['-std=c++11', "-O3", "-DTBB_PREVIEW_WAITING_FOR_WORKERS=1"] # '-g', '-O0'] +eca = ['-std=c++11', "-O3", "-DTBB_PREVIEW_WAITING_FOR_WORKERS=1", '-v'] # '-g', '-O0'] ela = ['-std=c++11', ] io_libs = []