-
Notifications
You must be signed in to change notification settings - Fork 229
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
arch: patch compiler version #2297
Conversation
devito/arch/compiler.py
Outdated
try: | ||
# Knowing the version may still be useful to pick supported flags | ||
version = sniff_compiler_version(self.CC) | ||
except (FileNotFoundError, OSError): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
in case of FileNotFoundError a sys.exit()
will be called inside sniff_compiler_version
and the program will abort, so we might have to tweak that too
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
or we just remove this try-except and wait for the next use case to break
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Changed to something bit simpler
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## master #2297 +/- ##
==========================================
- Coverage 86.75% 86.74% -0.01%
==========================================
Files 229 229
Lines 42898 42905 +7
Branches 7955 7957 +2
==========================================
+ Hits 37215 37217 +2
- Misses 5007 5012 +5
Partials 676 676 ☔ View full report in Codecov by Sentry. |
d70bda2
to
81372ec
Compare
81372ec
to
e621833
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
OK, thanks, merging
No description provided.