binutils: add versions 2.35.2 and 2.36.1 (#22019)

Starting with 2.36, the Makefiles are missing some dependencies for
linking libctf and thus require serial make install.
This commit is contained in:
Mark W. Krentel 2021-03-01 10:53:55 -06:00 committed by GitHub
parent afb7e57d20
commit 14c1d58b5a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -12,6 +12,8 @@ class Binutils(AutotoolsPackage, GNUMirrorPackage):
homepage = "http://www.gnu.org/software/binutils/"
gnu_mirror_path = "binutils/binutils-2.28.tar.bz2"
version('2.36.1', sha256='5b4bd2e79e30ce8db0abd76dd2c2eae14a94ce212cfc59d3c37d23e24bc6d7a3')
version('2.35.2', sha256='cfa7644dbecf4591e136eb407c1c1da16578bd2b03f0c2e8acdceba194bb9d61')
version('2.35.1', sha256='320e7a1d0f46fcd9f413f1046e216cbe23bb2bce6deb6c6a63304425e48b1942')
version('2.35', sha256='7d24660f87093670738e58bcc7b7b06f121c0fcb0ca8fc44368d675a5ef9cff7')
version('2.34', sha256='89f010078b6cf69c23c27897d686055ab89b198dddf819efb0a4f2c38a0b36e6')
@ -104,6 +106,13 @@ def configure_args(self):
return configure_args
# 2.36 is missing some dependencies and requires serial make install.
# https://sourceware.org/bugzilla/show_bug.cgi?id=27482
@when('@2.36:')
def install(self, spec, prefix):
with working_dir(self.build_directory):
make('-j', '1', *self.install_targets)
@run_after('install')
def install_headers(self):
# some packages (like TAU) need the ELF headers, so install them