Skip to content

Commit

Permalink
Merge pull request #15957 from Flamefire/20220802161756_new_pr_OpenMP…
Browse files Browse the repository at this point in the history
…I414

speed up OpenMPI 4.1.4 configure by not running "autogen.pl --force", but only running required Autotools commands
  • Loading branch information
akesandgren authored Aug 29, 2022
2 parents ca2637a + ffd384d commit 1d3c794
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion easybuild/easyconfigs/o/OpenMPI/OpenMPI-4.1.4-GCC-11.3.0.eb
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,19 @@ dependencies = [
('UCC', '1.0.0'),
]

preconfigopts = './autogen.pl --force && '
# Update configure to include changes from the "internal-cuda" patch
# by running a subset of autogen.pl sufficient to achieve this
# without doing the full, long-running regeneration.
preconfigopts = ' && '.join([
'cd config',
'autom4te --language=m4sh opal_get_version.m4sh -o opal_get_version.sh',
'cd ..',
'autoconf',
'autoheader',
'aclocal',
'automake',
''
])

# CUDA related patches and custom configure option can be removed if CUDA support isn't wanted.
configopts = '--with-cuda=internal '
Expand Down

0 comments on commit 1d3c794

Please sign in to comment.