Skip to content

Commit

Permalink
Use mamba to build environment.
Browse files Browse the repository at this point in the history
  • Loading branch information
ktlim committed Jan 22, 2022
1 parent 3455e80 commit 8ba223a
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion scripts/newinstall.sh
Original file line number Diff line number Diff line change
Expand Up @@ -506,6 +506,9 @@ n8l::miniconda::lsst_env() {
(
set -Eeo pipefail

# install mamba to speed up environment creation
$cmd conda install -c conda-forge -y mamba

args=()
args+=('create')
args+=('-y')
Expand All @@ -527,7 +530,7 @@ n8l::miniconda::lsst_env() {
args+=("rubin-env=${ref}")
fi

$cmd conda "${args[@]}"
$cmd mamba "${args[@]}"

# Update rubin-env to latest build of specified version
if [[ "$ref" == [dsvw]* ]]; then
Expand Down

0 comments on commit 8ba223a

Please sign in to comment.