Fix build of libnetworkit/py-networkit (#28458)

This commit is contained in:
Adam J. Stewart 2022-01-25 17:07:43 -06:00 committed by GitHub
parent 7134cab8c4
commit 2ace2a750b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View File

@ -33,6 +33,7 @@ class Libnetworkit(CMakePackage):
variant('doc', default=False, description='Enables the build with sphinx documentation')
depends_on('libtlx')
depends_on('llvm-openmp', when='%apple-clang')
depends_on('py-sphinx', when='+doc', type='build')
patch('0001-Name-agnostic-import-of-tlx-library.patch', when='@6.1:8.1')

View File

@ -47,4 +47,4 @@ class PyNetworkit(PythonPackage):
def install_options(self, spec, prefix):
# Enable ext. core-library + parallel build
return ['--networkit-external-core', '-j{0}'.format(make_jobs)]
return ['-j{0}'.format(make_jobs)]