Building the Lite Installation Package
Use the build/script/cmake_package_mini.sh script to build the openGauss Lite installation package.
Prerequisites
- The software and hardware have been prepared based on the requirements in Setting up the Build Environment, and the code has been downloaded by referring to Downloading Code.
- Open-source software has been built. For details, see Building Open-source Software.
- You are familiar with the parameter options and functions of the cmake_package_mini.sh script.
Procedure
Run the following command to go to the code directory:
[user@linux sda]$ cd /sda/openGauss-server/build/script
Run the following command to build the openGauss installation package:
[user@linux openGauss-server]$ sh cmake_package_mini.sh -3rd [binarylibs path] -m [release | debug | memcheck]
For example:
sh cmake_package_mini.sh -m release -3rd /sdc/binarylibs # Generate the openGauss Lite installation package of the release version.
If the following information is displayed, the installation package build is successful:
success!
- The generated installation package is stored in the ./output directory.
- The build and packaging log file is stored in ./build/script/makemppdb_pkg.log.
Feedback