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

Make PackageCompiler.jl compilation selectable in cmake #128

Merged
merged 22 commits into from
Oct 20, 2023

Conversation

benegee
Copy link
Collaborator

@benegee benegee commented Sep 29, 2023

Resolves #124

  • Introduces a new option USE_PACKAGE_COMPILER
  • Requires JULIA_PROJECT_PATH being set (as does testing)

- required JULIA_PROJECT_PATH (so does testing)
- install missing
- examples missing
@benegee
Copy link
Collaborator Author

benegee commented Sep 29, 2023

So far compilation in an out-of-source build directory seems to work.

Installation and examples are still missing.

@codecov
Copy link

codecov bot commented Sep 29, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (5c9e285) 98.05% compared to head (75344f5) 98.05%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #128   +/-   ##
=======================================
  Coverage   98.05%   98.05%           
=======================================
  Files          13       13           
  Lines         565      565           
=======================================
  Hits          554      554           
  Misses         11       11           
Flag Coverage Δ
unittests 98.05% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

LibTrixi.jl/lib/build.jl Outdated Show resolved Hide resolved
CMakeLists.txt Show resolved Hide resolved
CMakeLists.txt Outdated Show resolved Hide resolved
CMakeLists.txt Outdated Show resolved Hide resolved
@benegee benegee marked this pull request as ready for review October 4, 2023 12:01
@benegee benegee requested a review from sloede October 10, 2023 11:30
Copy link
Member

@sloede sloede left a comment

Choose a reason for hiding this comment

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

LGTM overall, thanks a lot for doing this! It would be great if you could also document how to enable the PC build in the README and/or docs. I've left a few minor notes as well.

.github/workflows/ci.yml Outdated Show resolved Hide resolved
CMakeLists.txt Show resolved Hide resolved
CMakeLists.txt Outdated Show resolved Hide resolved
CMakeLists.txt Outdated Show resolved Hide resolved
@benegee
Copy link
Collaborator Author

benegee commented Oct 18, 2023

I also added the cmake call to the docs. Thanks for the reminder!

CMakeLists.txt Outdated Show resolved Hide resolved
CMakeLists.txt Show resolved Hide resolved
this allows to define dependencies
Copy link
Member

@sloede sloede left a comment

Choose a reason for hiding this comment

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

LGTM! 🥳

@sloede sloede enabled auto-merge (squash) October 20, 2023 11:01
@sloede sloede merged commit d232781 into main Oct 20, 2023
8 checks passed
@sloede sloede deleted the package-compiler-in-cmake branch October 20, 2023 11:03
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.

Make PackageCompiler library selectable via cmake
2 participants