Skip to content

Commit

Permalink
Merge pull request #13165 from akesandgren/20210615144647_new_pr_Perl…
Browse files Browse the repository at this point in the history
…5321

[GCCcore/10.3.0] groff requires makeinfo as a build dep, which requires Perl, which requires groff. Break cyclic redundancy by adding Perl-minimal and makeinfo-minimal.
  • Loading branch information
SebastianAchilles authored Jun 23, 2021
2 parents 425d84b + bd92578 commit 086039f
Show file tree
Hide file tree
Showing 3 changed files with 62 additions and 4 deletions.
5 changes: 1 addition & 4 deletions easybuild/easyconfigs/g/groff/groff-1.22.4-GCCcore-10.3.0.eb
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
##
# Author: Robert Mijakovic <[email protected]>
##
easyblock = 'ConfigureMake'

name = 'groff'
Expand All @@ -18,7 +15,7 @@ checksums = ['e78e7b4cb7dec310849004fa88847c44701e8d133b5d4c13057d876c1bad0293']

builddependencies = [
('binutils', '2.36.1'),
('makeinfo', '6.7'),
('makeinfo', '6.7', '-minimal'),
]

sanity_check_paths = {
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
easyblock = 'ConfigureMake'

name = 'makeinfo'
version = '6.7'
versionsuffix = '-minimal'

homepage = 'https://www.gnu.org/software/texinfo/'
description = """makeinfo is part of the Texinfo project, the official documentation format of the GNU project.
This is a minimal build with very basic functionality. Should only be used for build dependencies.
"""

toolchain = {'name': 'GCCcore', 'version': '10.3.0'}

source_urls = ['https://ftpmirror.gnu.org/gnu/texinfo']
sources = ['texinfo-%(version)s.tar.xz']
checksums = ['988403c1542d15ad044600b909997ba3079b10e03224c61188117f3676b02caa']

builddependencies = [
('binutils', '2.36.1'),
]
dependencies = [
('Perl', '5.32.1', '-minimal'),
]

configopts = '--disable-perl-xs --disable-perl-api-texi-build --disable-pod-simple-texinfo-tests '

sanity_check_paths = {
'files': ['bin/makeinfo'],
'dirs': ['share'],
}

sanity_check_commands = ["makeinfo --help"]

moduleclass = 'devel'
26 changes: 26 additions & 0 deletions easybuild/easyconfigs/p/Perl/Perl-5.32.1-GCCcore-10.3.0-minimal.eb
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name = 'Perl'
version = '5.32.1'
versionsuffix = '-minimal'

homepage = 'https://www.perl.org/'
description = """Larry Wall's Practical Extraction and Report Language
This is a minimal build without any modules. Should only be used for build dependencies.
"""

toolchain = {'name': 'GCCcore', 'version': '10.3.0'}
toolchainopts = {'pic': True}

source_urls = ['https://www.cpan.org/src/%(version_major)s.0']
sources = [SOURCELOWER_TAR_GZ]
checksums = ['03b693901cd8ae807231b1787798cf1f2e0b8a56218d07b7da44f784a7caeb2c']

builddependencies = [
('binutils', '2.36.1'),
]

dependencies = [
('zlib', '1.2.11'),
]

moduleclass = 'lang'

0 comments on commit 086039f

Please sign in to comment.