From be3e6a0e9b8c243a4aec2a550b6512fe32553c13 Mon Sep 17 00:00:00 2001 From: loulawrence <72574166+loulawrence@users.noreply.github.com> Date: Mon, 2 Aug 2021 04:30:25 -0400 Subject: document config option "url_fetch_method" (#24638) - Change config from the undocumented `use_curl: true/false` to `url_fetch_method: urllib/curl`. - Documentation of `url_fetch_method` in `defaults/config.yaml` - Default fetch option explicitly set to `urllib` for users who may not have curl on their system To upgrade from `use_curl` to `url_fetch_method`, run `spack config update config` --- etc/spack/defaults/config.yaml | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'etc') diff --git a/etc/spack/defaults/config.yaml b/etc/spack/defaults/config.yaml index 2400686e60..64a50cc805 100644 --- a/etc/spack/defaults/config.yaml +++ b/etc/spack/defaults/config.yaml @@ -134,6 +134,10 @@ config: # enabling locks. locks: true + # The default url fetch method to use. + # If set to 'curl', Spack will require curl on the user's system + # If set to 'urllib', Spack will use python built-in libs to fetch + url_fetch_method: urllib # The maximum number of jobs to use for the build system (e.g. `make`), when # the -j flag is not given on the command line. Defaults to 16 when not set. -- cgit v1.2.3-60-g2f50