Fix typos in Build Systems Tutorial (#9822)

This commit is contained in:
Adam J. Stewart 2018-11-12 18:32:13 -06:00 committed by Peter Scheibel
parent 2efaf1b6f7
commit 7bca5b9c61

View file

@ -373,7 +373,7 @@ Let's look at an example of this in the :code:`elk` package:
.. code-block:: python .. code-block:: python
def edit(self, spec, prefix): def edit(self, spec, prefix):
# Dictionary of configuration options # Dictionary of configuration options
config = { config = {
'MAKE': 'make', 'MAKE': 'make',
'AR': 'ar' 'AR': 'ar'
@ -506,7 +506,7 @@ Unix-Makefile_ generators as well as Ninja_ generators.
.. _Unix-Makefile: https://cmake.org/cmake/help/v3.4/generator/Unix%20Makefiles.html .. _Unix-Makefile: https://cmake.org/cmake/help/v3.4/generator/Unix%20Makefiles.html
.. _Ninja: https://cmake.org/cmake/help/v3.4/generator/Ninja.html .. _Ninja: https://cmake.org/cmake/help/v3.4/generator/Ninja.html
If no generator is specified Spack will default to :code:`Unix Makefile`. If no generator is specified Spack will default to :code:`Unix Makefiles`.
Next we setup the build type. In :code:`CMake` you can specify the build type Next we setup the build type. In :code:`CMake` you can specify the build type
that you want. Options include: that you want. Options include:
@ -523,7 +523,7 @@ Release executables tend to be more optimized than Debug. In Spack, we set
the default as RelWithDebInfo unless otherwise specified through a variant. the default as RelWithDebInfo unless otherwise specified through a variant.
Spack then automatically sets up the :code:`-DCMAKE_INSTALL_PREFIX` path, Spack then automatically sets up the :code:`-DCMAKE_INSTALL_PREFIX` path,
appends the build type (:code:`RelDebInfo` default), and then specifies a verbose appends the build type (:code:`RelWithDebInfo` default), and then specifies a verbose
:code:`Makefile`. :code:`Makefile`.
Next we add the :code:`rpaths` to :code:`-DCMAKE_INSTALL_RPATH:STRING`. Next we add the :code:`rpaths` to :code:`-DCMAKE_INSTALL_RPATH:STRING`.
@ -795,7 +795,7 @@ for the following build systems:
3. :code:`WafPackage` 3. :code:`WafPackage`
4. :code:`RPackage` 4. :code:`RPackage`
5. :code:`PerlPackage` 5. :code:`PerlPackage`
6. :code:`QMake` 6. :code:`QMakePackage`
Each of these classes have their own abstractions to help assist in writing Each of these classes have their own abstractions to help assist in writing