Compiling control method, terminal and computer readable storage medium

A control method and compiling technology, applied in the computer field, can solve problems such as increasing development cycle and development cost, reducing development efficiency, and failing to compile target files.

Pending Publication Date: 2021-03-16
NUBIA TECHNOLOGY CO LTD
View PDF0 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The technical problem to be solved by the present invention is that once a compilation error occurs in the existing compilation control method, the entire compilation will be terminated, resulting in the inability to compile the target file and blocking everyone's work, and the positioning of the module to which the compilation error belon

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Compiling control method, terminal and computer readable storage medium
  • Compiling control method, terminal and computer readable storage medium
  • Compiling control method, terminal and computer readable storage medium

Examples

Experimental program
Comparison scheme
Effect test

no. 1 example

[0067] In this embodiment, once a compilation error occurs in the existing compilation control method, the entire compilation is terminated, resulting in the inability to compile the target file and blocking everyone's work, and the positioning of the module to which the compilation error belongs and the location of the compilation error are all done manually. There is a lot of time wasted in the intermediate links, which reduces the development efficiency and increases the development cycle and development cost. A compilation control method is proposed. For details, please refer to image 3 shown.

[0068] image 3 The basic flow chart of the compiling control method provided in this embodiment, the compiling control method includes:

[0069] S301. Start the compilation program, and the compilation system compiles the source code according to the configured compilation script, and generates a compilation log at the same time.

[0070] Compilation is generally based on the c...

no. 2 example

[0093] Figure 4 It is a detailed flow chart of the prompt method for compiling control provided in the second embodiment of the present invention. The compiling control method includes:

[0094] S401. Start the compilation program, and the compilation system compiles the source code according to the configured compilation script, and generates a compilation log at the same time.

[0095] In this embodiment, the compilation log can also be used to record compilation information such as the current compilation progress, the location where the compiled object file is generated, and the location of compilation errors.

[0096] After the compilation script is configured, the compilation program is started, and the compilation system compiles the source code according to the compilation script, and inputs the detailed records of the modification of the source code during the compilation process into the compilation log to generate a compilation log.

[0097] S402. An error occurs ...

no. 3 example

[0123] This embodiment also provides a terminal, see Figure 5 As shown, it includes a processor 501, a memory 502 and a communication bus 503, wherein:

[0124] The communication bus 503 is used to realize connection and communication between the processor 501 and the memory 502;

[0125] The processor 501 is used to execute one or more programs stored in the memory 502, so as to realize the steps of the compilation control method in the above-mentioned embodiments, which will not be repeated here; The normal progress of the system, and the compilation error location is automatically located by the compilation system, which reduces the time cost, improves the development efficiency, shortens the development cycle, and reduces the R&D cost.

[0126] This embodiment also provides a computer-readable storage medium, which can be applied to various terminals and stores one or more programs, and the one or more programs can be processed by one or more executed by the controller,...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention discloses a compiling control method, a terminal and a computer readable storage medium, and the method comprises the steps: starting a compiling program, enabling a compiling system tocompile a source code according to a configured compiling script, generating a compiling log at the same time, pausing the compiling and triggering a compiling auxiliary tool when a compiling error occurs; and the compiling auxiliary tool analyzing the compiling log, determining the error condition of the compiling error, processing the compiling error, restarting the compiling program and continuing compiling from the pause position. The invention further discloses equipment and a computer readable storage medium. According to the method, normal compilation can still be guaranteed when errorsoccur in compilation, the compilation error position is automatically positioned through the compilation system, time cost is reduced, development efficiency is improved, the development period is shortened, and research and development cost is reduced.

Description

technical field [0001] The present invention relates to the field of computer technology, and more specifically, to a compilation control method, a terminal, and a computer-readable storage medium. Background technique [0002] The process of compiling is a process in which the source program is converted by the compiler into a target program composed of machine language that the machine can directly or indirectly recognize. Nowadays, many projects are relatively large, with a large amount of code and many source files. Developers usually need to use some management tools or scripts (such as makefiles and python scripts) to compile dependencies and finally compile all the codes of a large project. Come in and complete a compilation; when a large system contains multiple projects, the amount of code is even greater, and the number of source files is even greater. We all know that the larger the code size and the more source files, the more compilation time is required. Once ...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
IPC IPC(8): G06F8/41G06F11/07
CPCG06F8/41G06F11/0766G06F11/0793
Inventor 吴启军
Owner NUBIA TECHNOLOGY CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products