Skip to content

Commit

Permalink
Add dep on libgcc mutex package
Browse files Browse the repository at this point in the history
  • Loading branch information
Sophia Castellarin committed Jul 1, 2019
1 parent 3e53f36 commit e04924a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions main.py
Original file line number Diff line number Diff line change
Expand Up @@ -481,6 +481,10 @@ def _patch_repodata(repodata, subdir):
record["depends"].append("blas * openblas")
instructions["packages"][fn]["depends"] = record["depends"]

# Add mutex package for libgcc-ng
if record['name'] == 'libgcc-ng':
record['depends'].append('_libgcc_mutex * main')

# some of these got hard-coded to overly restrictive values
if record['name'] in ('scikit-learn', 'pytorch'):
new_deps = []
Expand Down

0 comments on commit e04924a

Please sign in to comment.