spack/lib/spack/docs
Peter Scheibel b030a81a5f
Automatically find externals (#15158)
Add a `spack external find` command that tries to populate
`packages.yaml` with external packages from the user's `$PATH`. This
focuses on finding build dependencies. Currently, support has only been
added for `cmake`.

For a package to be discoverable with `spack external find`, it must define:
  * an `executables` class attribute containing a list of
    regular expressions that match executable names.
  * a `determine_spec_details(prefix, specs_in_prefix)` method

Spack will call `determine_spec_details()` once for each prefix where
executables are found, passing in the path to the prefix and the path to
all found executables. The package is responsible for invoking the
executables and figuring out what type of installation(s) are in the
prefix, and returning one or more specs (each with version, variants or
whatever else the user decides to include in the spec).

The found specs and prefixes will be added to the user's `packages.yaml`
file. Providing the `--not-buildable` option will mark all generated
entries in `packages.yaml` as `buildable: False`
2020-05-05 17:37:34 -07: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
build_systems Make usage example consistent with current MV variants (#16468) 2020-05-05 20:22:32 +02:00
example_files Implement an optional compiler bootstrapping phase 2019-09-13 22:57:15 -07:00
_spack_root docs: make docs build relocatable for localized builds 2019-05-26 18:23:44 -07:00
.gitignore tutorial: move tutorial to standalone site (#13450) 2019-10-25 21:49:27 -07:00
basic_usage.rst Package extensions: fixed a link in docs (#16040) 2020-04-14 12:54:53 -05:00
binary_caches.rst copyright: update copyright dates for 2020 (#14328) 2019-12-30 22:36:56 -08:00
build_settings.rst Automatically find externals (#15158) 2020-05-05 17:37:34 -07:00
build_systems.rst copyright: update copyright dates for 2020 (#14328) 2019-12-30 22:36:56 -08:00
chain.rst copyright: update copyright dates for 2020 (#14328) 2019-12-30 22:36:56 -08:00
command_index.in Rework command reference in docs, add spack commands command 2018-02-12 20:25:17 -08:00
conf.py copyright: update copyright dates for 2020 (#14328) 2019-12-30 22:36:56 -08:00
config_yaml.rst Note about Intel compiler segfault with long paths (#14652) 2020-01-28 14:57:06 -06:00
configuration.rst Unified environment modifications in config files (#14372) 2020-01-27 08:40:47 -08:00
containers.rst Spelling fixes (#15805) 2020-04-01 12:02:26 -05:00
contribution_guide.rst Update link for codecov's browser extensions (#15779) 2020-03-31 09:49:25 -05:00
developer_guide.rst tests: improved spack test command line options 2020-01-01 21:37:02 -08:00
docker_for_developers.rst copyright: update copyright dates for 2020 (#14328) 2019-12-30 22:36:56 -08:00
dockerhub_spack.png spack containerize generates containers from envs (#14202) 2020-01-30 17:19:55 -08:00
environments.rst environments: allow sigils to apply to entire reference (#15245) 2020-05-04 15:11:10 -07:00
extensions.rst copyright: update copyright dates for 2020 (#14328) 2019-12-30 22:36:56 -08:00
features.rst copyright: update copyright dates for 2020 (#14328) 2019-12-30 22:36:56 -08:00
getting_started.rst Spelling fixes (#15805) 2020-04-01 12:02:26 -05:00
index.rst spack containerize generates containers from envs (#14202) 2020-01-30 17:19:55 -08:00
known_issues.rst copyright: update copyright dates for 2020 (#14328) 2019-12-30 22:36:56 -08:00
Makefile docs: match ReadTheDocs; use -W (warnings as errors) with Sphinx 2019-05-26 18:23:44 -07:00
mirrors.rst copyright: update copyright dates for 2020 (#14328) 2019-12-30 22:36:56 -08:00
module_file_generation.svg SC17: reworked module file tutorial section (#5657) 2017-11-12 00:27:20 -08:00
module_file_support.rst Package extensions: fixed a link in docs (#16040) 2020-04-14 12:54:53 -05:00
package_list.rst copyright: update copyright dates for 2020 (#14328) 2019-12-30 22:36:56 -08:00
packaging_guide.rst Doc: Conflict Msg Pkg Guide (#16201) 2020-04-21 16:22:30 -05:00
pipelines.rst pipelines: Document dynamic generation limitations 2020-04-07 15:20:01 -06:00
repositories.rst copyright: update copyright dates for 2020 (#14328) 2019-12-30 22:36:56 -08:00
requirements.txt Docs: unlock requirement versions (#13384) 2019-10-31 14:21:05 -05:00
spack.yaml copyright: update copyright dates for 2020 (#14328) 2019-12-30 22:36:56 -08:00
workflows.rst Docs: Limit Microarch on Travis CI (#16200) 2020-04-28 11:54:02 -05:00