|
|
Log in / Subscribe / Register

bzip2 build system

bzip2 build system

Posted May 27, 2016 3:21 UTC (Fri) by mathstuf (subscriber, #69389)
In reply to: bzip2 build system by rleigh
Parent article: Old projects and the free-software community

We also have one at $DAYJOB. Ping me and I'll try and look at seeing if we can merge? At a glance it looks good (yay, CMP0053 ;) ), but there are probably some discrepancies.

As a side note, I am interested in super builds as well (just went through and consolidated features from a bunch of ours; working on migration now), so I'll probably take a look around there as well :) .


to post comments

bzip2 build system

Posted May 27, 2016 15:40 UTC (Fri) by rleigh (guest, #14622) [Link] (1 responses)

Sure, happy to merge stuff. Ideally I'd like to hand it to upstream and drop my local patches, as I did for libtiff. While I originally kept this to using CMake 2.8 for greater portability and upstream merging, I might well think about a move to 3.2+ like the rest of the codebase if that's unlikely to happen. Is your version publicly available? Are you mathstuf on github, by the way?

Feel free to snarf any of the superbuild stuff; it's all permissively BSD licensed (as are all my current work projects). You might also want to look at "hunter"; I ended up going my own way since I didn't want to rely on network connectivity to build, and I also needed things building with options not used there, as well as caching downloaded sources. This one is fairly flexible in that you can arbitrarily extend it, and it will recursively resolve dependencies (optional, so you can use the distro-provided ones where available). It will likely get further simplified over time, but hopefully might be useful for inspiration.

bzip2 build system

Posted May 27, 2016 16:23 UTC (Fri) by mathstuf (subscriber, #69389) [Link]

Yeah, it's publicly available, but it is hacked up for direct inclusion into VTK, so there are probably some discrepancies, but if there's already proper CMake patches out there, I'd rather work with that and on getting it upstream than our current process. Our stuff is all at https://gitlab.kitware.com/groups/third-party but it seems I haven't done bzip2 yet? Those patches are in the superbuild then.

I had also looked at hunter, but had similar issues. Our superbuild stuff is here: https://gitlab.kitware.com/ben.boeckel/common-superbuild

And yes, mathstuf on github as well.


Copyright © 2026, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds