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

Commit a71e9f9

Browse files
author
Ehsan Totoni
committed
fix setup.py hio dep
1 parent b851138 commit a71e9f9

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

setup.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -99,18 +99,18 @@ def readme():
9999
H5_CPP_FLAGS = [('H5_BUILT_AS_DYNAMIC_LIB', None)]
100100

101101
hdf5_libs = MPI_LIBS + ['hdf5']
102+
io_libs = MPI_LIBS
102103
if not is_win:
103-
hdf5_libs += ['boost_filesystem', 'boost_system']
104+
io_libs += ['boost_filesystem', 'boost_system']
104105

105106
ext_io = Extension(name="hio",
106107
sources=["hpat/io/_io.cpp", "hpat/io/_csv.cpp"],
107108
depends=["hpat/_hpat_common.h", "hpat/_distributed.h",
108109
"hpat/_import_py.h", "hpat/io/_csv.h",
109110
"hpat/_datetime_ext.h"],
110-
libraries = [],
111-
include_dirs = ([HDF5_DIR+'/include',] + ind
112-
+ np_compile_args['include_dirs']),
113-
library_dirs = [HDF5_DIR+'/lib',] + lid,
111+
libraries = io_libs,
112+
include_dirs = ind + np_compile_args['include_dirs'],
113+
library_dirs = lid,
114114
define_macros = H5_CPP_FLAGS,
115115
extra_compile_args = eca,
116116
extra_link_args = ela,

0 commit comments

Comments
 (0)