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

DPL: allow decoupling from JAlien and retrieve JAlienFile, if available #5073

Merged
merged 3 commits into from Dec 16, 2020

Conversation

ktf
Copy link
Member

@ktf ktf commented Dec 16, 2020

This moves the file reading in a plugin like shared library, so that we do not need to have everything depend on JAlien.

This way we can have the plugin depend on JAlien and not
require everyone does.
@ktf ktf requested a review from a team as a code owner December 16, 2020 12:35
@ktf
Copy link
Member Author

ktf commented Dec 16, 2020

@costing @Atlantic777 @aphecetche I've not been able to convince CMake to add the JAlien include / link paths, though. Is that actually possible at all?

@ktf
Copy link
Member Author

ktf commented Dec 16, 2020

Ok, looks like I somehow managed by working it around on the O2 side. @aphecetche could you crosscheck? @costing / @Atlantic777 can we have some work allocated to have a proper CMake module for JAlien?

@ktf
Copy link
Member Author

ktf commented Dec 16, 2020

@jgrosseo this should allow you to retrieve whatever information is needed by Hyperloop for the file stats. The lines you can hook into is https://github.com/AliceO2Group/AliceO2/pull/5073/files#diff-9e3354c94a571c4eeb0e41d2a6f49b23ffe0a74cd38dd87a07cef1d1f67e2553R305.

@ktf
Copy link
Member Author

ktf commented Dec 16, 2020

We probably need some changes in alidist/o2.sh as well, but first we need this one merged.

@jgrosseo
Copy link
Collaborator

Thanks!

This is the groundwork to be able to access TJAlienFile from
the reader (without requiring everyone to depend on JAlien).
@aphecetche
Copy link
Collaborator

@ktf I've had a quick look at the cmake parts, and they look reasonable.

It's just a pity that we have to provide FindXXX.cmake files because those packages are not cmake friendly and do not provide relevant cmake config files :-(

@ktf ktf merged commit 953e0de into AliceO2Group:dev Dec 16, 2020
@ktf ktf deleted the jalienfile branch December 16, 2020 16:28
@ktf
Copy link
Member Author

ktf commented Dec 16, 2020

@aphecetche thanks and agreed it's a pity, although given the amount of complications getting a config file in CMake requires, I am not surprised...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants