From 7801577cd5c8c4d06c632682dab8b22d79efb5b5 Mon Sep 17 00:00:00 2001 From: "John W. Parent" <45471568+johnwparent@users.noreply.github.com> Date: Thu, 13 Apr 2023 06:33:55 -0400 Subject: [PATCH] lz4: fixup incorrect builder method signature (#36812) --- var/spack/repos/builtin/packages/lz4/package.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/var/spack/repos/builtin/packages/lz4/package.py b/var/spack/repos/builtin/packages/lz4/package.py index 1cca43eab1..ff461f37dd 100644 --- a/var/spack/repos/builtin/packages/lz4/package.py +++ b/var/spack/repos/builtin/packages/lz4/package.py @@ -82,7 +82,7 @@ def cmake_args(self): class MakefileBuilder(MakefileBuilder): - def build(self, spec, prefix): + def build(self, pkg, spec, prefix): par = True if spec.compiler.name == "nvhpc": # relocation error when building shared and dynamic libs in @@ -94,7 +94,7 @@ def build(self, spec, prefix): else: make(parallel=par) - def install(self, spec, prefix): + def install(self, pkg, spec, prefix): make( "install", "PREFIX={0}".format(prefix),