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

Added functions to retrieve tag files/configs #143

Merged
merged 2 commits into from
Jun 18, 2024

Conversation

anutosh491
Copy link
Collaborator

Description

Please include a summary of changes, motivation and context for this PR.
We should be dependent on compile time definitions for fetching tagfiles and we should be using prefix_path from xeus to do the following at runtime as mentioned in the issue. Hence I've added relevant functions in the xutils.hpp file for the same.

Fixes #54

Type of change

Please tick all options which are relevant.

  • Bug fix
  • New feature
  • Added/removed dependencies
  • Required documentation updates

@codecov-commenter
Copy link

codecov-commenter commented Jun 11, 2024

Codecov Report

Attention: Patch coverage is 87.50000% with 2 lines in your changes missing coverage. Please review.

Project coverage is 82.13%. Comparing base (edd830f) to head (85f201d).

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #143      +/-   ##
==========================================
+ Coverage   82.05%   82.13%   +0.08%     
==========================================
  Files          17       17              
  Lines         613      627      +14     
  Branches       59       61       +2     
==========================================
+ Hits          503      515      +12     
- Misses        110      112       +2     
Files Coverage Δ
src/xinspect.hpp 83.19% <100.00%> (ø)
src/xutils.cpp 80.95% <85.71%> (+2.38%) ⬆️
Files Coverage Δ
src/xinspect.hpp 83.19% <100.00%> (ø)
src/xutils.cpp 80.95% <85.71%> (+2.38%) ⬆️

Copy link
Contributor

clang-tidy review says "All clean, LGTM! 👍"

Copy link
Contributor

clang-tidy review says "All clean, LGTM! 👍"

Copy link
Collaborator

@JohanMabille JohanMabille left a comment

Choose a reason for hiding this comment

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

LGTM. Next setp will be to restore the old config file, i.e. not gernerating it from cmake, but read the version from it in the CMakeLists.txt instead. This can be done in a dedicated PR.

@anutosh491
Copy link
Collaborator Author

Thanks @JohanMabille for the review. Let's go ahead and merge this. I'll try to quickly address the above TODO in a dedicated PR :)

Copy link
Contributor

clang-tidy review says "All clean, LGTM! 👍"

Copy link
Contributor

@vgvassilev vgvassilev left a comment

Choose a reason for hiding this comment

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

LGTM!

@vgvassilev vgvassilev merged commit 426dd34 into compiler-research:main Jun 18, 2024
10 checks passed
@SylvainCorlay
Copy link
Collaborator

This PR would probably be worth porting to xeus-cling.

@anutosh491
Copy link
Collaborator Author

Sure I can look into it !

@anutosh491 anutosh491 deleted the tagfile branch June 18, 2024 09:33
@anutosh491 anutosh491 mentioned this pull request Jun 18, 2024
4 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Remove the PREFIX from generated binaries
5 participants