Request for Changes-5: SuperBuild archive script
From OTBWiki
Contents
[Request for Changes - 5] Superbuild archive script
Status
- Author: Guillaume Pasero
- Submitted on 22.09.2015
- Proposed target release : 5.2
- Adopted (+3 from Jordi, Julien, Manuel)
- Merged : https://git.orfeo-toolbox.org/otb.git/commit/d76c61b8f508d65f657fa7ddabad84c2b74799fb
- Git branch : https://git.orfeo-toolbox.org/otb.git/shortlog/refs/heads/superbuild_archive
Summary
Provide a tool to produce the all-in-one SuperBuild archives.
Rationale
When the SuperBuild dependencies are modified, the all-in-one SuperBuild archive has to be updated so that it contains the right dependencies versions. There is a significant number of dependencies to watch, so there is a need for an automatic process to get the dependencies sources, and build the SuperBuild archive.
Implementation details
Classes and files
M Utilities/Maintenance/SuperbuildDownloadList.sh
This script has been extended so that it :
- parses the current SuperBuild CMake folder
- searches for downloadable URLs
- gets them using wget
- compresses the files in an archive
- computes the md5sum.
M CMakeLists.txt
A specific target has been added to the main CMakeLists.txt in order to build the SuperBuild archive : SuperBuild-archive
Applications
(none)
Tests
(none)
Documentation
The script usage is self-documented.
Additional notes
(none)