Skip to content

Commit

Permalink
Search for higher versions of GCC
Browse files Browse the repository at this point in the history
  • Loading branch information
wesselb committed Oct 6, 2020
1 parent 3e95985 commit 1e68ea6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion setup.cfg
@@ -1,6 +1,6 @@
[metadata]
name = backends
version = 0.3.7
version = 0.3.8
author = Wessel Bruinsma
author_email = wessel.p.bruinsma@gmail.com
description = A generic interface for linear algebra backends
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Expand Up @@ -32,7 +32,7 @@
if 'clang' in out.decode('ascii'):
# It is. Now try to find a `gcc` to replace it with.
found = False
for i in range(9, 3, -1):
for i in range(100, 3, -1):
gcci = 'gcc-{}'.format(i)
if subprocess.call(['which', gcci]) == 0:
# Set both `$CC` and `$CXX` in this case, just to be sure.
Expand Down

0 comments on commit 1e68ea6

Please sign in to comment.