summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHarmen Stoppels <harmenstoppels@gmail.com>2021-02-25 13:34:09 +0100
committerGitHub <noreply@github.com>2021-02-25 13:34:09 +0100
commita42d5357c3913de24fb7ad3fc84cc4258c359e00 (patch)
treeb85658fb6cb0dcfe990a97e71f2c84f8ede08762
parenta258d40c2831419fdac45c160cd65db6d74a4308 (diff)
downloadspack-a42d5357c3913de24fb7ad3fc84cc4258c359e00.tar.gz
spack-a42d5357c3913de24fb7ad3fc84cc4258c359e00.tar.bz2
spack-a42d5357c3913de24fb7ad3fc84cc4258c359e00.tar.xz
spack-a42d5357c3913de24fb7ad3fc84cc4258c359e00.zip
libxc: add perl as a build dependency (#21906)
-rw-r--r--var/spack/repos/builtin/packages/libxc/package.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/libxc/package.py b/var/spack/repos/builtin/packages/libxc/package.py
index b66b8f7b79..25ec5f0583 100644
--- a/var/spack/repos/builtin/packages/libxc/package.py
+++ b/var/spack/repos/builtin/packages/libxc/package.py
@@ -27,6 +27,8 @@ class Libxc(AutotoolsPackage, CudaPackage):
conflicts('+shared +cuda', msg='Only ~shared supported with +cuda')
conflicts('+cuda', when='@:4', msg='CUDA support only in libxc 5.0.0 and above')
+ depends_on('perl', type='build')
+
patch('0001-Bugfix-avoid-implicit-pointer-cast-to-make-libxc-com.patch', when='@5.0.0')
patch('0002-Mark-xc_erfcx-a-GPU_FUNCTION.patch', when='@5.0.0')