Update dependency source when package all is called (#272)
This commit is contained in:
parent
906933d2b3
commit
3fc5e57fef
@ -24,6 +24,7 @@ TOOLCHAIN_RUN_DEPS=(
|
|||||||
zlib1g # zlib library used for all builds
|
zlib1g # zlib library used for all builds
|
||||||
libexpat1 libipt2 libbabeltrace1 liblzma5 python3 # for gdb
|
libexpat1 libipt2 libbabeltrace1 liblzma5 python3 # for gdb
|
||||||
libcurl4 # for cmake
|
libcurl4 # for cmake
|
||||||
|
file # for CPack
|
||||||
libreadline8 # for cmake and llvm
|
libreadline8 # for cmake and llvm
|
||||||
libffi7 libxml2 # for llvm
|
libffi7 libxml2 # for llvm
|
||||||
)
|
)
|
||||||
|
@ -1 +1 @@
|
|||||||
../LICENSE.md
|
../../LICENSE
|
@ -18,14 +18,21 @@ print_help () {
|
|||||||
|
|
||||||
make_package () {
|
make_package () {
|
||||||
os="$1"
|
os="$1"
|
||||||
|
|
||||||
|
build_container="mgbuild_$os"
|
||||||
|
echo "Building Memgraph for $os on $build_container..."
|
||||||
|
|
||||||
package_command=""
|
package_command=""
|
||||||
if [[ "$os" =~ ^"centos".* ]]; then
|
if [[ "$os" =~ ^"centos".* ]]; then
|
||||||
|
docker exec "$build_container" bash -c "yum -y update"
|
||||||
package_command=" cpack -G RPM --config ../CPackConfig.cmake && rpmlint memgraph*.rpm "
|
package_command=" cpack -G RPM --config ../CPackConfig.cmake && rpmlint memgraph*.rpm "
|
||||||
fi
|
fi
|
||||||
if [[ "$os" =~ ^"debian".* ]]; then
|
if [[ "$os" =~ ^"debian".* ]]; then
|
||||||
|
docker exec "$build_container" bash -c "apt update"
|
||||||
package_command=" cpack -G DEB --config ../CPackConfig.cmake "
|
package_command=" cpack -G DEB --config ../CPackConfig.cmake "
|
||||||
fi
|
fi
|
||||||
if [[ "$os" =~ ^"ubuntu".* ]]; then
|
if [[ "$os" =~ ^"ubuntu".* ]]; then
|
||||||
|
docker exec "$build_container" bash -c "apt update"
|
||||||
package_command=" cpack -G DEB --config ../CPackConfig.cmake "
|
package_command=" cpack -G DEB --config ../CPackConfig.cmake "
|
||||||
fi
|
fi
|
||||||
telemetry_id_override_flag=""
|
telemetry_id_override_flag=""
|
||||||
@ -39,8 +46,6 @@ make_package () {
|
|||||||
exit
|
exit
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
build_container="mgbuild_$os"
|
|
||||||
echo "Building Memgraph for $os on $build_container..."
|
|
||||||
|
|
||||||
echo "Copying project files..."
|
echo "Copying project files..."
|
||||||
# If master is not the current branch, fetch it, because the get_version
|
# If master is not the current branch, fetch it, because the get_version
|
||||||
|
Loading…
Reference in New Issue
Block a user