Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DM-33305: Use mamba to build environment. #150

Merged
merged 1 commit into from
Jan 22, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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