Skip to content

Add uuidgen to AthGeneration, 21.6 (2022.07.07.)

Added the build of the uuidgen executable to the AthGeneration project, as a solution proposal for ATLINFR-4616.

Since this is a problem very specifically for 21.6, I didn't want to add code for it into atlas/atlasexternals. It seemed good enough to just add the code to specifically this branch.

I downloaded all the sources from https://github.com/util-linux/util-linux, as that seemed to be the most up-to-date version of this executable. But:

  • This is GPLv2 code. Requiring us to put their license into our repository. Which I'm not chuffed about.
  • I had to tweak the code a little to work with the older version of libuuid coming from LCG_88b.
    • But this still seemed a little easier than to figure out exactly which version of the code to take for the specific version of libuuid that we have.
  • Wow was the build setup of this code in CMake not completely trivial.
    • Still, I definitely didn't want to build everything from util-linux with its own build system just to get the uuidgen executable.

I'd leave it to @elmsheus and @nstyles to decide if including GPLv2 code in the repository may be acceptable. 🤔

Edited by Attila Krasznahorkay

Merge request reports

Loading