The application discloses a kind of batch
software automatic construction method, builds
software on Linux and Kylin
system, specifically includes the following steps: using AI neural
network model analysis each
source code description file of
software, extracts the information of dependent installation, configuration or compilation;Write
regular expression to extract the information of dependent installation, configuration or compilation in each
source code description file of software;Contrast the information obtained by the above two methods, make a comprehensive decision;If the
relevant information cannot be obtained by using the above two methods, then
traverse the configuration file information in the first folder of
source code directory by the method of traversal, select the appropriate default compilation method;Grab the information printed when compiling, use regular method to grab key flag information, judge whether the compilation is successful or not.By the application, a
general method is established, which greatly simplifies the
software construction work in the daily work of developers, and can quickly perform the construction work of a large number of code packages.