...
 
Commits (3)
......@@ -22,11 +22,11 @@ test_gcc:
- python3 setup.py install --user -f
- pytest-3 -q python/test
#test_clang:
# stage: testing
# script:
# - CC="clang -fsized-deallocation" python3 setup.py install --user -f
# - pytest-3 -q python/test
test_clang:
stage: testing
script:
- CC="clang -fsized-deallocation" python3 setup.py install --user -f
- pytest-3 -q python/test
release:
stage: build_tarballs
......
FROM debian:testing-slim
FROM debian:buster-slim
RUN apt-get update && apt-get install -y git python3-pip python3-scipy python3-pytest python3-pybind11 pybind11-dev clang && rm -rf /var/lib/apt/lists/*
......@@ -30,8 +30,8 @@ define_macros = [("PKGNAME", pkgname),
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']
extra_compile_args += ['-mmacosx-version-min=10.15']
python_module_link_args += ['-mmacosx-version-min=10.15', '-bundle']
cfg_vars = distutils.sysconfig.get_config_vars()
cfg_vars['LDSHARED'] = cfg_vars['LDSHARED'].replace('-bundle', '')
elif sys.platform == 'win32':
......