A method of dynamically compiling software packages according to dependencies
A dependency and dynamic compilation technology, applied in the field of compilation, can solve problems such as complex dependencies and large number of software packages, achieve good effects and effects, and facilitate iterative modification
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Examples
Embodiment Construction
[0030] A method for dynamically compiling software packages according to dependencies, comprising the following steps:
[0031] Step (1), set a specific variable (take ROOTDIR as an example) as the directory where the current project is located; that is, ROOTDIR=`(cd ".."; / bin / pwd)`;
[0032] Step (2), clear all files under the specific directory (take $ROOTDIR / .stamp as an example) set for identifying dependencies;
[0033] Step (3), calling one or more required main software packages. For example, build_x11, build_qt, etc., this step depends entirely on the characteristics of the final operating system, and does not need to consider the sequence and dependencies of each software package;
[0034] Step (4), in each build_XXX script, according to the characteristics of the software package, call the sub-packages build_YYY1, build_YYY2, ..., build_YYYn that the software package depends on in sequence according to the agreement. At this time, there is no need to consider the ...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More