spack/lib/spack/docs
becker33 28d8784ab9 Compiler flag handlers (#6415)
This adds the ability for packages to apply compiler flags in one of
three ways: by injecting them into the compiler wrapper calls (the
default in this PR and previously the only automated choice);
exporting environment variable definitions for variables with
corresponding names (e.g. CPPFLAGS=...); providing them as arguments
to the build system (e.g. configure).

When applying compiler flags using build system arguments, a package
must implement the 'flags_to_build_system_args" function. This is
provided for CMake and autotools packages, so for packages which
subclass those build systems, they need only update their flag
handler method specify which compiler flags should be specified as
arguments to the build system.

Convenience methods are provided to specify that all flags be applied
in one of the 3 available ways, so a custom implementation is only
required if more than one method of applying compiler flags is
needed.

This also removes redundant build system definitions from tutorial
examples
2017-12-20 15:40:38 -08:00
..
_gh_pages_redirect Make gh-pages redirect to readthedocs.io 2016-08-31 19:40:22 -07:00
_static make empty _static directory "exist" to git 2014-01-09 14:03:32 +01:00
_themes/sphinx_rtd_theme Replace github.com/llnl/spack with github.com/spack/spack (#6142) 2017-11-04 17:08:04 -07:00
tutorial Compiler flag handlers (#6415) 2017-12-20 15:40:38 -08:00
.gitignore Add API Docs for lib/spack/llnl (#3982) 2017-04-25 22:24:02 -07:00
basic_usage.rst Clarify docs on using a hash in a spec (#4908) 2017-07-31 13:13:39 -07:00
binary_caches.rst Buildcache: symlinks, externals, & install-checking (#5894) 2017-10-26 11:06:59 -07:00
build_settings.rst Fix typos in External Packages documentation (#3168) 2017-02-17 11:49:55 -08:00
command_index.in Fix bugs preventing readthedocs from rebuilding the documentation (#1945) 2016-10-06 12:50:49 -07:00
conf.py add artisanal handcrafted SVG Spack logo. (#6165) 2017-11-06 22:42:16 -08:00
config_yaml.rst Add environment variables to path substitution 2017-08-21 18:35:00 -07:00
configuration.rst Add environment variables to path substitution 2017-08-21 18:35:00 -07:00
contribution_guide.rst Replace github.com/llnl/spack with github.com/spack/spack (#6142) 2017-11-04 17:08:04 -07:00
developer_guide.rst Remind developers to update tab completion script (#4148) 2017-05-05 18:52:28 -05:00
features.rst Parser fix (#2769) 2017-01-15 19:17:54 -08:00
getting_started.rst Simplified "Environment-Modules" section in getting started guide. (#6410) 2017-12-11 11:34:39 -08:00
index.rst Replace github.com/llnl/spack with github.com/spack/spack (#6142) 2017-11-04 17:08:04 -07:00
known_issues.rst Remove spack extensions from list of known issues (#6405) 2017-11-22 02:31:56 +01:00
Makefile Sphinx no longer supports Python 2.6 (#4266) 2017-05-17 11:36:02 -05:00
mirrors.rst Typo: file -> directory (#5560) 2017-09-30 14:32:07 -07:00
module_file_generation.svg SC17: reworked module file tutorial section (#5657) 2017-11-12 00:27:20 -08:00
module_file_support.rst Modulefiles generated with a template engine (#3183) 2017-09-19 12:34:20 -07:00
packaging_guide.rst Compiler flag handlers (#6415) 2017-12-20 15:40:38 -08:00
repositories.rst Remove usernames from paths in docs (#2675) 2016-12-25 12:36:35 -08:00
requirements.txt Move doc dependencies to requirements.txt for readthedocs (#4280) 2017-05-17 20:45:03 -05:00
tutorial_advanced_packaging.rst SC17: advanced packaging tutorial (#6148) 2017-11-12 00:27:57 -08:00
tutorial_basics.rst basics tutorial: output updated (#6267) 2017-11-13 00:12:23 -07:00
tutorial_buildsystems.rst Compiler flag handlers (#6415) 2017-12-20 15:40:38 -08:00
tutorial_configuration.rst Last minute edits to the Configuration Tutorial (#6271) 2017-11-12 23:14:44 -07:00
tutorial_modules.rst SC17: reworked module file tutorial section (#5657) 2017-11-12 00:27:20 -08:00
tutorial_packaging.rst Update packaging tutorial (#6270) 2017-11-12 20:09:12 -07:00
tutorial.rst Update tutorial slide links. (#6276) 2017-11-13 07:52:43 -07:00
workflows.rst SC17: reworked module file tutorial section (#5657) 2017-11-12 00:27:20 -08:00