Skip to content

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 ktf requested a review from a team as a code owner December 16, 2020 13:58
@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!

ktf added 2 commits December 16, 2020 15:45
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.

3 participants