diff options
author | Adam J. Stewart <ajstewart426@gmail.com> | 2022-01-25 17:07:43 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-25 17:07:43 -0600 |
commit | 2ace2a750bee7522e0ac8d374c318446c602c354 (patch) | |
tree | 7594773b49589c76c97edab0ca3a675fd6aa28df /var | |
parent | 7134cab8c47cf30b2b736b55371322b27dfb439f (diff) | |
download | spack-2ace2a750bee7522e0ac8d374c318446c602c354.tar.gz spack-2ace2a750bee7522e0ac8d374c318446c602c354.tar.bz2 spack-2ace2a750bee7522e0ac8d374c318446c602c354.tar.xz spack-2ace2a750bee7522e0ac8d374c318446c602c354.zip |
Fix build of libnetworkit/py-networkit (#28458)
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/libnetworkit/package.py | 1 | ||||
-rw-r--r-- | var/spack/repos/builtin/packages/py-networkit/package.py | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/var/spack/repos/builtin/packages/libnetworkit/package.py b/var/spack/repos/builtin/packages/libnetworkit/package.py index 39503cb06b..dccf44f3ab 100644 --- a/var/spack/repos/builtin/packages/libnetworkit/package.py +++ b/var/spack/repos/builtin/packages/libnetworkit/package.py @@ -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') diff --git a/var/spack/repos/builtin/packages/py-networkit/package.py b/var/spack/repos/builtin/packages/py-networkit/package.py index 9ff30ca7a3..b1c21d0d7a 100644 --- a/var/spack/repos/builtin/packages/py-networkit/package.py +++ b/var/spack/repos/builtin/packages/py-networkit/package.py @@ -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)] |