summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorScott McMillan <scott.andrew.mcmillan@gmail.com>2021-10-12 17:15:05 -0500
committerGitHub <noreply@github.com>2021-10-13 00:15:05 +0200
commitb937aa205b59dd7b2c3941ff34651531ecd7f49e (patch)
tree81d9d249582b2ed556ad346e2353cca7f85fc862 /var
parent31b0fe21a2ca1e911065fbf743f57e3ce6020ede (diff)
downloadspack-b937aa205b59dd7b2c3941ff34651531ecd7f49e.tar.gz
spack-b937aa205b59dd7b2c3941ff34651531ecd7f49e.tar.bz2
spack-b937aa205b59dd7b2c3941ff34651531ecd7f49e.tar.xz
spack-b937aa205b59dd7b2c3941ff34651531ecd7f49e.zip
Fix Amber patch target specification (#26687)
Co-authored-by: Scott McMillan <smcmillan@nvidia.com>
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/amber/package.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/var/spack/repos/builtin/packages/amber/package.py b/var/spack/repos/builtin/packages/amber/package.py
index 95852f3007..2b5128e5c5 100644
--- a/var/spack/repos/builtin/packages/amber/package.py
+++ b/var/spack/repos/builtin/packages/amber/package.py
@@ -101,10 +101,10 @@ class Amber(Package, CudaPackage):
sha256=checksum, level=0, when='@{0}'.format(ver))
# Patch to add ppc64le in config.guess
- patch('ppc64le.patch', when='@18: target=ppc64le')
+ patch('ppc64le.patch', when='@18: target=ppc64le:')
# Patch to add aarch64 in config.guess
- patch('aarch64.patch', when='@18: target=aarch64')
+ patch('aarch64.patch', when='@18: target=aarch64:')
# Workaround to modify the AmberTools script when using the NVIDIA
# compilers