Skip to content
This repository has been archived by the owner on Nov 27, 2024. It is now read-only.

Commit

Permalink
Merge pull request #594 from OP2/fw/iccfix
Browse files Browse the repository at this point in the history
fix for icc
  • Loading branch information
wence- authored Sep 9, 2020
2 parents 2363896 + d7de5bb commit dac7202
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyop2/compilation.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ def sniff_compiler_version(cc):
compiler = "unknown"

ver = version.LooseVersion("unknown")
if compiler in ["gcc", "icc"]:
if compiler == "gcc":
try:
ver = subprocess.check_output([cc, "-dumpversion"],
stderr=subprocess.DEVNULL).decode("utf-8")
Expand Down

0 comments on commit dac7202

Please sign in to comment.