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 2, 2019
1 parent 3e53f36 commit 2ecd4ae
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions main.py
Original file line number Diff line number Diff line change
Expand Up @@ -481,6 +481,11 @@ 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')
instructions["packages"][fn]["depends"] = record["depends"]

# 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 2ecd4ae

Please sign in to comment.