Skip to content

Commit a652c1e

Browse files
committed
Remove bhlib from setup.py
1 parent c47e5a5 commit a652c1e

File tree

1 file changed

+1
-16
lines changed

1 file changed

+1
-16
lines changed

setup.py

Lines changed: 1 addition & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -96,16 +96,10 @@ def glob_cfiles(path, excludes, extension="*.c"):
9696
fmm_sources += glob_cfiles(FMMLIB_DIR, excludes=[], extension="*.c")
9797

9898

99-
bh_sources = []
100-
bh_sources.append(os.path.join(BHLIB_DIR, 'bh.pyx'))
101-
bh_sources += glob_cfiles(BHLIB_DIR, excludes=["bh.cpp"], extension="*.cpp")
102-
bh_sources += glob_cfiles(BHLIB_DIR, excludes=[], extension="*.c")
103-
104-
10599
com_libs = ['m', 'fftw3_omp', 'fftw3', 'sundials_cvodes',
106100
'sundials_nvecserial', 'sundials_nvecopenmp', 'blas', 'lapack']
107101

108-
com_args = ['-std=c99', '-O3', '-Wno-cpp', '-Wno-unused-function', '-Wall']
102+
com_args = ['-O3', '-Wno-cpp', '-Wno-unused-function', '-Wall']
109103

110104

111105

@@ -227,15 +221,6 @@ def glob_cfiles(path, excludes, extension="*.c"):
227221
extra_compile_args=com_args,
228222
extra_link_args=com_link,
229223
),
230-
231-
Extension("fidimag.extensions.bh",
232-
sources=bh_sources,
233-
include_dirs=com_inc,
234-
libraries=com_libs,
235-
library_dirs=lib_paths, runtime_library_dirs=lib_paths,
236-
extra_compile_args=com_args,
237-
extra_link_args=com_link,
238-
),
239224
]
240225

241226

0 commit comments

Comments
 (0)