Skip to content
This repository has been archived by the owner on Feb 2, 2024. It is now read-only.

Add language='c++' to all native components #922

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 = []
Expand Down Expand Up @@ -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",
Expand All @@ -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",
Expand All @@ -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",
Expand Down Expand Up @@ -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",
Expand All @@ -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]
Expand Down