Method of complete function-based multi-version software management on Phytium platform
A software management, multi-version technology, applied in the field of operating systems, can solve the problem of modularity not being able to apply Linux distributions, etc., to achieve the effect of improving efficiency
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
example 1
[0064] The expression is actually a function, and the function takes environment variables, source code addresses, build dependencies, etc. as parameters of the function. Therefore, in the process of building the package, the required environment variables will be read and the source code will be obtained. An example of a function expression, that is, example 1, is as follows:
[0065]
[0066] The process of writing function expressions is as follows: figure 2 Shown:
[0067] S101, parameter definition
[0068] First define all the parameters required for software construction. The parameters are all the dependent packages required to build the software package. The first line of the above example shows that the three dependencies of stdenv, feturl and perl are required to build the hello package. Pass the names of dependent packages and dependent environment variables as arguments.
[0069] S102, calling the building function
[0070] Call the component function fro...
example 3
[0096] After the function expression and the build script are written, run the build command to build; the built example 3 code is as follows:
[0097] 1ky-build-A hello
[0098] The package build process is as follows Figure 4 Shown:
[0099] S301. Create a build result symbolic link;
[0100] During the build process, a hidden resulting symlink is first created.
[0101] S302. Analyzing construction parameters;
[0102] Parse the parameters of the build command; the "-A" parameter in the above sample code indicates that the "hello" attribute is selected.
[0103] S303. Read and parse the function expression;
[0104] Read the written function expression, analyze the function definition in the expression, including function parameters and specific statements in the function expression.
[0105] S304, execute the build script;
[0106] Execute the build script; in the above example, builder.sh is executed. During the execution of the build script, the environment varia...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com