WIPACrepo / docker-icecube-icetray

2 stars 5 forks source link

Support parasitic metaprojects? #11

Open mlincett opened 1 year ago

mlincett commented 1 year ago

I am trying to build realtime starting from an icetray-devel image, however the cmake stage fails due to lack of /usr/local/icetray/CMakeCache.txt.

In a Slack thread, @blaufuss mentioned "the cvmfs installed builds are stripped of many of the needed items for a parasitic build".

Since I would like to have realtime containerised, I am not sure what is the best way forward.

Feel free to comment in the realtime issue as well.

mlincett commented 1 year ago

Following-up a comment by @briedel on Slack: for the Skymap Scanner Dockerfile it seems we used to just copy over some python modules, rather than trying to compile realtime.

I have skimmed through the commit history and it seems that there was no coupling to realtime for the cloud version.

blaufuss commented 1 year ago

Correct: only the GFU llh engine is a compiled part of the realtime project, everything else is scripts, etc

dsschult commented 1 year ago

https://github.com/WIPACrepo/docker-icecube-icetray/blob/master/install_icetray/Dockerfile_install#L62 is the reason why the build directory disappears. This could probably be adjusted so it does a normal build for the devel image, and an "install" only for the prod image. That would mean you could add an extra project and rebuild for devel.

Note that I'm not sure there's any way to get parasitic metaprojects working with an installed version of icetray.

mlincett commented 1 year ago

This could probably be adjusted so it does a normal build for the devel image

This sounds reasonable!