2025-03-04 15:47:55
Some checks failed
CMake / Windows MSVC Win32 (push) Has been cancelled
CMake / Windows MSVC Win64 (push) Has been cancelled
CMake / Windows GCC (push) Has been cancelled
CMake / Ubuntu GCC -O3 (push) Has been cancelled
CMake / Ubuntu GCC OSB (push) Has been cancelled
CMake / Ubuntu Clang Debug (push) Has been cancelled
CMake / Ubuntu Clang (push) Has been cancelled
CMake / macOS Clang (push) Has been cancelled
CMake / Ubuntu GCC (push) Has been cancelled
CMake / macOS GCC (push) Has been cancelled
Configure / Ubuntu GCC PPC (push) Has been cancelled
Configure / Ubuntu GCC PPC64 (push) Has been cancelled
Configure / Ubuntu GCC S390X (push) Has been cancelled
Configure / Ubuntu GCC OSB (push) Has been cancelled
Configure / Ubuntu GCC AARCH64 (push) Has been cancelled
Configure / Ubuntu GCC ARM SF (push) Has been cancelled
Configure / Ubuntu GCC ARM HF (push) Has been cancelled
Configure / macOS Clang (push) Has been cancelled
Configure / Ubuntu GCC (push) Has been cancelled
Configure / macOS GCC (push) Has been cancelled
Configure / Ubuntu GCC PPC64LE (push) Has been cancelled
Some checks failed
CMake / Windows MSVC Win32 (push) Has been cancelled
CMake / Windows MSVC Win64 (push) Has been cancelled
CMake / Windows GCC (push) Has been cancelled
CMake / Ubuntu GCC -O3 (push) Has been cancelled
CMake / Ubuntu GCC OSB (push) Has been cancelled
CMake / Ubuntu Clang Debug (push) Has been cancelled
CMake / Ubuntu Clang (push) Has been cancelled
CMake / macOS Clang (push) Has been cancelled
CMake / Ubuntu GCC (push) Has been cancelled
CMake / macOS GCC (push) Has been cancelled
Configure / Ubuntu GCC PPC (push) Has been cancelled
Configure / Ubuntu GCC PPC64 (push) Has been cancelled
Configure / Ubuntu GCC S390X (push) Has been cancelled
Configure / Ubuntu GCC OSB (push) Has been cancelled
Configure / Ubuntu GCC AARCH64 (push) Has been cancelled
Configure / Ubuntu GCC ARM SF (push) Has been cancelled
Configure / Ubuntu GCC ARM HF (push) Has been cancelled
Configure / macOS Clang (push) Has been cancelled
Configure / Ubuntu GCC (push) Has been cancelled
Configure / macOS GCC (push) Has been cancelled
Configure / Ubuntu GCC PPC64LE (push) Has been cancelled
This commit is contained in:
parent
1309b03e15
commit
eb58bde10d
4 changed files with 88 additions and 12 deletions
|
@ -17,7 +17,7 @@ export APP_NAME=$(basename $(dirname $(dirname "${SCRIPT_PATH}")))
|
|||
# Declare input
|
||||
ARCH_BUILD=$1
|
||||
INSTALL_DIR=$2
|
||||
export BUILD_TYPE=all
|
||||
export BUILD_TYPE=release
|
||||
|
||||
# *********************************************************************
|
||||
# Function: print_help
|
||||
|
@ -282,8 +282,6 @@ export THIRD_PARTY_PREFIX=/opt/third_party
|
|||
export OUTPUT_DIR=output/${APP_NAME}-${ARCH_BUILD}-${BUILD_TYPE}
|
||||
export ZIP_DIR=${INSTALL_DIR}/zip
|
||||
export RELEASE_DIR=${INSTALL_DIR}/rls/${ARCH_BUILD}/release
|
||||
export STATIC_DIR=${INSTALL_DIR}/rls/${ARCH_BUILD}/static
|
||||
export DYNAMIC_DIR=${INSTALL_DIR}/rls/${ARCH_BUILD}/dynamic
|
||||
export BOOT_DIR=${INSTALL_DIR}/rls/${ARCH_BUILD}/boot
|
||||
export INSTALLERS_DIR=${INSTALL_DIR}/installers
|
||||
|
||||
|
@ -343,12 +341,6 @@ echo "=> Copy output to release directory: ${RELEASE_DIR}${PREFIX}/"
|
|||
mkdir -p ${RELEASE_DIR}
|
||||
cp -rf ${SRC_DIR}/${OUTPUT_DIR}/* ${RELEASE_DIR}/
|
||||
|
||||
echo ""
|
||||
echo "=> Copy output to dynamic directory: ${DYNAMIC_DIR}${PREFIX}/"
|
||||
mkdir -p ${DYNAMIC_DIR}
|
||||
cp -rf ${SRC_DIR}/${OUTPUT_DIR}/* ${DYNAMIC_DIR}/
|
||||
rm -rf ${DYNAMIC_DIR}${PREFIX}/lib/*.a
|
||||
|
||||
echo ""
|
||||
echo "=> Copy output ${OUTPUT_DIR}.tar.gz to compress directory: ${ZIP_DIR}/"
|
||||
mkdir -p ${ZIP_DIR}/
|
||||
|
|
42
scripts/build/build_all.sh
Executable file
42
scripts/build/build_all.sh
Executable file
|
@ -0,0 +1,42 @@
|
|||
#!/bin/bash
|
||||
################################################################################
|
||||
# Intended use: Compile and extract software packages
|
||||
#
|
||||
# Notes: This script support Linux Bash shell script only
|
||||
# Install Bash from https://www.gnu.org/software/bash/
|
||||
#
|
||||
# Copyright (C) 2015 - 2025, VGISC Dev Team <dev@vgisc.com>
|
||||
################################################################################
|
||||
|
||||
# Source path
|
||||
export SCRIPT=$(readlink -f "$0")
|
||||
export SCRIPT_PATH=$(dirname "$SCRIPT")
|
||||
export SRC_DIR=${SCRIPT_PATH}/../..
|
||||
export APP_NAME=$(basename $(dirname $(dirname "${SCRIPT_PATH}")))
|
||||
|
||||
# Validate input
|
||||
if [[ ! -f ${SCRIPT_PATH}/build.sh ]]; then
|
||||
echo -e "File ${SCRIPT_PATH}/build.sh does not exist, cannot continue."
|
||||
exit
|
||||
fi
|
||||
|
||||
${SCRIPT_PATH}/build.sh linux-x86_64
|
||||
${SCRIPT_PATH}/build.sh arm-linux-gnueabi
|
||||
${SCRIPT_PATH}/build.sh arm-linux-gnueabihf
|
||||
${SCRIPT_PATH}/build.sh aarch64-linux-gnu
|
||||
${SCRIPT_PATH}/build.sh powerpc-linux-gnu
|
||||
${SCRIPT_PATH}/build.sh powerpc64-linux-gnu
|
||||
${SCRIPT_PATH}/build.sh powerpc64le-linux-gnu
|
||||
${SCRIPT_PATH}/build.sh arm-linux-gnueabihf-xilinx
|
||||
${SCRIPT_PATH}/build.sh aarch64-linux-gnu-xilinx
|
||||
${SCRIPT_PATH}/build.sh powerpc64-fsl-linux
|
||||
${SCRIPT_PATH}/build.sh i686-w64-mingw32
|
||||
${SCRIPT_PATH}/build.sh x86_64-w64-mingw32
|
||||
${SCRIPT_PATH}/build.sh arm-openwrt-linux
|
||||
|
||||
echo ""
|
||||
echo "=> Done."
|
||||
echo ""
|
||||
################################################################################
|
||||
# BASH SCRIPT ON LINUX/UNIX - END
|
||||
################################################################################
|
|
@ -308,7 +308,7 @@ i686-w64-mingw32)
|
|||
./configure --prefix=${PREFIX}
|
||||
make -f win32/Makefile.gcc PREFIX=i686-w64-mingw32-
|
||||
make -f win32/Makefile.gcc PREFIX=i686-w64-mingw32- \
|
||||
SHARED_MODE=1 \
|
||||
SHARED_MODE=0 \
|
||||
INCLUDE_PATH=./${OUTPUT_DIR}${PREFIX}/include \
|
||||
LIBRARY_PATH=./${OUTPUT_DIR}${PREFIX}/lib \
|
||||
BINARY_PATH=./${OUTPUT_DIR}${PREFIX}/bin \
|
||||
|
@ -319,7 +319,7 @@ x86_64-w64-mingw32)
|
|||
./configure --prefix=${PREFIX}
|
||||
make -f win32/Makefile.gcc PREFIX=x86_64-w64-mingw32-
|
||||
make -f win32/Makefile.gcc PREFIX=x86_64-w64-mingw32- \
|
||||
SHARED_MODE=1 \
|
||||
SHARED_MODE=0 \
|
||||
INCLUDE_PATH=./${OUTPUT_DIR}${PREFIX}/include \
|
||||
LIBRARY_PATH=./${OUTPUT_DIR}${PREFIX}/lib \
|
||||
BINARY_PATH=./${OUTPUT_DIR}${PREFIX}/bin \
|
||||
|
@ -339,7 +339,7 @@ rm -rf ${SRC_DIR}/${OUTPUT_DIR}.tar.gz
|
|||
tar -zcvf ${SRC_DIR}/${OUTPUT_DIR}.tar.gz ${SRC_DIR}/${OUTPUT_DIR}/
|
||||
|
||||
echo ""
|
||||
echo "=> Copy output to release directory: ${STATIC_DIR}${PREFIX}/"
|
||||
echo "=> Copy output to static directory: ${STATIC_DIR}${PREFIX}/"
|
||||
mkdir -p ${STATIC_DIR}
|
||||
cp -rf ${SRC_DIR}/${OUTPUT_DIR}/* ${STATIC_DIR}/
|
||||
|
||||
|
|
42
scripts/build/static_build_all.sh
Executable file
42
scripts/build/static_build_all.sh
Executable file
|
@ -0,0 +1,42 @@
|
|||
#!/bin/bash
|
||||
################################################################################
|
||||
# Intended use: Compile and extract software packages
|
||||
#
|
||||
# Notes: This script support Linux Bash shell script only
|
||||
# Install Bash from https://www.gnu.org/software/bash/
|
||||
#
|
||||
# Copyright (C) 2015 - 2025, VGISC Dev Team <dev@vgisc.com>
|
||||
################################################################################
|
||||
|
||||
# Source path
|
||||
export SCRIPT=$(readlink -f "$0")
|
||||
export SCRIPT_PATH=$(dirname "$SCRIPT")
|
||||
export SRC_DIR=${SCRIPT_PATH}/../..
|
||||
export APP_NAME=$(basename $(dirname $(dirname "${SCRIPT_PATH}")))
|
||||
|
||||
# Validate input
|
||||
if [[ ! -f ${SCRIPT_PATH}/static_build.sh ]]; then
|
||||
echo -e "File ${SCRIPT_PATH}/static_build.sh does not exist, cannot continue."
|
||||
exit
|
||||
fi
|
||||
|
||||
${SCRIPT_PATH}/static_build.sh linux-x86_64
|
||||
${SCRIPT_PATH}/static_build.sh arm-linux-gnueabi
|
||||
${SCRIPT_PATH}/static_build.sh arm-linux-gnueabihf
|
||||
${SCRIPT_PATH}/static_build.sh aarch64-linux-gnu
|
||||
${SCRIPT_PATH}/static_build.sh powerpc-linux-gnu
|
||||
${SCRIPT_PATH}/static_build.sh powerpc64-linux-gnu
|
||||
${SCRIPT_PATH}/static_build.sh powerpc64le-linux-gnu
|
||||
${SCRIPT_PATH}/static_build.sh arm-linux-gnueabihf-xilinx
|
||||
${SCRIPT_PATH}/static_build.sh aarch64-linux-gnu-xilinx
|
||||
${SCRIPT_PATH}/static_build.sh powerpc64-fsl-linux
|
||||
${SCRIPT_PATH}/static_build.sh i686-w64-mingw32
|
||||
${SCRIPT_PATH}/static_build.sh x86_64-w64-mingw32
|
||||
${SCRIPT_PATH}/static_build.sh arm-openwrt-linux
|
||||
|
||||
echo ""
|
||||
echo "=> Done."
|
||||
echo ""
|
||||
################################################################################
|
||||
# BASH SCRIPT ON LINUX/UNIX - END
|
||||
################################################################################
|
Loading…
Add table
Add a link
Reference in a new issue