Skip to content

Commit

Permalink
Use the libmamba solver for packaging
Browse files Browse the repository at this point in the history
This will potentially run significantly faster, as also demonstrated
in HEXRD/hexrd#562.

Signed-off-by: Patrick Avery <[email protected]>
  • Loading branch information
psavery committed Oct 13, 2023
1 parent 9e920a6 commit 4866d09
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,10 @@ jobs:
run: |
conda activate hexrdgui-package
mkdir output
# Use libmamba as the solver for all future conda commands
export CONDA_SOLVER=libmamba
HEXRD_PACKAGE_CHANNEL=${HEXRD_PACKAGE_CHANNEL} HEXRDGUI_OUTPUT_FOLDER=output/ cpack
# This is need to ensure ~/.profile or ~/.bashrc are used so the activate
# command works.
Expand Down
1 change: 1 addition & 0 deletions packaging/environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,4 @@ dependencies:
- conda-build
- conda-pack
- click
- conda-libmamba-solver

0 comments on commit 4866d09

Please sign in to comment.