Skip to content

Commit 855b735

Browse files
authored
Merge pull request #1520 from basnijholt/patch-2
fix mpi example build section
2 parents a098b01 + 3044720 commit 855b735

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/maintainer/knowledge_base.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -530,6 +530,7 @@ Here is an example build section:
530530
# `pkg * mpi_*` for any mpi
531531
# `pkg * nompi_*` for no mpi
532532

533+
{% if mpi != 'nompi' %}
533534
{% set mpi_prefix = "mpi_" + mpi %}
534535
{% else %}
535536
{% set mpi_prefix = "nompi" %}

0 commit comments

Comments
 (0)