From 01d9063bb1f411b9d57b528119e0b080b3a6e6b2 Mon Sep 17 00:00:00 2001 From: h-denpo <57649496+h-denpo@users.noreply.github.com> Date: Tue, 16 Jun 2020 12:29:35 +0900 Subject: ffb: prevent the architecture to be always "x86_64" (#17093) --- var/spack/repos/builtin/packages/ffb/package.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/var/spack/repos/builtin/packages/ffb/package.py b/var/spack/repos/builtin/packages/ffb/package.py index e7c1272a13..d9de2b9862 100644 --- a/var/spack/repos/builtin/packages/ffb/package.py +++ b/var/spack/repos/builtin/packages/ffb/package.py @@ -107,6 +107,10 @@ class Ffb(MakefilePackage): m.filter(r'-lmpi_f77', '') os.chmod(makeall, 0o755) + editfile = join_path('lib', 'src', 'Makeall') + m = FileFilter(editfile) + m.filter(r'x86_64-linux', '{0}-linux'.format(spec.target.family)) + editfile = join_path('lib', 'src', 'REVOCAP_Refiner-0.4.3', 'OPTIONS') m = FileFilter(editfile) m.filter(r'ARCH\s*=.*$', 'ARCH= $(shell arch)-linux') -- cgit v1.2.3-70-g09d2