CN115658075A - Software package compiling method and device, computing equipment and storage medium - Google Patents

Software package compiling method and device, computing equipment and storage medium Download PDF

Info

Publication number
CN115658075A
CN115658075A CN202211387599.XA CN202211387599A CN115658075A CN 115658075 A CN115658075 A CN 115658075A CN 202211387599 A CN202211387599 A CN 202211387599A CN 115658075 A CN115658075 A CN 115658075A
Authority
CN
China
Prior art keywords
software package
software
library file
package
packages
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202211387599.XA
Other languages
Chinese (zh)
Inventor
马海亮
孟杰
薛皓琳
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Uniontech Software Technology Co Ltd
Original Assignee
Uniontech Software Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Uniontech Software Technology Co Ltd filed Critical Uniontech Software Technology Co Ltd
Priority to CN202211387599.XA priority Critical patent/CN115658075A/en
Publication of CN115658075A publication Critical patent/CN115658075A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Stored Programmes (AREA)

Abstract

The invention discloses a software package compiling method, a software package compiling device, a computing device and a storage medium, wherein the method is executed in the computing device and comprises the following steps: in response to a first software package update, detecting whether a library file of the first software package is changed; if the library file changes, detecting whether one or more second software packages which depend on the first software package exist; if one or more second software packages exist, recompiling the one or more second software packages based on the changed library file. According to the technical scheme of the invention, the recompiled second software package depends on the updated library file of the first software package, so that the stability of a software dependence chain is ensured, and the second software package is ensured to be installed smoothly.

Description

Software package compiling method and device, computing equipment and storage medium
Technical Field
The present invention relates to the field of computer technologies, and in particular, to a software package compiling method, a software package compiling apparatus, a computing device, and a storage medium.
Background
At present, the software package compiling system mainly comprises koji, obs and the like. In the existing compiling systems, after a software package is updated, it is not checked whether other software packages depending on the updated software package need to be recompiled, which may cause the following problems: if the library provided before the update of the software package a is a.so.1 and the software package B depends on the software package a.so.1, then if the library provided after the update of the software package a is changed to a.so.2, the software package B cannot be installed after the update of the software package a because the software package B depends on the compilation of the software package a.so.1. In order to solve the technical problem, the B software package needs to be recompiled based on the updated a software package.
Therefore, a software package compiling method is needed to solve the problems in the above technical solutions.
Disclosure of Invention
To this end, the present invention provides a software package compiling method and apparatus to solve or at least alleviate the above-existing problems.
According to an aspect of the present invention, there is provided a software package compiling method, executed in a computing device, the method comprising: in response to a first software package update, detecting whether a library file of the first software package is changed; if the library file changes, detecting whether one or more second software packages relying on the first software package exist; and if one or more second software packages exist, recompiling the one or more second software packages based on the changed library file.
Optionally, in the software package compiling method according to the present invention, detecting whether the library file of the first software package is changed includes: generating a previous library file version list before the first software package is updated and a new library file version list after the first software package is updated; comparing the new library file version list with the previous library file version list to determine whether there is difference information between the new library file version list and the previous library file version list; if there is difference information, determining that the library file is altered.
Optionally, in a software package compiling method according to the present invention, the detecting whether there are one or more second software packages that depend on the first software package by the computing device being communicatively connected to a software storage device includes: detecting a compilation dependency of each software package in the software storage to determine whether the software package depends on the first software package; determining a software package that depends on the first software package as a second software package.
Optionally, in the software package compiling method according to the present invention, the recompiling the one or more second software packages includes: and pulling each second software package from the software storage device and recompiling the second software package.
Optionally, in the software package compiling method according to the present invention, recompiling the one or more second software packages includes: generating a recompiled software package list based on the one or more second software packages; and traversing the recompiled software package list, and recompiling each second software package in the recompiled software package list.
Optionally, in the software package compiling method according to the present invention, recompiling the one or more second software packages includes: and adding 1 to the release version number of each second software package, and recompiling each second software package.
Optionally, in the software package compiling method according to the present invention, the step of detecting whether the library file of the first software package is changed in response to the update of the first software package includes: monitoring a software package list in the software storage device to detect whether each software package in the software storage device is updated; and determining the software package which is updated as a first software package, and detecting whether the library file of the first software package is changed or not in response to the update of the first software package.
According to one aspect of the present invention, there is provided a software package compiling apparatus, residing in a computing device, the apparatus comprising: the change detection module is used for responding to the update of a first software package and detecting whether the library file of the first software package is changed; a dependency detection module adapted to detect whether one or more second software packages that depend on the first software package exist if the library file changes; a compilation module adapted to recompile one or more second software packages based on the altered library file if the one or more second software packages exist.
According to an aspect of the invention, there is provided a computing device comprising: at least one processor; a memory storing program instructions, wherein the program instructions are configured to be executed by the at least one processor, the program instructions comprising instructions for performing the software package compilation method as described above.
According to an aspect of the present invention, there is provided a readable storage medium storing program instructions which, when read and executed by a computing device, cause the computing device to perform the software package compiling method as described above.
According to the technical scheme of the invention, the software package compiling method is provided, wherein after the first software package is updated, whether the library file of the first software package is changed or not is detected, if the library file of the first software package is detected to be changed and the existence of the second software package depending on the first software package is detected, the second software package is recompiled based on the changed library file provided by the updated first software package. Therefore, the recompiled second software package depends on the updated library file of the first software package, the software dependence chain is stable, and the second software package is ensured to be installed smoothly.
The foregoing description is only an overview of the technical solutions of the present invention, and the embodiments of the present invention are described below in order to make the technical means of the present invention more clearly understood and to make the above and other objects, features, and advantages of the present invention more clearly understandable.
Drawings
To the accomplishment of the foregoing and related ends, certain illustrative aspects are described herein in connection with the following description and the annexed drawings, which are indicative of various ways in which the principles disclosed herein may be practiced, and all aspects and equivalents thereof are intended to be within the scope of the claimed subject matter. The above and other objects, features and advantages of the present disclosure will become more apparent from the following detailed description read in conjunction with the accompanying drawings. Throughout this disclosure, like reference numerals generally refer to like parts or elements.
FIG. 1 shows a schematic diagram of a computing device 100, according to one embodiment of the invention;
FIG. 2 illustrates a flow diagram of a software package compilation method 200 according to one embodiment of the invention;
fig. 3 shows a schematic diagram of a software package compiling apparatus 300 according to an embodiment of the present invention.
Detailed Description
Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited by the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.
FIG. 1 shows a schematic diagram of a computing device 100, according to one embodiment of the invention. As shown in FIG. 1, in a basic configuration, computing device 100 includes at least one processing unit 102 and system memory 104. According to one aspect, the processing unit 102 may be implemented as a processor depending on the configuration and type of computing device. The system memory 104 includes, but is not limited to, volatile storage (e.g., random access memory), non-volatile storage (e.g., read-only memory), flash memory, or any combination of such memories. In accordance with one aspect, an operating system 105 is included in system memory 104.
According to one aspect, the operating system 105 is, for example, adapted to control the operation of the computing device 100. Further, the examples are practiced in conjunction with a graphics library, other operating systems, or any other application program, and are not limited to any particular application or system. This basic configuration is illustrated in fig. 1 by those components within the dashed line. According to one aspect, computing device 100 has additional features or functionality. For example, according to one aspect, computing device 100 includes additional data storage devices (removable and/or non-removable) such as, for example, magnetic disks, optical disks, or tape. Such additional storage is illustrated in FIG. 1 by removable storage device 109 and non-removable storage device 110.
As stated hereinabove, according to one aspect, program module 103 is stored in system memory 104. According to one aspect, the program modules 103 may include one or more applications, the invention is not limited to the type of application, for example, the applications may include: email and contacts applications, word processing applications, spreadsheet applications, database applications, slide show applications, drawing or computer-aided applications, web browser applications, and the like.
According to one aspect, the program module 103 includes a plurality of program instructions adapted to perform the software package compilation method 200 of the present invention.
According to one aspect, the program modules 103 may include a software package compilation device 300, the software package compilation device 300 being configured to perform the software package compilation method 200 of the present invention.
According to one aspect, examples may be practiced in a circuit comprising discrete electronic elements, a packaged or integrated electronic chip containing logic gates, a circuit utilizing a microprocessor, or on a single chip containing electronic elements or microprocessors. For example, an example may be practiced via a system on a chip (SOC) in which each or many of the components shown in fig. 1 may be integrated on a single integrated circuit. According to one aspect, such SOC devices may include one or more processing units, graphics units, communication units, system virtualization units, and various application functions, all integrated (or "burned") onto a chip substrate as a single integrated circuit. When operating via an SOC, the functionality described herein may be operated via application-specific logic integrated with other components of the computing device 100 on the single integrated circuit (chip). Embodiments of the invention may also be practiced using other technologies capable of performing logical operations (e.g., AND, OR, AND NOT), including but NOT limited to mechanical, optical, fluidic, AND quantum technologies. In addition, embodiments of the invention may be practiced within a general purpose computer or in any other circuits or systems.
According to one aspect, computing device 100 may also have one or more input devices 112, such as a keyboard, mouse, pen, voice input device, touch input device, or the like. Output device(s) 114 such as a display, speakers, printer, etc. may also be included. The foregoing devices are examples and other devices may also be used. Computing device 100 may include one or more communication connections 116 that allow communication with other computing devices 118. Examples of suitable communication connections 116 include, but are not limited to: RF transmitter, receiver and/or transceiver circuitry; universal Serial Bus (USB), parallel, and/or serial ports.
The term computer readable media as used herein includes computer storage media. Computer storage media may include volatile and nonvolatile, removable and non-removable media implemented in any method or technology for storage of information, such as computer readable instructions, data structures, or program modules 103. System memory 104, removable storage 109, and non-removable storage 110 are all examples of computer storage media (i.e., memory storage). Computer storage media may include Random Access Memory (RAM), read Only Memory (ROM), electrically erasable read-only memory (EEPROM), flash memory or other memory technology, CD-ROM, digital Versatile Disks (DVD) or other optical storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other article of manufacture that can be used to store information and that can be accessed by the computer device 100. According to one aspect, any such computer storage media may be part of computing device 100. Computer storage media does not include a carrier wave or other propagated data signal.
In accordance with one aspect, communication media is embodied by computer readable instructions, data structures, program modules 103, or other data in a modulated data signal (e.g., a carrier wave or other transport mechanism) and includes any information delivery media. According to one aspect, the term "modulated data signal" describes a signal that has one or more feature sets or that has been altered in such a manner as to encode information in the signal. By way of example, and not limitation, communication media includes wired media such as a wired network or direct-wired connection, and wireless media such as acoustic, radio Frequency (RF), infrared, and other wireless media.
In an embodiment according to the invention, the computing device 100 is configured to perform a software package compilation method 200 according to the invention. The computing device 100 includes one or more processors, and one or more readable storage media storing program instructions that, when configured to be executed by the one or more processors, cause an operating system of the computing device to perform the software package compilation method 200 in embodiments of the present invention.
According to an embodiment of the present invention, a software package compiling apparatus 300 is disposed in the computing device 100, and the software package compiling apparatus 300 is configured to execute the software package compiling method 200 according to the present invention. Wherein the software package compiling apparatus 300 comprises a plurality of program instructions for executing the software package compiling method 200 of the invention, and the program instructions can instruct a processor to execute the software package compiling method 200 according to the invention.
FIG. 2 shows a flow diagram of a software package compilation method 200 according to one embodiment of the invention. The method 200 is suitable for being executed in a computing device (the aforementioned computing device 100), and particularly can be executed in a software package compiling apparatus 300 of the computing device.
It should be noted that, in some embodiments, the software package compiling apparatus 300 of the present invention may be deployed in any one or more compiling systems (e.g., koji compiling system, obs compiling system), so that the compiling system can execute the software package compiling method 200 of the present invention based on the software package compiling apparatus 300. However, the present invention is not limited to the above-listed compiling system.
According to one embodiment of the invention, the computing device 100 (software package compiling apparatus 300) may be communicatively connected with a software storage apparatus including a plurality of software packages therein. In one implementation, the software storage device may be implemented as a software repository and the software package may be implemented as an RPM package.
As shown in fig. 2 and 3, method 200 includes steps 210-230.
First, in step 210, in response to the update of the first software package, it is detected whether the library file provided by the first software package is changed. Here, it may be specifically detected whether the version of the library file provided by the first software package after the update is changed relative to the version of the library file provided by the first software package before the update.
According to an embodiment of the present invention, the software storage device includes a software package list, and information of each software package in the software storage device can be recorded in the software package list. The list of software packages in the software storage is, for example, pkglist in the Koji warehouse.
Detecting whether each software package in the software storage device is updated may be implemented by monitoring whether the software package information in the software package list in the software storage device is changed before performing step 210. It can be understood that if it is monitored that the software package information in the software package list changes, the software package which is updated can be determined according to the changed software package information in the software package list.
If an update of the software package is detected, the software package in which the update occurs may be determined as a first software package, and step 210 is performed to detect whether the library file of the first software package is changed in response to the update of the first software package.
It will be appreciated that for each software package in the software storage device that is updated, it may be the first software package and steps 210-230 are performed in response to the first software package update.
In an embodiment of the present invention, detecting whether a library file provided by the first software package is changed may be specifically implemented by the following method: firstly, by reading the Provides of the first software package, a previous library file version list before updating of the first software package is generated, and a new library file version list after updating of the first software package is generated. Here, the library file version list includes all of the library file versions provided by the first software package.
Next, by comparing the new library file version list with the previous library file version list, it may be determined whether there is difference information between the new library file version list (provided after the update of the first software package) and the previous library file version list (provided before the update of the first software package).
If it is determined that there is difference information between the new library file version list and the previous library file version list, it may be determined that a change has occurred to the library file (version) of the first software package. In addition, the comparison result of the version of the library file (difference information between the new version list of the library file and the previous version list of the library file) may be stored into the txt document.
If a change in the library file provided by the first software package is detected, step 220 is performed.
In step 220, it is detected whether there are one or more second software packages that depend on the first software package. In particular, it may be detected whether one or more second software packages dependent on the first software package are present in the software storage.
In one embodiment, detecting whether there are one or more second software packages that depend on the first software package may be performed according to the following method: whether the software package depends on the first software package is determined by detecting a compilation dependency of each software package in the software storage. If the software package is determined to depend on the first software package, the software package that depends on the first software package is determined to be a second software package (i.e., a second software package that depends on the first software package), and it is determined that the second software package needs to be recompiled.
In this way, after the compilation dependency detection for each software package in the software storage is completed, it can be determined whether there are one or more second software packages that depend on the first software package. In the case where there are one or more second software packages that depend on the first software package, the one or more second software packages that depend on the first software package may be determined.
If there are one or more second software packages that depend on the first software package, step 230 needs to be performed to recompile these second software packages.
In step 230, one or more second software packages are recompiled based on the changed library files provided by the updated first software package. In this way, the recompiled second software package is made to rely on the library file of the updated first software package to ensure the second software package is installed smoothly.
In one embodiment of the invention, each determined second software package may be pulled from the software storage and recompiled. Specifically, a spec template file is created through rpmdev-bumpspec to reconstruct the second software package and submitted to the compiling module for recompilation.
In one embodiment of the present invention, when one or more second software packages are recompiled, the release version number (indicating the number of times of compilation) of each second software package may be added by 1, and each second software package may be recompiled based on the changed library file.
In one embodiment of the invention, upon recompiling the one or more second software packages, a recompiled software package list may be generated based on the one or more second software packages. And traversing each second software package in the recompiled software package list, and recompiling each second software package in the recompiled software package list based on the changed library file provided by the updated first software package.
Fig. 3 shows a schematic diagram of a software package compiling apparatus 300 according to an embodiment of the invention. The software package compiling apparatus 300 is deployed in a computing device (e.g., the aforementioned computing device 100). The software package compiling device 300 is adapted to execute the software package compiling method 200 of the invention.
As shown in fig. 3, the software package compiling apparatus 300 includes a change detecting module 310, a dependency detecting module 320, and a compiling module 330, which are connected in communication in sequence.
Wherein the change detection module 310 may detect whether the library file of the first software package has changed in response to the first software package update.
If the library file changes, it may be detected by the dependency detection module 320 whether there are one or more second software packages that depend on the first software package.
If one or more second software packages exist, the one or more second software packages may be recompiled by the compiling module 330 based on the changed library file.
It should be noted that the change detection module 310 is configured to perform the aforementioned step 210, the dependency detection module 320 is configured to perform the aforementioned step 220, and the compiling module 330 is configured to perform the aforementioned step 230. Here, for the specific execution logic of the change detection module 310, the dependency detection module 320, and the compiling module 330, reference is made to the description of the steps 210 to 240 in the method 200, and details are not described here.
In some embodiments, the software package compiling apparatus 300 of the present invention may be deployed in any one or more compiling systems (e.g., koji compiling system, obs compiling system), so that the compiling system can execute the software package compiling method 200 of the present invention based on the software package compiling apparatus 300. However, the present invention is not limited to the compiling system listed above.
According to the software package compiling method 200 of the invention, after the first software package is updated, whether the library file of the first software package is changed or not is detected, if the library file of the first software package is detected to be changed and the existence of the second software package depending on the first software package is detected, the second software package is recompiled based on the changed library file provided by the updated first software package. Therefore, the recompiled second software package depends on the updated library file of the first software package, the software dependence chain is stable, and the second software package is ensured to be installed smoothly.
The various techniques described herein may be implemented in connection with hardware or software or, alternatively, with a combination of both. Thus, the methods and apparatus of the present invention, or certain aspects or portions thereof, may take the form of program code (i.e., instructions) embodied in tangible media, such as removable hard drives, U.S. disks, floppy disks, CD-ROMs, or any other machine-readable storage medium, wherein, when the program is loaded into and executed by a machine, such as a computer, the machine becomes an apparatus for practicing the invention.
In the case of program code execution on programmable computers, the mobile terminal generally includes a processor, a storage medium readable by the processor (including volatile and non-volatile memory and/or storage elements), at least one input device, and at least one output device. Wherein the memory is configured to store program code; the processor is configured to execute the software package compilation method of the present invention according to instructions in the program code stored in the memory.
By way of example, and not limitation, readable media may comprise readable storage media and communication media. Readable storage media store information such as computer readable instructions, data structures, program modules or other data. Communication media typically embodies computer readable instructions, data structures, program modules or other data in a modulated data signal such as a carrier wave or other transport mechanism and includes any information delivery media. Combinations of any of the above are also included within the scope of readable media.
In the description provided herein, algorithms and displays are not inherently related to any particular computer, virtual system, or other apparatus. Various general purpose systems may also be used with examples of this invention. The required structure for constructing such a system will be apparent from the description above. Moreover, the present invention is not directed to any particular programming language. It is appreciated that a variety of programming languages may be used to implement the teachings of the present invention as described herein, and any descriptions of specific languages are provided above to disclose the best mode of the invention.
In the description provided herein, numerous specific details are set forth. It is understood, however, that embodiments of the invention may be practiced without these specific details. In some instances, well-known methods, structures and techniques have not been shown in detail in order not to obscure an understanding of this description.
Similarly, it should be appreciated that in the foregoing description of exemplary embodiments of the invention, various features of the invention are sometimes grouped together in a single embodiment, figure, or description thereof for the purpose of streamlining the disclosure and aiding in the understanding of one or more of the various inventive aspects. However, the disclosed method should not be interpreted as reflecting an intention that: that the invention as claimed requires more features than are expressly recited in each claim. Thus, the claims following the detailed description are hereby expressly incorporated into this detailed description, with each claim standing on its own as a separate embodiment of this invention.
Those skilled in the art will appreciate that the modules or units or components of the devices in the examples disclosed herein may be arranged in a device as described in this embodiment or alternatively may be located in one or more devices different from the devices in this example. The modules in the foregoing examples may be combined into one module or may be further divided into multiple sub-modules.
Those skilled in the art will appreciate that the modules in the device in an embodiment may be adaptively changed and disposed in one or more devices different from the embodiment. The modules or units or components in the embodiments may be combined into one module or unit or component, and furthermore, may be divided into a plurality of sub-modules or sub-units or sub-components. All of the features disclosed in this specification (including any accompanying claims, abstract and drawings), and all of the processes or elements of any method or apparatus so disclosed, may be combined in any combination, except combinations where at least some of such features and/or processes or elements are mutually exclusive. Each feature disclosed in this specification (including any accompanying claims, abstract and drawings) may be replaced by alternative features serving the same, equivalent or similar purpose, unless expressly stated otherwise.
Furthermore, those skilled in the art will appreciate that while some embodiments described herein include some features included in other embodiments, rather than other features, combinations of features of different embodiments are meant to be within the scope of the invention and form different embodiments. For example, in the following claims, any of the claimed embodiments may be used in any combination.
Furthermore, some of the described embodiments are described herein as a method or combination of method elements that can be performed by a processor of a computer system or by other means of performing the described functions. A processor having the necessary instructions for carrying out the method or method elements thus forms a means for carrying out the method or method elements. Further, the elements of the apparatus embodiments described herein are examples of the following apparatus: the apparatus is used to implement the functions performed by the elements for the purpose of carrying out the invention.
As used herein, unless otherwise specified the use of the ordinal adjectives "first", "second", "third", etc., to describe a common object, merely indicate that different instances of like objects are being referred to, and are not intended to imply that the objects so described must be in a given sequence, either temporally, spatially, in ranking, or in any other manner.
While the invention has been described with respect to a limited number of embodiments, those skilled in the art, having benefit of this description, will appreciate that other embodiments can be devised which do not depart from the scope of the invention as described herein. Moreover, it should be noted that the language used in the specification has been principally selected for readability and instructional purposes, and may not have been selected to delineate or circumscribe the inventive subject matter. Accordingly, many modifications and variations will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the appended claims. The present invention has been disclosed in an illustrative rather than a restrictive sense with respect to the scope of the invention, as defined in the appended claims.

Claims (10)

1. A software package compilation method, performed in a computing device, the method comprising:
in response to a first software package update, detecting whether a library file of the first software package is changed;
if the library file changes, detecting whether one or more second software packages relying on the first software package exist;
if one or more second software packages exist, recompiling the one or more second software packages based on the changed library file.
2. The method of claim 1, wherein detecting whether the library file of the first software package is altered comprises:
generating a previous library file version list before the first software package is updated and a new library file version list after the first software package is updated;
comparing the new library file version list with the previous library file version list to determine whether there is difference information between the new library file version list and the previous library file version list;
if there is difference information, determining that the library file is changed.
3. The method of claim 1 or 2, wherein the computing device is communicatively coupled to a software storage, detecting whether one or more second software packages exist that depend on the first software package, comprising:
detecting a compilation dependency of each software package in the software storage to determine whether the software package depends on the first software package;
determining a software package that depends on the first software package as a second software package.
4. The method of claim 3, wherein recompiling the one or more second software packages comprises:
and pulling each second software package from the software storage device, and recompiling the second software package.
5. The method of any of claims 1-4, wherein recompiling the one or more second software packages comprises:
generating a recompiled software package list based on the one or more second software packages;
and traversing the recompiled software package list, and recompiling each second software package in the recompiled software package list.
6. The method of any of claims 1-5, wherein recompiling the one or more second software packages comprises:
and adding 1 to the release version number of each second software package, and recompiling each second software package.
7. The method of any of claims 1-6, wherein the computing device is communicatively coupled to a software storage, and detecting whether a library file of a first software package has changed in response to the first software package updating comprises:
monitoring a software package list in the software storage device to detect whether each software package in the software storage device is updated;
and determining the software package which is updated as a first software package, and detecting whether the library file of the first software package is changed or not in response to the update of the first software package.
8. A software package detection apparatus residing in a computing device, the apparatus comprising:
the change detection module is used for responding to the update of a first software package and detecting whether the library file of the first software package is changed;
a dependency detection module adapted to detect whether one or more second software packages that depend on the first software package exist if the library file changes;
a compilation module adapted to recompile one or more second software packages based on the altered library file if the one or more second software packages exist.
9. A computing device, comprising:
at least one processor; and
a memory storing program instructions, wherein the program instructions are configured to be executed by the at least one processor, the program instructions comprising instructions for performing the method of any of claims 1-7.
10. A readable storage medium storing program instructions that, when read and executed by a computing device, cause the computing device to perform the method of any of claims 1-7.
CN202211387599.XA 2022-11-07 2022-11-07 Software package compiling method and device, computing equipment and storage medium Pending CN115658075A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211387599.XA CN115658075A (en) 2022-11-07 2022-11-07 Software package compiling method and device, computing equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211387599.XA CN115658075A (en) 2022-11-07 2022-11-07 Software package compiling method and device, computing equipment and storage medium

Publications (1)

Publication Number Publication Date
CN115658075A true CN115658075A (en) 2023-01-31

Family

ID=85016277

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211387599.XA Pending CN115658075A (en) 2022-11-07 2022-11-07 Software package compiling method and device, computing equipment and storage medium

Country Status (1)

Country Link
CN (1) CN115658075A (en)

Similar Documents

Publication Publication Date Title
US9767292B2 (en) Systems and methods to identify security exploits by generating a type based self-assembling indirect control flow graph
US20060064576A1 (en) Boot systems and methods
CN101473301A (en) Iterative static and dynamic software analysis
CN101410812A (en) Migrating data that is subject to access by input/output devices
US11782813B2 (en) Methods and apparatus to determine refined context for software bug detection and correction
US10229273B2 (en) Identifying components for static analysis of software applications
CN113885936A (en) Solution method for software package dependence in customized mirror image
US10839124B1 (en) Interactive compilation of software to a hardware language to satisfy formal verification constraints
CN103999050A (en) Methods and apparatuses for computing checksums for effective caching in continuous distributed builds
CN111858290A (en) Method and apparatus for detecting memory leak path of target code
CN114816772B (en) Debugging method, debugging system and computing device for application running based on compatible layer
CN115658075A (en) Software package compiling method and device, computing equipment and storage medium
US7428712B1 (en) Design optimization using approximate reachability analysis
CN116150021A (en) Program running track tracking method, program running track comparing method, program running track tracking device and computing equipment
CN116245076A (en) Automatic construction method of DRC test version gallery, DRC method, DRC system and readable storage medium
US11720422B1 (en) Unified container for hardware and software binaries
CN115269199A (en) Data processing method and device, electronic equipment and computer readable storage medium
CN114895969A (en) Operating system sleeping method and device, computing equipment and storage medium
CN114936368A (en) Java memory Trojan detection method, terminal device and storage medium
CN105630558A (en) Upgrading method and electronic equipment
CN117008972B (en) Instruction analysis method, device, computing equipment and storage medium
CN115185426B (en) Data processing method and device for tree control and computing equipment
CN117193791A (en) Method for checking compatibility between driving module and kernel, computing device and storage medium
CN117891723A (en) Code checking method, computing device and storage medium
CN115470151B (en) Application operation analysis method, computing device and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination