Skip to content
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

Merged
merged 2 commits into from
Jan 17, 2024
Merged

arch: patch compiler version #2297

merged 2 commits into from
Jan 17, 2024

Conversation

mloubout
Copy link
Contributor

No description provided.

@mloubout mloubout added the arch jitting, archinfo, ... label Jan 16, 2024
try:
# Knowing the version may still be useful to pick supported flags
version = sniff_compiler_version(self.CC)
except (FileNotFoundError, OSError):
Copy link
Contributor

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

Copy link
Contributor

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

Copy link
Contributor Author

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

Copy link

codecov bot commented Jan 16, 2024

Codecov Report

Attention: 8 lines in your changes are missing coverage. Please review.

Comparison is base (8a28bc7) 86.75% compared to head (e621833) 86.74%.

Files Patch % Lines
devito/arch/compiler.py 60.00% 6 Missing ⚠️
devito/arch/archinfo.py 0.00% 2 Missing ⚠️
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.
📢 Have feedback on the report? Share it here.

Copy link
Contributor

@FabioLuporini FabioLuporini left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OK, thanks, merging

@FabioLuporini FabioLuporini merged commit c17b7fb into master Jan 17, 2024
31 checks passed
@FabioLuporini FabioLuporini deleted the custom-comp-ver branch January 17, 2024 08:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
arch jitting, archinfo, ...
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants