Support eigen.
parent
c5c86bbe8a
commit
30b7980d4e
|
@ -25,7 +25,7 @@ jobs:
|
||||||
TWINE_PASSWORD: ${{ secrets.TWINE_PASSWORD }}
|
TWINE_PASSWORD: ${{ secrets.TWINE_PASSWORD }}
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- run: git submodule update --init extlib/mimalloc
|
- run: git submodule update --init extlib/mimalloc extlib/eigen
|
||||||
- uses: actions/setup-python@v2
|
- uses: actions/setup-python@v2
|
||||||
with:
|
with:
|
||||||
python-version: ${{ matrix.pyver }}
|
python-version: ${{ matrix.pyver }}
|
||||||
|
|
|
@ -24,6 +24,7 @@ extlib_path = join(m_path, 'extlib')
|
||||||
mimalloc_path = join(extlib_path, 'mimalloc')
|
mimalloc_path = join(extlib_path, 'mimalloc')
|
||||||
mimalloc_include_path = join(mimalloc_path, 'include')
|
mimalloc_include_path = join(mimalloc_path, 'include')
|
||||||
mimalloc_src_path = join(mimalloc_path, 'src')
|
mimalloc_src_path = join(mimalloc_path, 'src')
|
||||||
|
eigen_path = join(include_path, 'Eigen')
|
||||||
build_dir = 'build'
|
build_dir = 'build'
|
||||||
macros = [
|
macros = [
|
||||||
('M_PI', 'PI'),
|
('M_PI', 'PI'),
|
||||||
|
@ -97,6 +98,7 @@ compiler_directives = {'binding': True, 'cdivision': True}
|
||||||
|
|
||||||
def copy_source(dry_run):
|
def copy_source(dry_run):
|
||||||
dir_util.copy_tree(join('..', 'include'), include_path, dry_run=dry_run)
|
dir_util.copy_tree(join('..', 'include'), include_path, dry_run=dry_run)
|
||||||
|
dir_util.copy_tree(join('..', 'extlib', 'eigen', 'Eigen'), eigen_path, dry_run=dry_run)
|
||||||
dir_util.copy_tree(join('..', 'extlib', 'mimalloc', 'include'),
|
dir_util.copy_tree(join('..', 'extlib', 'mimalloc', 'include'),
|
||||||
mimalloc_include_path,
|
mimalloc_include_path,
|
||||||
dry_run=dry_run)
|
dry_run=dry_run)
|
||||||
|
|
Loading…
Reference in New Issue