Fix build of libnetworkit/py-networkit (#28458)
This commit is contained in:
parent
7134cab8c4
commit
2ace2a750b
@ -33,6 +33,7 @@ class Libnetworkit(CMakePackage):
|
|||||||
variant('doc', default=False, description='Enables the build with sphinx documentation')
|
variant('doc', default=False, description='Enables the build with sphinx documentation')
|
||||||
|
|
||||||
depends_on('libtlx')
|
depends_on('libtlx')
|
||||||
|
depends_on('llvm-openmp', when='%apple-clang')
|
||||||
depends_on('py-sphinx', when='+doc', type='build')
|
depends_on('py-sphinx', when='+doc', type='build')
|
||||||
|
|
||||||
patch('0001-Name-agnostic-import-of-tlx-library.patch', when='@6.1:8.1')
|
patch('0001-Name-agnostic-import-of-tlx-library.patch', when='@6.1:8.1')
|
||||||
|
@ -47,4 +47,4 @@ class PyNetworkit(PythonPackage):
|
|||||||
|
|
||||||
def install_options(self, spec, prefix):
|
def install_options(self, spec, prefix):
|
||||||
# Enable ext. core-library + parallel build
|
# Enable ext. core-library + parallel build
|
||||||
return ['--networkit-external-core', '-j{0}'.format(make_jobs)]
|
return ['-j{0}'.format(make_jobs)]
|
||||||
|
Loading…
Reference in New Issue
Block a user