Compare commits
89 Commits
6397a943ae
...
pip_2.39
| Author | SHA1 | Date | |
|---|---|---|---|
| ea57bc5cbd | |||
| d8b843c8e8 | |||
|
|
56bd00ed11 | ||
|
|
2faecd4183 | ||
|
|
e0f3df2217 | ||
| b8804524d4 | |||
|
|
4d9ad58f11 | ||
| 000114b53f | |||
|
|
2877d2e642 | ||
|
|
93f329e26e | ||
| 25a15485a5 | |||
| 10266e2f2c | |||
| 17e292bc58 | |||
| 0ab1cdaddd | |||
| f9385b74c4 | |||
| 178f7ad40e | |||
| df7808a84f | |||
| cf212c8d47 | |||
|
|
7a3fb8218b | ||
|
|
f473119d29 | ||
| 816be49239 | |||
| c9a0a0d69a | |||
| 57aa78c740 | |||
| 5874e5e1ac | |||
| 63d8d365b8 | |||
|
|
df9ed5de85 | ||
| dfa5a1a394 | |||
|
|
6df7387815 | ||
| 349ee2ccb5 | |||
|
|
d04fd3cba4 | ||
| 446a6734d7 | |||
|
|
abf8e1e6c6 | ||
| f7c59ee6ac | |||
|
|
75287cec2e | ||
| 692fedb4b9 | |||
|
|
784d12218b | ||
| 388898531b | |||
|
|
7ab7f64693 | ||
|
|
c2fa3b90ee | ||
|
|
396ca289fb | ||
|
|
8ac7b66ce7 | ||
|
|
7a6761dc7a | ||
|
|
0fd3ec141a | ||
| b0355ba5f5 | |||
| 720ac4c8ed | |||
| aa5758de83 | |||
|
|
24d2caf102 | ||
| 5dbeb7abbc | |||
| 4efd8d2860 | |||
| 225c63b6d9 | |||
| 0ada867018 | |||
| 7ecc327c79 | |||
| 1cdffe24d7 | |||
| 04d56182f8 | |||
|
|
862018e3b0 | ||
|
|
b8c6e41474 | ||
| 1f9b8c239e | |||
| f30965fdaf | |||
| 4165c9fe1c | |||
| 6b09bb70db | |||
|
|
13fa88db43 | ||
| a9d0dd2e63 | |||
| 59daed840f | |||
| ebd5ef3221 | |||
| cfd98b54fd | |||
| b0c80203d0 | |||
| be5f890057 | |||
| 035a2bd825 | |||
| 1625d6c68b | |||
|
|
cd4ede3409 | ||
| 56b1ef1289 | |||
|
|
3b7299747a | ||
| d237969ff2 | |||
| e735fe01a2 | |||
| f66d7bff7d | |||
| 9dba1a0091 | |||
| a313047275 | |||
| efe08dfb27 | |||
| b1b1723013 | |||
| 66a0f201bb | |||
| d1cb019ef0 | |||
| c0dfce7c4b | |||
| 70cc561136 | |||
| afe2c3d53d | |||
| 161eafd887 | |||
| 8c94c2fb6f | |||
| c8dd5b4c50 | |||
| 2b136b2232 | |||
| b8d9c9484f |
27
Jenkinsfile
vendored
27
Jenkinsfile
vendored
@@ -37,7 +37,7 @@ node {
|
|||||||
sh "rm -rvf ${rel_dir}"
|
sh "rm -rvf ${rel_dir}"
|
||||||
sh "mkdir -p ${rel_dir}"
|
sh "mkdir -p ${rel_dir}"
|
||||||
def _msg = "Built images:"
|
def _msg = "Built images:"
|
||||||
def platforms = ['debian', 'osx', 'windows', 'windows32', 'android', 'pi', 'ubuntu']
|
def platforms = ['debian', 'debian11', 'osx', 'windows', 'windows32', 'android', 'pi', 'ubuntu']
|
||||||
for (int i = 0; i < platforms.size(); ++i) {
|
for (int i = 0; i < platforms.size(); ++i) {
|
||||||
if (_envmap["BUILD_${platforms[i]}"] == "1") {
|
if (_envmap["BUILD_${platforms[i]}"] == "1") {
|
||||||
stage("${platforms[i]}-shstk") {
|
stage("${platforms[i]}-shstk") {
|
||||||
@@ -49,28 +49,3 @@ node {
|
|||||||
archiveArtifacts 'release/*'
|
archiveArtifacts 'release/*'
|
||||||
echo "${_msg}"
|
echo "${_msg}"
|
||||||
}
|
}
|
||||||
pipeline {
|
|
||||||
agent {
|
|
||||||
label 'master'
|
|
||||||
}
|
|
||||||
options {
|
|
||||||
copyArtifactPermission('*');
|
|
||||||
buildDiscarder(logRotator(numToKeepStr: "20", artifactNumToKeepStr: "10"))
|
|
||||||
}
|
|
||||||
stages {
|
|
||||||
stage("PIP doc") {
|
|
||||||
steps {
|
|
||||||
checkout scm
|
|
||||||
sh "rm -rf share"
|
|
||||||
sh "rm -vf *.zip"
|
|
||||||
sh "mkdir -p build"
|
|
||||||
sh "cd build && cmake -DLOCAL=1 -DCMAKE_INSTALL_PREFIX=`pwd` ../"
|
|
||||||
sh "cd build && make doc"
|
|
||||||
sh "cd share/doc && zip -r ../../pip_doc.zip pip"
|
|
||||||
sh "cp share/doc/pip/html/pip.qch ./"
|
|
||||||
archiveArtifacts 'pip_doc.zip'
|
|
||||||
archiveArtifacts 'pip.qch'
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|||||||
@@ -74,7 +74,8 @@ Build steps:
|
|||||||
set SDK_MINGW_DIR=C:\mingw\8_1_x
|
set SDK_MINGW_DIR=C:\mingw\8_1_x
|
||||||
- set prefix for Qt5 e.g.: for C:\qt\qt5150_win32\ or C:\qt\qt5150_win64\
|
- set prefix for Qt5 e.g.: for C:\qt\qt5150_win32\ or C:\qt\qt5150_win64\
|
||||||
set SDK_QT5_DIR=C:\qt\qt5150_win
|
set SDK_QT5_DIR=C:\qt\qt5150_win
|
||||||
- set SDK_CMAKE_DIR=C:\cmake or C:\Program Files\CMake
|
- set path to cmake directory
|
||||||
|
set SDK_CMAKE_DIR=C:\cmake or C:\Program Files\CMake
|
||||||
5. Run `make_shstk32.bat` or `make_shstk64.bat`
|
5. Run `make_shstk32.bat` or `make_shstk64.bat`
|
||||||
|
|
||||||
Build steps for both architectures: follow previous steps, but on '5' state run `make_shstk_all.bat`
|
Build steps for both architectures: follow previous steps, but on '5' state run `make_shstk_all.bat`
|
||||||
@@ -87,7 +88,9 @@ This repo provide several Dockerfiles, so you can exec `docker build -t windows-
|
|||||||
and make docker image "windows-shstk" with installed SHS Toolkit for Windows. Similar for other platforms.
|
and make docker image "windows-shstk" with installed SHS Toolkit for Windows. Similar for other platforms.
|
||||||
Dockerfile provides for next platforms:
|
Dockerfile provides for next platforms:
|
||||||
* Debian 10 (debian-shstk)
|
* Debian 10 (debian-shstk)
|
||||||
|
* Debian 11 (debian11-shstk)
|
||||||
* Ubuntu 20.04 (ubuntu-shstk)
|
* Ubuntu 20.04 (ubuntu-shstk)
|
||||||
|
* Windows x32 (windows32-shstk)
|
||||||
* Windows x64 (windows-shstk)
|
* Windows x64 (windows-shstk)
|
||||||
* MacOS (osx-shstk)
|
* MacOS (osx-shstk)
|
||||||
* Raspberry Pi Raspbian (pi-shstk)
|
* Raspberry Pi Raspbian (pi-shstk)
|
||||||
|
|||||||
2
cd
2
cd
Submodule cd updated: f156ee3051...7a16d76753
2
cmake
2
cmake
Submodule cmake updated: 4bbb0adbee...61699f2283
@@ -13,8 +13,8 @@ WORKDIR /soft
|
|||||||
RUN git clone -b release --single-branch --depth 1 --recursive https://git.shs.tools/SHS/shstk.git
|
RUN git clone -b release --single-branch --depth 1 --recursive https://git.shs.tools/SHS/shstk.git
|
||||||
|
|
||||||
WORKDIR /soft/shstk_build_host
|
WORKDIR /soft/shstk_build_host
|
||||||
RUN cmake -DICU=0 -DCROSSTOOLS=1 -DBUILD_NUMBER=${LIBS_BUILD_NUMBER} ../shstk \
|
RUN cmake -G Ninja -DICU=0 -DCROSSTOOLS=1 -DBUILD_NUMBER=${LIBS_BUILD_NUMBER} ../shstk \
|
||||||
&& make install -j${JOBS_COUNT} \
|
&& cmake --build ./ --target install -j${JOBS_COUNT} \
|
||||||
&& rm -rf * \
|
&& rm -rf * \
|
||||||
&& ldconfig
|
&& ldconfig
|
||||||
|
|
||||||
@@ -22,23 +22,23 @@ WORKDIR /soft/shstk_build_anroid
|
|||||||
ENV _ANDROID_TOOLCHAIN=/usr/lib/android-sdk/ndk-bundle/build/cmake/android.toolchain.cmake
|
ENV _ANDROID_TOOLCHAIN=/usr/lib/android-sdk/ndk-bundle/build/cmake/android.toolchain.cmake
|
||||||
|
|
||||||
ENV _CUR_ABI=armeabi-v7a
|
ENV _CUR_ABI=armeabi-v7a
|
||||||
RUN cmake -DCMAKE_INSTALL_PREFIX=/soft/android/${_CUR_ABI} -DICU=0 -DLOCAL=1 -DQGLENGINE=0 -DQGLVIEW=0 -DBUILD_NUMBER=${LIBS_BUILD_NUMBER} -DCMAKE_TOOLCHAIN_FILE=${_ANDROID_TOOLCHAIN} -DQt5_DIR=/soft/android/qt/lib/cmake/Qt5 -DANDROID_PLATFORM=${NDK_PLATFORM} -DANDROID_ABI=${_CUR_ABI} ../shstk/ \
|
RUN cmake -G Ninja -DCMAKE_INSTALL_PREFIX=/soft/android/${_CUR_ABI} -DICU=0 -DLOCAL=1 -DQGLENGINE=0 -DQGLVIEW=0 -DBUILD_NUMBER=${LIBS_BUILD_NUMBER} -DCMAKE_TOOLCHAIN_FILE=${_ANDROID_TOOLCHAIN} -DQt5_DIR=/soft/android/qt/lib/cmake/Qt5 -DANDROID_PLATFORM=${NDK_PLATFORM} -DANDROID_ABI=${_CUR_ABI} ../shstk/ \
|
||||||
&& make install -j${JOBS_COUNT} && rm -rf *
|
&& cmake --build ./ --target install -j${JOBS_COUNT} && rm -rf *
|
||||||
|
|
||||||
ENV _CUR_ABI=arm64-v8a
|
ENV _CUR_ABI=arm64-v8a
|
||||||
WORKDIR /soft/shstk_build_android_${_CUR_ABI}
|
WORKDIR /soft/shstk_build_android_${_CUR_ABI}
|
||||||
RUN cmake -DCMAKE_INSTALL_PREFIX=/soft/android/${_CUR_ABI} -DICU=0 -DLOCAL=1 -DQGLENGINE=0 -DQGLVIEW=0 -DBUILD_NUMBER=${LIBS_BUILD_NUMBER} -DCMAKE_TOOLCHAIN_FILE=${_ANDROID_TOOLCHAIN} -DQt5_DIR=/soft/android/qt/lib/cmake/Qt5 -DANDROID_PLATFORM=${NDK_PLATFORM} -DANDROID_ABI=${_CUR_ABI} ../shstk/ \
|
RUN cmake -G Ninja -DCMAKE_INSTALL_PREFIX=/soft/android/${_CUR_ABI} -DICU=0 -DLOCAL=1 -DQGLENGINE=0 -DQGLVIEW=0 -DBUILD_NUMBER=${LIBS_BUILD_NUMBER} -DCMAKE_TOOLCHAIN_FILE=${_ANDROID_TOOLCHAIN} -DQt5_DIR=/soft/android/qt/lib/cmake/Qt5 -DANDROID_PLATFORM=${NDK_PLATFORM} -DANDROID_ABI=${_CUR_ABI} ../shstk/ \
|
||||||
&& make install -j${JOBS_COUNT} && rm -rf *
|
&& cmake --build ./ --target install -j${JOBS_COUNT} && rm -rf *
|
||||||
|
|
||||||
ENV _CUR_ABI=x86
|
ENV _CUR_ABI=x86
|
||||||
WORKDIR /soft/shstk_build_android_${_CUR_ABI}
|
WORKDIR /soft/shstk_build_android_${_CUR_ABI}
|
||||||
RUN cmake -DCMAKE_INSTALL_PREFIX=/soft/android/${_CUR_ABI} -DICU=0 -DLOCAL=1 -DQGLENGINE=0 -DQGLVIEW=0 -DBUILD_NUMBER=${LIBS_BUILD_NUMBER} -DCMAKE_TOOLCHAIN_FILE=${_ANDROID_TOOLCHAIN} -DQt5_DIR=/soft/android/qt/lib/cmake/Qt5 -DANDROID_PLATFORM=${NDK_PLATFORM} -DANDROID_ABI=${_CUR_ABI} ../shstk/ \
|
RUN cmake -G Ninja -DCMAKE_INSTALL_PREFIX=/soft/android/${_CUR_ABI} -DICU=0 -DLOCAL=1 -DQGLENGINE=0 -DQGLVIEW=0 -DBUILD_NUMBER=${LIBS_BUILD_NUMBER} -DCMAKE_TOOLCHAIN_FILE=${_ANDROID_TOOLCHAIN} -DQt5_DIR=/soft/android/qt/lib/cmake/Qt5 -DANDROID_PLATFORM=${NDK_PLATFORM} -DANDROID_ABI=${_CUR_ABI} ../shstk/ \
|
||||||
&& make install -j${JOBS_COUNT} && rm -rf *
|
&& cmake --build ./ --target install -j${JOBS_COUNT} && rm -rf *
|
||||||
|
|
||||||
ENV _CUR_ABI=x86_64
|
ENV _CUR_ABI=x86_64
|
||||||
WORKDIR /soft/shstk_build_android_${_CUR_ABI}
|
WORKDIR /soft/shstk_build_android_${_CUR_ABI}
|
||||||
RUN cmake -DCMAKE_INSTALL_PREFIX=/soft/android/${_CUR_ABI} -DICU=0 -DLOCAL=1 -DQGLENGINE=0 -DQGLVIEW=0 -DBUILD_NUMBER=${LIBS_BUILD_NUMBER} -DCMAKE_TOOLCHAIN_FILE=${_ANDROID_TOOLCHAIN} -DQt5_DIR=/soft/android/qt/lib/cmake/Qt5 -DANDROID_PLATFORM=${NDK_PLATFORM} -DANDROID_ABI=${_CUR_ABI} ../shstk/ \
|
RUN cmake -G Ninja -DCMAKE_INSTALL_PREFIX=/soft/android/${_CUR_ABI} -DICU=0 -DLOCAL=1 -DQGLENGINE=0 -DQGLVIEW=0 -DBUILD_NUMBER=${LIBS_BUILD_NUMBER} -DCMAKE_TOOLCHAIN_FILE=${_ANDROID_TOOLCHAIN} -DQt5_DIR=/soft/android/qt/lib/cmake/Qt5 -DANDROID_PLATFORM=${NDK_PLATFORM} -DANDROID_ABI=${_CUR_ABI} ../shstk/ \
|
||||||
&& make install -j${JOBS_COUNT} && rm -rf *
|
&& cmake --build ./ --target install -j${JOBS_COUNT} && rm -rf *
|
||||||
|
|
||||||
RUN mkdir -p /soft/shstk/release
|
RUN mkdir -p /soft/shstk/release
|
||||||
|
|
||||||
|
|||||||
@@ -9,9 +9,9 @@ WORKDIR /soft
|
|||||||
RUN git clone -b master --single-branch --depth 1 --recursive https://git.shs.tools/SHS/shstk.git
|
RUN git clone -b master --single-branch --depth 1 --recursive https://git.shs.tools/SHS/shstk.git
|
||||||
|
|
||||||
WORKDIR /soft/shstk_build_debian
|
WORKDIR /soft/shstk_build_debian
|
||||||
RUN cmake -DICU=0 -DLOCAL=0 -DQGLENGINE=1 -DQGLVIEW=1 -DHAS_GL=0 -DBUILD_NUMBER=${LIBS_BUILD_NUMBER} ../shstk \
|
RUN cmake -G Ninja -DICU=0 -DLOCAL=0 -DQGLENGINE=1 -DQGLVIEW=1 -DHAS_GL=0 -DBUILD_NUMBER=${LIBS_BUILD_NUMBER} ../shstk \
|
||||||
&& make install -j${JOBS_COUNT} \
|
&& cmake --build ./ --target install -j${JOBS_COUNT} \
|
||||||
&& make deploy -j${JOBS_COUNT} \
|
&& cmake --build ./ --target deploy -j${JOBS_COUNT} \
|
||||||
&& rm -rf * \
|
&& rm -rf * \
|
||||||
&& ldconfig
|
&& ldconfig
|
||||||
|
|
||||||
|
|||||||
18
docker/debian11-shstk/Dockerfile
Normal file
18
docker/debian11-shstk/Dockerfile
Normal file
@@ -0,0 +1,18 @@
|
|||||||
|
ARG DOCKER_PREFIX=wapmobil/
|
||||||
|
FROM ${DOCKER_PREFIX}debian11
|
||||||
|
|
||||||
|
ARG LIBS_BUILD_NUMBER=9999
|
||||||
|
ARG JOBS_COUNT=4
|
||||||
|
ENV PATH=/opt/cmake/bin:$PATH
|
||||||
|
|
||||||
|
WORKDIR /soft
|
||||||
|
RUN git clone -b master --single-branch --depth 1 --recursive https://git.shs.tools/SHS/shstk.git
|
||||||
|
|
||||||
|
WORKDIR /soft/shstk_build_debian
|
||||||
|
RUN cmake -G Ninja -DICU=0 -DLOCAL=0 -DQGLENGINE=1 -DQGLVIEW=1 -DHAS_GL=0 -DBUILD_NUMBER=${LIBS_BUILD_NUMBER} ../shstk \
|
||||||
|
&& cmake --build ./ --target install -j${JOBS_COUNT} \
|
||||||
|
&& cmake --build ./ --target deploy -j${JOBS_COUNT} \
|
||||||
|
&& rm -rf * \
|
||||||
|
&& ldconfig
|
||||||
|
|
||||||
|
WORKDIR /soft/src
|
||||||
@@ -9,15 +9,15 @@ WORKDIR /soft
|
|||||||
RUN git clone -b release --single-branch --depth 1 --recursive https://git.shs.tools/SHS/shstk.git
|
RUN git clone -b release --single-branch --depth 1 --recursive https://git.shs.tools/SHS/shstk.git
|
||||||
|
|
||||||
WORKDIR /soft/shstk_build_host
|
WORKDIR /soft/shstk_build_host
|
||||||
RUN cmake -DICU=0 -DCROSSTOOLS=1 -DBUILD_NUMBER=${LIBS_BUILD_NUMBER} ../shstk \
|
RUN cmake -G Ninja -DICU=0 -DCROSSTOOLS=1 -DBUILD_NUMBER=${LIBS_BUILD_NUMBER} ../shstk \
|
||||||
&& make install -j${JOBS_COUNT} \
|
&& cmake --build ./ --target install -j${JOBS_COUNT} \
|
||||||
&& rm -rf * \
|
&& rm -rf * \
|
||||||
&& ldconfig
|
&& ldconfig
|
||||||
|
|
||||||
WORKDIR /soft/shstk_build_osx
|
WORKDIR /soft/shstk_build_osx
|
||||||
RUN cmake -DCMAKE_INSTALL_PREFIX=/soft/osx -DICU=0 -DLOCAL=1 -DQGLENGINE=1 -DQGLVIEW=1 -DBUILD_NUMBER=${LIBS_BUILD_NUMBER} -DCMAKE_TOOLCHAIN_FILE=/soft/toolchain-Darwin.cmake ../shstk/ \
|
RUN cmake -G Ninja -DCMAKE_INSTALL_PREFIX=/soft/osx -DICU=0 -DLOCAL=1 -DQGLENGINE=1 -DQGLVIEW=1 -DBUILD_NUMBER=${LIBS_BUILD_NUMBER} -DCMAKE_TOOLCHAIN_FILE=/soft/toolchain-Darwin.cmake ../shstk/ \
|
||||||
&& make install -j${JOBS_COUNT} \
|
&& cmake --build ./ --target install -j${JOBS_COUNT} \
|
||||||
&& make deploy -j${JOBS_COUNT} \
|
&& cmake --build ./ --target deploy -j${JOBS_COUNT} \
|
||||||
&& rm -rf *
|
&& rm -rf *
|
||||||
|
|
||||||
WORKDIR /soft/src
|
WORKDIR /soft/src
|
||||||
|
|||||||
@@ -9,15 +9,15 @@ WORKDIR /soft
|
|||||||
RUN git clone -b release --single-branch --depth 1 --recursive https://git.shs.tools/SHS/shstk.git
|
RUN git clone -b release --single-branch --depth 1 --recursive https://git.shs.tools/SHS/shstk.git
|
||||||
|
|
||||||
WORKDIR /soft/shstk_build_host
|
WORKDIR /soft/shstk_build_host
|
||||||
RUN cmake -DICU=0 -DCROSSTOOLS=1 -DBUILD_NUMBER=${LIBS_BUILD_NUMBER} ../shstk \
|
RUN cmake -G Ninja -DICU=0 -DCROSSTOOLS=1 -DBUILD_NUMBER=${LIBS_BUILD_NUMBER} ../shstk \
|
||||||
&& make install -j${JOBS_COUNT} \
|
&& cmake --build ./ --target install -j${JOBS_COUNT} \
|
||||||
&& rm -rf * \
|
&& rm -rf * \
|
||||||
&& ldconfig
|
&& ldconfig
|
||||||
|
|
||||||
WORKDIR /soft/shstk_build_pi
|
WORKDIR /soft/shstk_build_pi
|
||||||
RUN cmake -DCMAKE_INSTALL_PREFIX=/soft/pi/usr -DICU=0 -DLOCAL=1 -DQGLENGINE=0 -DQGLVIEW=0 -DHAS_GL=0 -DBUILD_NUMBER=${LIBS_BUILD_NUMBER} -DCMAKE_TOOLCHAIN_FILE=/soft/toolchain-RPi.cmake ../shstk/ \
|
RUN cmake -G Ninja -DCMAKE_INSTALL_PREFIX=/soft/pi/usr -DICU=0 -DLOCAL=1 -DQGLENGINE=0 -DQGLVIEW=0 -DHAS_GL=0 -DBUILD_NUMBER=${LIBS_BUILD_NUMBER} -DCMAKE_TOOLCHAIN_FILE=/soft/toolchain-RPi.cmake ../shstk/ \
|
||||||
&& make install -j${JOBS_COUNT} \
|
&& cmake --build ./ --target install -j${JOBS_COUNT} \
|
||||||
&& make deploy -j${JOBS_COUNT} \
|
&& cmake --build ./ --target deploy -j${JOBS_COUNT} \
|
||||||
&& rm -rf *
|
&& rm -rf *
|
||||||
|
|
||||||
WORKDIR /soft/src
|
WORKDIR /soft/src
|
||||||
|
|||||||
@@ -9,9 +9,9 @@ WORKDIR /soft
|
|||||||
RUN git clone -b master --single-branch --depth 1 --recursive https://git.shs.tools/SHS/shstk.git
|
RUN git clone -b master --single-branch --depth 1 --recursive https://git.shs.tools/SHS/shstk.git
|
||||||
|
|
||||||
WORKDIR /soft/shstk_build_ubuntu
|
WORKDIR /soft/shstk_build_ubuntu
|
||||||
RUN cmake -DICU=0 -DLOCAL=0 -DQGLENGINE=1 -DQGLVIEW=1 -DHAS_GL=0 -DBUILD_NUMBER=${LIBS_BUILD_NUMBER} ../shstk \
|
RUN cmake -G Ninja -DICU=0 -DLOCAL=0 -DQGLENGINE=1 -DQGLVIEW=1 -DHAS_GL=0 -DBUILD_NUMBER=${LIBS_BUILD_NUMBER} ../shstk \
|
||||||
&& make install -j${JOBS_COUNT} \
|
&& cmake --build ./ --target install -j${JOBS_COUNT} \
|
||||||
&& make deploy -j${JOBS_COUNT} \
|
&& cmake --build ./ --target deploy -j${JOBS_COUNT} \
|
||||||
&& rm -rf * \
|
&& rm -rf * \
|
||||||
&& ldconfig
|
&& ldconfig
|
||||||
|
|
||||||
|
|||||||
@@ -9,15 +9,15 @@ WORKDIR /soft
|
|||||||
RUN git clone -b release --single-branch --depth 1 --recursive https://git.shs.tools/SHS/shstk.git
|
RUN git clone -b release --single-branch --depth 1 --recursive https://git.shs.tools/SHS/shstk.git
|
||||||
|
|
||||||
WORKDIR /soft/shstk_build_host
|
WORKDIR /soft/shstk_build_host
|
||||||
RUN cmake -DICU=0 -DCROSSTOOLS=1 -DBUILD_NUMBER=${LIBS_BUILD_NUMBER} ../shstk \
|
RUN cmake -G Ninja -DICU=0 -DCROSSTOOLS=1 -DBUILD_NUMBER=${LIBS_BUILD_NUMBER} ../shstk \
|
||||||
&& make install -j${JOBS_COUNT} \
|
&& cmake --build ./ --target install -j${JOBS_COUNT} \
|
||||||
&& rm -rf * \
|
&& rm -rf * \
|
||||||
&& ldconfig
|
&& ldconfig
|
||||||
|
|
||||||
WORKDIR /soft/shstk_build_windows
|
WORKDIR /soft/shstk_build_windows
|
||||||
RUN cmake -DCMAKE_INSTALL_PREFIX=/soft/windows -DICU=0 -DLOCAL=1 -DQGLENGINE=1 -DQGLVIEW=1 -DBUILD_NUMBER=${LIBS_BUILD_NUMBER} -DCMAKE_TOOLCHAIN_FILE=/soft/toolchain-Windows.cmake ../shstk/ \
|
RUN cmake -G Ninja -DCMAKE_INSTALL_PREFIX=/soft/windows -DICU=0 -DLOCAL=1 -DQGLENGINE=1 -DQGLVIEW=1 -DBUILD_NUMBER=${LIBS_BUILD_NUMBER} -DCMAKE_TOOLCHAIN_FILE=/soft/toolchain-Windows.cmake ../shstk/ \
|
||||||
&& make install -j${JOBS_COUNT} \
|
&& cmake --build ./ --target install -j${JOBS_COUNT} \
|
||||||
&& make deploy -j${JOBS_COUNT} \
|
&& cmake --build ./ --target deploy -j${JOBS_COUNT} \
|
||||||
&& rm -rf *
|
&& rm -rf *
|
||||||
|
|
||||||
WORKDIR /soft/src
|
WORKDIR /soft/src
|
||||||
|
|||||||
@@ -9,15 +9,15 @@ WORKDIR /soft
|
|||||||
RUN git clone -b release --single-branch --depth 1 --recursive https://git.shs.tools/SHS/shstk.git
|
RUN git clone -b release --single-branch --depth 1 --recursive https://git.shs.tools/SHS/shstk.git
|
||||||
|
|
||||||
WORKDIR /soft/shstk_build_host
|
WORKDIR /soft/shstk_build_host
|
||||||
RUN cmake -DICU=0 -DCROSSTOOLS=1 -DBUILD_NUMBER=${LIBS_BUILD_NUMBER} ../shstk \
|
RUN cmake -G Ninja -DICU=0 -DCROSSTOOLS=1 -DBUILD_NUMBER=${LIBS_BUILD_NUMBER} ../shstk \
|
||||||
&& make install -j${JOBS_COUNT} \
|
&& cmake --build ./ --target install -j${JOBS_COUNT} \
|
||||||
&& rm -rf * \
|
&& rm -rf * \
|
||||||
&& ldconfig
|
&& ldconfig
|
||||||
|
|
||||||
WORKDIR /soft/shstk_build_windows32
|
WORKDIR /soft/shstk_build_windows32
|
||||||
RUN cmake -DCMAKE_INSTALL_PREFIX=/soft/windows32 -DICU=0 -DLOCAL=1 -DQGLENGINE=1 -DQGLVIEW=1 -DBUILD_NUMBER=${LIBS_BUILD_NUMBER} -DCMAKE_TOOLCHAIN_FILE=/soft/toolchain-Windows32.cmake ../shstk/ \
|
RUN cmake -G Ninja -DCMAKE_INSTALL_PREFIX=/soft/windows32 -DICU=0 -DLOCAL=1 -DQGLENGINE=1 -DQGLVIEW=1 -DBUILD_NUMBER=${LIBS_BUILD_NUMBER} -DCMAKE_TOOLCHAIN_FILE=/soft/toolchain-Windows32.cmake ../shstk/ \
|
||||||
&& make install -j${JOBS_COUNT} \
|
&& cmake --build ./ --target install -j${JOBS_COUNT} \
|
||||||
&& make deploy -j${JOBS_COUNT} \
|
&& cmake --build ./ --target deploy -j${JOBS_COUNT} \
|
||||||
&& rm -rf *
|
&& rm -rf *
|
||||||
|
|
||||||
WORKDIR /soft/src
|
WORKDIR /soft/src
|
||||||
|
|||||||
@@ -5,11 +5,11 @@ if defined SDK_JOBS_COUNT (
|
|||||||
) else (
|
) else (
|
||||||
set JOBS_COUNT=4
|
set JOBS_COUNT=4
|
||||||
)
|
)
|
||||||
set PATH=%SDK_MINGW_DIR%%ARCH%\bin;%SDK_QT4_DIR%%ARCH%\bin;%SDK_CMAKE_DIR%\bin
|
set PATH=%SDK_MINGW_DIR%%ARCH%\bin;%SDK_CMAKE_DIR%\bin
|
||||||
if defined SDK_QT5_DIR set Qt5_DIR=%SDK_QT5_DIR%%ARCH%
|
if defined SDK_QT5_DIR set Qt5_DIR=%SDK_QT5_DIR%%ARCH%
|
||||||
if not exist ..\shstk_build_win%ARCH% mkdir ..\shstk_build_win%ARCH%
|
if not exist ..\shstk_build_win%ARCH% mkdir ..\shstk_build_win%ARCH%
|
||||||
cd ..\shstk_build_win%ARCH% && ^
|
cd ..\shstk_build_win%ARCH% && ^
|
||||||
cmake_mgw -DQGLVIEW=1 -DQGLENGINE=1 -DQT4=0 ../shstk && ^
|
cmake -G "MinGW Makefiles" -DQGLVIEW=1 -DQGLENGINE=1 -DQT4=0 ../shstk && ^
|
||||||
make install -j%JOBS_COUNT% && ^
|
make install -j%JOBS_COUNT% && ^
|
||||||
cd ..\shstk && ^
|
cd ..\shstk && ^
|
||||||
pause
|
pause
|
||||||
|
|||||||
@@ -2,5 +2,5 @@
|
|||||||
cd ..
|
cd ..
|
||||||
mkdir shstk_build_linux
|
mkdir shstk_build_linux
|
||||||
cd shstk_build_linux
|
cd shstk_build_linux
|
||||||
cmake ../shstk
|
cmake -DQGLVIEW=1 -DQGLENGINE=1 -DQT4=0 ../shstk
|
||||||
make install $@
|
make install $@
|
||||||
|
|||||||
2
pip
2
pip
Submodule pip updated: 047cff7d6e...28ce6e8f3f
2
qad
2
qad
Submodule qad updated: 1cb6880c55...4c0e61fdb6
Submodule qglengine updated: 73240ef898...37e2b236f5
Reference in New Issue
Block a user