mirror of
https://github.com/hyperion-project/hyperion.ng.git
synced 2025-03-01 10:33:28 +00:00
Correct Copy Process
because the package names have changed (have the scripts in line with docker-compile.sh)
This commit is contained in:
@@ -10,23 +10,23 @@ make_release()
|
||||
PLATFORM=$2
|
||||
shift 2
|
||||
|
||||
rm -r build-${RELEASE}
|
||||
mkdir -p build-${RELEASE}
|
||||
rm -r hyperion.ng-${RELEASE}
|
||||
mkdir -p hyperion.ng-${RELEASE}
|
||||
rm -r deploy/${RELEASE}
|
||||
mkdir -p deploy/${RELEASE}
|
||||
|
||||
cd build-${RELEASE}
|
||||
cd hyperion.ng-${RELEASE}
|
||||
cmake -DCMAKE_INSTALL_PREFIX=/usr -DPLATFORM=${PLATFORM} $@ -DCMAKE_BUILD_TYPE=Release -Wno-dev .. || exit 1
|
||||
make -j $(nproc) || exit 1
|
||||
#strip bin/*
|
||||
make package -j $(nproc)
|
||||
mv Hyperion-*.* ../deploy/${RELEASE}
|
||||
mv Hyperion.NG-* ../deploy/${RELEASE}
|
||||
cd ..
|
||||
bin/create_release.sh . ${RELEASE}
|
||||
}
|
||||
|
||||
CMAKE_PROTOC_FLAG="-DIMPORT_PROTOC=../build-x86x64/protoc_export.cmake"
|
||||
CMAKE_FLATC_FLAG="-DIMPORT_FLATC=../build-x86x64/flatc_export.cmake"
|
||||
CMAKE_PROTOC_FLAG="-DIMPORT_PROTOC=../hyperion.ng-x86x64/protoc_export.cmake"
|
||||
CMAKE_FLATC_FLAG="-DIMPORT_FLATC=../hyperion.ng-x86x64/flatc_export.cmake"
|
||||
|
||||
make_release x86x64 x86
|
||||
#make_release x32 x86 -DCMAKE_TOOLCHAIN_FILE="../cmake/Toolchain-x32.cmake" ${CMAKE_PROTOC_FLAG} ${CMAKE_FLATC_FLAG}
|
||||
|
Reference in New Issue
Block a user