Commit 7c83482a authored by Martin Reinecke's avatar Martin Reinecke
Browse files

cleanup

parent 31bc6009
Pipeline #75433 passed with stages
in 17 minutes and 40 seconds
prune mr_util
include gridder_cxx.h
include mr_util/infra/useful_macros.h
include mr_util/math/constants.h
include mr_util/math/gl_integrator.h
include mr_util/math/fft.h
include mr_util/math/fft1d.h
include mr_util/infra/mav.h
include mr_util/infra/threading.h
include mr_util/infra/aligned_array.h
include mr_util/infra/simd.h
include mr_util/math/cmplx.h
include mr_util/math/unity_roots.h
include mr_util/math/es_kernel.h
include mr_util/infra/error_handling.h
include mr_util/bindings/pybind_utils.h
include mr_util/infra/threading.cc
../src/mr_util/
\ No newline at end of file
from setuptools import setup, Extension
import sys
class _deferred_pybind11_include(object):
def __init__(self, user=False):
self.user = user
def __str__(self):
import pybind11
return pybind11.get_include(self.user)
include_dirs = ['./', _deferred_pybind11_include(True),
_deferred_pybind11_include()]
extra_compile_args = ['-Wall', '-Wextra', '-Wfatal-errors', '-Wstrict-aliasing=2', '-Wwrite-strings', '-Wredundant-decls', '-Woverloaded-virtual', '-Wcast-qual', '-Wcast-align', '-Wpointer-arith', '-Wfloat-conversion']
#, '-Wsign-conversion', '-Wconversion'
python_module_link_args = []
if sys.platform == 'darwin':
import distutils.sysconfig
extra_compile_args += ['--std=c++17', '--stdlib=libc++', '-mmacosx-version-min=10.9']
vars = distutils.sysconfig.get_config_vars()
vars['LDSHARED'] = vars['LDSHARED'].replace('-bundle', '')
python_module_link_args+=['-bundle']
else:
extra_compile_args += ['--std=c++17', '-march=native', '-O3', '-ffast-math']
python_module_link_args += ['-march=native', '-Wl,-rpath,$ORIGIN']
# if you don't want debugging info, add "-s" to python_module_link_args
def get_extension_modules():
return [Extension('nifty_gridder',
sources=['nifty_gridder.cc',
'mr_util/infra/threading.cc'],
depends=['mr_util/infra/useful_macros.h',
'mr_util/math/constants.h',
'mr_util/math/gl_integrator.h',
'mr_util/infra/error_handling.h',
'mr_util/math/fft.h',
'mr_util/math/fft1d.h',
'mr_util/infra/threading.h',
'mr_util/infra/aligned_array.h',
'mr_util/infra/simd.h',
'mr_util/infra/mav.h',
'mr_util/math/cmplx.h',
'mr_util/math/unity_roots.h',
'mr_util/math/es_kernel.h',
'mr_util/bindings/pybind_utils.h',
'gridder_cxx.h',
'setup.py'],
include_dirs=include_dirs,
extra_compile_args=extra_compile_args,
extra_link_args=python_module_link_args)]
setup(name='nifty_gridder',
version='0.0.1',
description='Gridding/Degridding helper library for NIFTy',
include_package_data=True,
author='Martin Reinecke',
author_email='martin@mpa-garching.mpg.de',
packages=[],
setup_requires=['numpy>=1.15.0', 'pybind11>=2.2.4'],
ext_modules=get_extension_modules(),
install_requires=['numpy>=1.15.0', 'pybind11>=2.2.4']
)
prune mr_util
include mr_util/infra/useful_macros.h
include mr_util/infra/mav.h
include mr_util/math/math_utils.h
include mr_util/math/space_filling.h
include mr_util/math/rangeset.h
include mr_util/infra/string_utils.h
include mr_util/math/geom_utils.h
include mr_util/math/pointing.h
include mr_util/math/vec3.h
include mr_util/math/constants.h
include mr_util/infra/error_handling.h
include mr_util/healpix/healpix_base.h
include mr_util/healpix/healpix_tables.h
include mr_util/bindings/pybind_utils.h
include mr_util/math/geom_utils.cc
include mr_util/math/pointing.cc
include mr_util/infra/string_utils.cc
include mr_util/math/space_filling.cc
include mr_util/healpix/healpix_base.cc
include mr_util/healpix/healpix_tables.cc
../src/mr_util/
\ No newline at end of file
from setuptools import setup, Extension
import sys
class _deferred_pybind11_include(object):
def __init__(self, user=False):
self.user = user
def __str__(self):
import pybind11
return pybind11.get_include(self.user)
include_dirs = ['.', _deferred_pybind11_include(True),
_deferred_pybind11_include()]
extra_compile_args = ['--std=c++17', '-march=native', '-ffast-math', '-O3']
python_module_link_args = []
define_macros = []
if sys.platform == 'darwin':
import distutils.sysconfig
extra_compile_args += ['-mmacosx-version-min=10.9']
python_module_link_args += ['-mmacosx-version-min=10.9', '-bundle']
vars = distutils.sysconfig.get_config_vars()
vars['LDSHARED'] = vars['LDSHARED'].replace('-bundle', '')
elif sys.platform == 'win32':
extra_compile_args = ['/Ox', '/EHsc', '/std:c++17']
else:
extra_compile_args += ['-Wfatal-errors', '-Wfloat-conversion','-W', '-Wall', '-Wstrict-aliasing=2', '-Wwrite-strings', '-Wredundant-decls', '-Woverloaded-virtual', '-Wcast-qual', '-Wcast-align', '-Wpointer-arith']
python_module_link_args += ['-march=native', '-Wl,-rpath,$ORIGIN']
# if you don't want debugging info, add "-s" to python_module_link_args
def get_extension_modules():
return [Extension('pyHealpix',
language='c++',
sources=['pyHealpix.cc',
'mr_util/math/geom_utils.cc',
'mr_util/math/pointing.cc',
'mr_util/infra/string_utils.cc',
'mr_util/math/space_filling.cc',
'mr_util/healpix/healpix_base.cc',
'mr_util/healpix/healpix_tables.cc'],
depends=['mr_util/infra/mav.h',
'mr_util/math/math_utils.h',
'mr_util/math/space_filling.h',
'mr_util/math/rangeset.h',
'mr_util/infra/string_utils.h',
'mr_util/math/geom_utils.h',
'mr_util/math/pointing.h',
'mr_util/math/vec3.h',
'mr_util/math/constants.h',
'mr_util/infra/error_handling.h',
'mr_util/healpix/healpix_base.h',
'mr_util/healpix/healpix_tables.h',
'mr_util/bindings/pybind_utils.h',
'setup.py'],
include_dirs=include_dirs,
define_macros=define_macros,
extra_compile_args=extra_compile_args,
extra_link_args=python_module_link_args)]
setup(name='pyHealpix',
version='0.0.1',
description='Python bindings for some HEALPix C++ functionality',
include_package_data=True,
author='Martin Reinecke',
author_email='martin@mpa-garching.mpg.de',
packages=[],
setup_requires=['numpy>=1.15.0', 'pybind11>=2.2.4'],
ext_modules=get_extension_modules(),
install_requires=['numpy>=1.15.0', 'pybind11>=2.2.4']
)
prune mr_util
include alm.h
include interpol_ng.h
include mr_util/math/fft1d.h
include mr_util/math/fft.h
include mr_util/infra/threading.h
include mr_util/infra/mav.h
include mr_util/math/math_utils.h
include mr_util/infra/aligned_array.h
include mr_util/math/gl_integrator.h
include mr_util/infra/simd.h
include mr_util/math/cmplx.h
include mr_util/infra/string_utils.h
include mr_util/infra/timers.h
include mr_util/math/constants.h
include mr_util/math/unity_roots.h
include mr_util/math/es_kernel.h
include mr_util/infra/error_handling.h
include mr_util/infra/useful_macros.h
include mr_util/bindings/pybind_utils.h
include mr_util/sharp/sharp.h
include mr_util/sharp/sharp_internal.h
include mr_util/sharp/sharp_geomhelpers.h
include mr_util/sharp/sharp_almhelpers.h
include mr_util/infra/threading.cc
include mr_util/infra/string_utils.cc
include mr_util/sharp/sharp.cc
include mr_util/sharp/sharp_core.cc
include mr_util/sharp/sharp_core_inc.cc
include mr_util/sharp/sharp_geomhelpers.cc
include mr_util/sharp/sharp_almhelpers.cc
include mr_util/sharp/sharp_ylmgen.cc
include demo.py
../src/mr_util/
\ No newline at end of file
from setuptools import setup, Extension
import sys
class _deferred_pybind11_include(object):
def __init__(self, user=False):
self.user = user
def __str__(self):
import pybind11
return pybind11.get_include(self.user)
include_dirs = ['.', _deferred_pybind11_include(True),
_deferred_pybind11_include()]
extra_compile_args = ['--std=c++17', '-march=native', '-ffast-math', '-O3']
python_module_link_args = []
define_macros = []
if sys.platform == 'darwin':
import distutils.sysconfig
extra_compile_args += ['-mmacosx-version-min=10.9']
python_module_link_args += ['-mmacosx-version-min=10.9', '-bundle']
vars = distutils.sysconfig.get_config_vars()
vars['LDSHARED'] = vars['LDSHARED'].replace('-bundle', '')
elif sys.platform == 'win32':
extra_compile_args = ['/Ox', '/EHsc', '/std:c++17']
else:
extra_compile_args += ['-Wfatal-errors', '-Wfloat-conversion', '-W', '-Wall', '-Wstrict-aliasing=2', '-Wwrite-strings', '-Wredundant-decls', '-Woverloaded-virtual', '-Wcast-qual', '-Wcast-align', '-Wpointer-arith']
python_module_link_args += ['-march=native', '-Wl,-rpath,$ORIGIN']
# if you don't want debugging info, add "-s" to python_module_link_args
def get_extension_modules():
return [Extension('pyinterpol_ng',
language='c++',
sources=['pyinterpol_ng.cc',
'mr_util/infra/threading.cc',
'mr_util/sharp/sharp.cc',
'mr_util/sharp/sharp_core.cc',
'mr_util/sharp/sharp_geomhelpers.cc',
'mr_util/sharp/sharp_almhelpers.cc',
'mr_util/sharp/sharp_ylmgen.cc'],
depends=[
'mr_util/math/fft1d.h',
'mr_util/math/fft.h',
'mr_util/infra/threading.h',
'mr_util/infra/mav.h',
'mr_util/math/math_utils.h',
'mr_util/infra/aligned_array.h',
'mr_util/math/gl_integrator.h',
'mr_util/infra/simd.h',
'mr_util/math/cmplx.h',
'mr_util/infra/string_utils.h',
'mr_util/infra/timers.h',
'mr_util/math/constants.h',
'mr_util/math/unity_roots.h',
'mr_util/math/es_kernel.h',
'mr_util/infra/error_handling.h',
'mr_util/infra/useful_macros.h',
'mr_util/bindings/pybind_utils.h',
'mr_util/sharp/sharp.h',
'mr_util/sharp/sharp_internal.h',
'mr_util/sharp/sharp_geomhelpers.h',
'mr_util/sharp/sharp_almhelpers.h',
'setup.py',
'interpol_ng.h',
'alm.h'],
include_dirs=include_dirs,
define_macros=define_macros,
extra_compile_args=extra_compile_args,
extra_link_args=python_module_link_args)]
setup(name='pyinterpol_ng',
version='0.0.1',
description='Python bindings for total convolution and interpolation library',
include_package_data=True,
author='Martin Reinecke',
author_email='martin@mpa-garching.mpg.de',
packages=[],
setup_requires=['numpy>=1.15.0', 'pybind11>=2.2.4'],
ext_modules=get_extension_modules(),
install_requires=['numpy>=1.15.0', 'pybind11>=2.2.4']
)
prune mr_util
include mr_util/infra/useful_macros.h
include mr_util/math/fft.h
include mr_util/math/fft1d.h
include mr_util/infra/mav.h
include mr_util/infra/threading.h
include mr_util/infra/aligned_array.h
include mr_util/infra/simd.h
include mr_util/math/cmplx.h
include mr_util/math/unity_roots.h
include mr_util/infra/error_handling.h
include mr_util/bindings/pybind_utils.h
include mr_util/infra/threading.cc
../src/mr_util/
\ No newline at end of file
from setuptools import setup, Extension
import sys
class _deferred_pybind11_include(object):
def __init__(self, user=False):
self.user = user
def __str__(self):
import pybind11
return pybind11.get_include(self.user)
include_dirs = ['.', _deferred_pybind11_include(True),
_deferred_pybind11_include()]
extra_compile_args = ['-I.', '--std=c++17', '-march=native', '-ffast-math', '-O3']
python_module_link_args = []
define_macros = []
if sys.platform == 'darwin':
import distutils.sysconfig
extra_compile_args += ['-mmacosx-version-min=10.9']
python_module_link_args += ['-mmacosx-version-min=10.9', '-bundle']
vars = distutils.sysconfig.get_config_vars()
vars['LDSHARED'] = vars['LDSHARED'].replace('-bundle', '')
elif sys.platform == 'win32':
define_macros = []
extra_compile_args = ['/Ox', '/EHsc', '/std:c++17']
else:
extra_compile_args += ['-Wfatal-errors', '-Wfloat-conversion', '-Wsign-conversion', '-Wconversion' ,'-W', '-Wall', '-Wstrict-aliasing=2', '-Wwrite-strings', '-Wredundant-decls', '-Woverloaded-virtual', '-Wcast-qual', '-Wcast-align', '-Wpointer-arith']
python_module_link_args += ['-Wl,-rpath,$ORIGIN']
# if you don't want debugging info, add "-s" to python_module_link_args
def get_extension_modules():
return [Extension('pypocketfft',
language='c++',
sources=['pypocketfft.cc',
'mr_util/infra/threading.cc'],
depends=['mr_util/infra/useful_macros.h',
'mr_util/math/fft.h',
'mr_util/math/fft1d.h',
'mr_util/infra/mav.h',
'mr_util/infra/threading.h',
'mr_util/infra/aligned_array.h',
'mr_util/infra/simd.h',
'mr_util/math/cmplx.h',
'mr_util/math/unity_roots.h',
'mr_util/infra/error_handling.h',
'mr_util/bindings/pybind_utils.h',
'setup.py'],
include_dirs=include_dirs,
define_macros=define_macros,
extra_compile_args=extra_compile_args,
extra_link_args=python_module_link_args)]
setup(name='pypocketfft',
version='0.0.1',
description='Python interface for pocketfft',
include_package_data=True,
author='Martin Reinecke',
author_email='martin@mpa-garching.mpg.de',
packages=[],
setup_requires=['numpy>=1.15.0', 'pybind11>=2.2.4'],
ext_modules=get_extension_modules(),
install_requires=['numpy>=1.15.0', 'pybind11>=2.2.4']
)
prune mr_util
include mr_util/math/fft1d.h
include mr_util/math/fft.h
include mr_util/infra/threading.h
include mr_util/infra/mav.h
include mr_util/math/math_utils.h
include mr_util/infra/aligned_array.h
include mr_util/math/gl_integrator.h
include mr_util/infra/simd.h
include mr_util/math/cmplx.h
include mr_util/infra/string_utils.h
include mr_util/infra/timers.h
include mr_util/math/constants.h
include mr_util/math/unity_roots.h
include mr_util/infra/error_handling.h
include mr_util/infra/useful_macros.h
include mr_util/bindings/pybind_utils.h
include mr_util/sharp/sharp.h
include mr_util/sharp/sharp_internal.h
include mr_util/sharp/sharp_geomhelpers.h
include mr_util/sharp/sharp_almhelpers.h
include mr_util/infra/threading.cc
include mr_util/infra/string_utils.cc
include mr_util/sharp/sharp.cc
include mr_util/sharp/sharp_core.cc
include mr_util/sharp/sharp_core_inc.cc
include mr_util/sharp/sharp_geomhelpers.cc
include mr_util/sharp/sharp_almhelpers.cc
include mr_util/sharp/sharp_ylmgen.cc
../src/mr_util/
\ No newline at end of file
from setuptools import setup, Extension
import sys
class _deferred_pybind11_include(object):
def __init__(self, user=False):
self.user = user
def __str__(self):
import pybind11
return pybind11.get_include(self.user)
include_dirs = ['.', _deferred_pybind11_include(True),
_deferred_pybind11_include()]
extra_compile_args = ['--std=c++17', '-march=native', '-ffast-math', '-O3']
python_module_link_args = []
define_macros = []
if sys.platform == 'darwin':
import distutils.sysconfig
extra_compile_args += ['-mmacosx-version-min=10.9']
python_module_link_args += ['-mmacosx-version-min=10.9', '-bundle']
vars = distutils.sysconfig.get_config_vars()
vars['LDSHARED'] = vars['LDSHARED'].replace('-bundle', '')
elif sys.platform == 'win32':
extra_compile_args = ['/Ox', '/EHsc', '/std:c++17']
else:
extra_compile_args += ['-Wfatal-errors', '-Wfloat-conversion', '-W', '-Wall', '-Wstrict-aliasing=2', '-Wwrite-strings', '-Wredundant-decls', '-Woverloaded-virtual', '-Wcast-qual', '-Wcast-align', '-Wpointer-arith']
python_module_link_args += ['-march=native', '-Wl,-rpath,$ORIGIN']
# if you don't want debugging info, add "-s" to python_module_link_args
def get_extension_modules():
return [Extension('pysharp',
language='c++',
sources=['pysharp.cc',
'mr_util/infra/threading.cc',
'mr_util/infra/string_utils.cc',
'mr_util/sharp/sharp.cc',
'mr_util/sharp/sharp_core.cc',
'mr_util/sharp/sharp_geomhelpers.cc',
'mr_util/sharp/sharp_almhelpers.cc',
'mr_util/sharp/sharp_ylmgen.cc'],
depends=['mr_util/fft1d.h',
'mr_util/fft.h',
'mr_util/infra/threading.h',
'mr_util/infra/mav.h',
'mr_util/math_utils.h',
'mr_util/infra/aligned_array.h',
'mr_util/math/gl_integrator.h',
'mr_util/infra/simd.h',
'mr_util/math/cmplx.h',
'mr_util/infra/string_utils.h',
'mr_util/infra/timers.h',
'mr_util/math/constants.h',
'mr_util/math/unity_roots.h',
'mr_util/infra/error_handling.h',
'mr_util/infra/useful_macros.h',
'mr_util/bindings/pybind_utils.h',
'mr_util/sharp/sharp.h',
'mr_util/sharp/sharp_internal.h',
'mr_util/sharp/sharp_geomhelpers.h',
'mr_util/sharp/sharp_almhelpers.h'
'setup.py'],
include_dirs=include_dirs,
define_macros=define_macros,
extra_compile_args=extra_compile_args,
extra_link_args=python_module_link_args)]
setup(name='pysharp',
version='0.0.1',
description='Python bindings for some libsharp functionality',
include_package_data=True,
author='Martin Reinecke',
author_email='martin@mpa-garching.mpg.de',
packages=[],
setup_requires=['numpy>=1.15.0', 'pybind11>=2.2.4'],
ext_modules=get_extension_modules(),
install_requires=['numpy>=1.15.0', 'pybind11>=2.2.4']
)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment