mirror of
https://github.com/MariaDB/server.git
synced 2025-01-31 11:01:52 +01:00
#15 build mysql source tarball
This commit is contained in:
parent
6eade9928b
commit
3bb4f8adc5
1 changed files with 9 additions and 0 deletions
|
@ -196,6 +196,7 @@ function generate_cmake_cmd_rpm() {
|
|||
fi
|
||||
}
|
||||
|
||||
package_source_done=0
|
||||
if [ $build_tgz != 0 ] ; then
|
||||
|
||||
mkdir -p build.$cmake_build_type
|
||||
|
@ -203,6 +204,10 @@ if [ $build_tgz != 0 ] ; then
|
|||
|
||||
# actually build
|
||||
eval $(generate_cmake_cmd) ..
|
||||
if [ $package_source_done = 0 ] ; then
|
||||
make package_source
|
||||
package_source_done=1
|
||||
fi
|
||||
make package -j$makejobs
|
||||
popd
|
||||
fi
|
||||
|
@ -214,6 +219,10 @@ if [ $build_rpm != 0 ] ; then
|
|||
|
||||
# actually build
|
||||
eval $(generate_cmake_cmd; generate_cmake_cmd_rpm) ..
|
||||
if [ $package_source_done = 0 ] ; then
|
||||
make package_source
|
||||
package_source_done=1
|
||||
fi
|
||||
make package -j$makejobs
|
||||
popd
|
||||
fi
|
||||
|
|
Loading…
Add table
Reference in a new issue