Skip to content

Commit d0756f7

Browse files
committed
Fix example wording for spec
1 parent f3360c7 commit d0756f7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tutorial_basics.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,7 @@ Compilers are providers for virtual packages like ``c``, ``cxx``, and ``fortran`
224224
Because these are often provided by the same package but we might want to use C and C++ from one compiler and Fortran from another, we need a syntax to specify which virtual a package provides.
225225
We call this "virtual assignment", and can be specified by ``%virtual=provider`` or ``^virtual=provider``.
226226

227-
We will now install HDF5 with MPI support provided by MPICH, ensuring that the C and C++ components of HDF5 are compiled with ``gcc``.
227+
We will now install HDF5 with MPI support provided by MPICH, ensuring that the C component of HDF5 is compiled with ``gcc``.
228228
We could use the same syntax for ``^mpi=mpich``, but there's no need because the only way for ``hdf5`` to depend on ``mpich`` is to provide ``mpi``.
229229
This is also why we didn't care to specify which virtuals ``gcc`` and ``clang`` provided earlier when building simpler packages.
230230

0 commit comments

Comments
 (0)