summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorloulawrence <72574166+loulawrence@users.noreply.github.com>2021-08-02 04:30:25 -0400
committerGitHub <noreply@github.com>2021-08-02 10:30:25 +0200
commitbe3e6a0e9b8c243a4aec2a550b6512fe32553c13 (patch)
treeb1a3a1b15f9dea644babb5277eabf2cf4908e159 /etc
parentcd8f7d844d03bd82bece18524ec16321e7a97747 (diff)
downloadspack-be3e6a0e9b8c243a4aec2a550b6512fe32553c13.tar.gz
spack-be3e6a0e9b8c243a4aec2a550b6512fe32553c13.tar.bz2
spack-be3e6a0e9b8c243a4aec2a550b6512fe32553c13.tar.xz
spack-be3e6a0e9b8c243a4aec2a550b6512fe32553c13.zip
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`
Diffstat (limited to 'etc')
-rw-r--r--etc/spack/defaults/config.yaml4
1 files changed, 4 insertions, 0 deletions
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.