mirror of
https://github.com/hyperion-project/hyperion.ng.git
synced 2023-10-10 13:36:59 +02:00
Keep "build" directory naming
This commit is contained in:
parent
4603d65b4f
commit
1f9ffc91a5
@ -10,12 +10,12 @@ make_release()
|
|||||||
PLATFORM=$2
|
PLATFORM=$2
|
||||||
shift 2
|
shift 2
|
||||||
|
|
||||||
rm -r hyperion.ng-${RELEASE}
|
rm -r build-${RELEASE}
|
||||||
mkdir -p hyperion.ng-${RELEASE}
|
mkdir -p build-${RELEASE}
|
||||||
rm -r deploy/${RELEASE}
|
rm -r deploy/${RELEASE}
|
||||||
mkdir -p deploy/${RELEASE}
|
mkdir -p deploy/${RELEASE}
|
||||||
|
|
||||||
cd hyperion.ng-${RELEASE}
|
cd build-${RELEASE}
|
||||||
cmake -DCMAKE_INSTALL_PREFIX=/usr -DPLATFORM=${PLATFORM} $@ -DCMAKE_BUILD_TYPE=Release -Wno-dev .. || exit 1
|
cmake -DCMAKE_INSTALL_PREFIX=/usr -DPLATFORM=${PLATFORM} $@ -DCMAKE_BUILD_TYPE=Release -Wno-dev .. || exit 1
|
||||||
make -j $(nproc) || exit 1
|
make -j $(nproc) || exit 1
|
||||||
#strip bin/*
|
#strip bin/*
|
||||||
@ -25,8 +25,8 @@ make_release()
|
|||||||
bin/create_release.sh . ${RELEASE}
|
bin/create_release.sh . ${RELEASE}
|
||||||
}
|
}
|
||||||
|
|
||||||
CMAKE_PROTOC_FLAG="-DIMPORT_PROTOC=../hyperion.ng-x86x64/protoc_export.cmake"
|
CMAKE_PROTOC_FLAG="-DIMPORT_PROTOC=../build-x86x64/protoc_export.cmake"
|
||||||
CMAKE_FLATC_FLAG="-DIMPORT_FLATC=../hyperion.ng-x86x64/flatc_export.cmake"
|
CMAKE_FLATC_FLAG="-DIMPORT_FLATC=../build-x86x64/flatc_export.cmake"
|
||||||
|
|
||||||
make_release x86x64 x86
|
make_release x86x64 x86
|
||||||
#make_release x32 x86 -DCMAKE_TOOLCHAIN_FILE="../cmake/Toolchain-x32.cmake" ${CMAKE_PROTOC_FLAG} ${CMAKE_FLATC_FLAG}
|
#make_release x32 x86 -DCMAKE_TOOLCHAIN_FILE="../cmake/Toolchain-x32.cmake" ${CMAKE_PROTOC_FLAG} ${CMAKE_FLATC_FLAG}
|
||||||
|
@ -7,7 +7,7 @@ fi
|
|||||||
|
|
||||||
repodir="$1"
|
repodir="$1"
|
||||||
buildid="$2"
|
buildid="$2"
|
||||||
builddir=$repodir/hyperion.ng-$buildid
|
builddir=$repodir/build-$buildid
|
||||||
echo build directory = $builddir
|
echo build directory = $builddir
|
||||||
echo repository root directory = $repodir
|
echo repository root directory = $repodir
|
||||||
if ! [ -d "$builddir" ]; then
|
if ! [ -d "$builddir" ]; then
|
||||||
|
Loading…
Reference in New Issue
Block a user