summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorAdam J. Stewart <ajstewart426@gmail.com>2022-01-25 17:07:43 -0600
committerGitHub <noreply@github.com>2022-01-25 17:07:43 -0600
commit2ace2a750bee7522e0ac8d374c318446c602c354 (patch)
tree7594773b49589c76c97edab0ca3a675fd6aa28df /var
parent7134cab8c47cf30b2b736b55371322b27dfb439f (diff)
downloadspack-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.py1
-rw-r--r--var/spack/repos/builtin/packages/py-networkit/package.py2
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)]