diff options
| author | Marijn Tamis <[email protected]> | 2019-04-01 14:21:09 +0200 |
|---|---|---|
| committer | Marijn Tamis <[email protected]> | 2019-04-01 14:21:09 +0200 |
| commit | d243404d4ba88bcf53f7310cc8980b4efe38c19f (patch) | |
| tree | dcc8ce2904e9f813e03f71f825c4d3c9ec565d91 /PxShared/buildtools/steps | |
| parent | Add new SetSpheres and SetPlanes api's to bring them in line with setTriangles. (diff) | |
| download | nvcloth-1.1.6.tar.xz nvcloth-1.1.6.zip | |
1.1.6 Release.1.1.6
Diffstat (limited to 'PxShared/buildtools/steps')
19 files changed, 0 insertions, 384 deletions
diff --git a/PxShared/buildtools/steps/build_all_linux.sh b/PxShared/buildtools/steps/build_all_linux.sh deleted file mode 100644 index 167912f..0000000 --- a/PxShared/buildtools/steps/build_all_linux.sh +++ /dev/null @@ -1,22 +0,0 @@ -#!/bin/bash +x - -set -e - -# get number of CPU cores -if [ -f /proc/cpuinfo ]; then - CPUS=`grep processor /proc/cpuinfo | wc -l` -else - CPUS=1 -fi - -# Stackoverflow suggests jobs count of (CPU cores + 1) as a respctively good number! -JOBS=`expr $CPUS + 1` - -# run make for all configs -pushd "$(dirname "$0")/../../compiler/linux-debug-clang" -make -j$JOBS || exit 1 -popd - -pushd "$(dirname "$0")/../../compiler/linux-release-clang" -make -j$JOBS || exit 1 -popd diff --git a/PxShared/buildtools/steps/build_all_mac.sh b/PxShared/buildtools/steps/build_all_mac.sh deleted file mode 100644 index 57437a0..0000000 --- a/PxShared/buildtools/steps/build_all_mac.sh +++ /dev/null @@ -1,29 +0,0 @@ -#!/bin/bash +x - -# exit script on first error -set -e - -# get number of CPU cores -CPUS=`sysctl -n hw.ncpu` - -# Stackoverflow suggests jobs count of (CPU cores + 1) as a respctively good number! -JOBS=`expr $CPUS + 1` - -build_config() -{ - CONFIG=$1 - echo "*** Building: $CONFIG ***" - pushd "$(dirname "$0")/../../compiler/$CONFIG" - make -j$JOBS install - popd -} - -# run make for all configs -build_config "osx32-checked" -build_config "osx32-debug" -build_config "osx32-profile" -build_config "osx32-release" -build_config "osx64-checked" -build_config "osx64-debug" -build_config "osx64-profile" -build_config "osx64-release" diff --git a/PxShared/buildtools/steps/build_all_windows.bat b/PxShared/buildtools/steps/build_all_windows.bat deleted file mode 100644 index 5708927..0000000 --- a/PxShared/buildtools/steps/build_all_windows.bat +++ /dev/null @@ -1,12 +0,0 @@ -@cmd /c "%~dp0build_all_windows_vc12.bat" -@if %ERRORLEVEL% neq 0 goto ERROR - -@cmd /c "%~dp0build_all_windows_vc14.bat" -@if %ERRORLEVEL% neq 0 goto ERROR - -:: Success -@exit /B 0 - -:ERROR -@echo !!! Failure while building for Windows!!! -@exit /B 1 diff --git a/PxShared/buildtools/steps/build_all_windows_vc12.bat b/PxShared/buildtools/steps/build_all_windows_vc12.bat deleted file mode 100644 index 695c20c..0000000 --- a/PxShared/buildtools/steps/build_all_windows_vc12.bat +++ /dev/null @@ -1,60 +0,0 @@ -:: Setup VS2013 build environment -@call "%VS120COMNTOOLS%VsdevCmd.bat" - -:: Note that we use /build rather than /rebuild because cmake cleans the directories when we -:: generate the projects (making /rebuild redundant since it's basically /clean + /build). -:: By using /build these bat files can be useful during regular development (to verify changes) -:: Will rename them from rebuild to build at a future point in time. - -@set ROOT_PATH=%~dp0..\..\compiler - -@set SOLUTION_PATH=vc12win32-mt\PxShared.sln -@call :BUILD -@if %ERRORLEVEL% neq 0 goto ERROR - -@set SOLUTION_PATH=vc12win32-md\PxShared.sln -@call :BUILD -@if %ERRORLEVEL% neq 0 goto ERROR - -@set SOLUTION_PATH=vc12win64-mt\PxShared.sln -@call :BUILD -@if %ERRORLEVEL% neq 0 goto ERROR - -@set SOLUTION_PATH=vc12win64-md\PxShared.sln -@call :BUILD -@if %ERRORLEVEL% neq 0 goto ERROR - -:: Success -@exit /B 0 - -:ERROR -@echo Failure while building *Windows vc12* targets! -@exit /B 1 - -:BUILD -@echo | set /p dummyName=** Building %SOLUTION_PATH% debug ... ** -@devenv "%ROOT_PATH%\%SOLUTION_PATH%" /build "debug" /Project INSTALL -@echo ** End of %SOLUTION_PATH% debug ** -@echo. -@if %ERRORLEVEL% neq 0 goto ERROR - -@echo | set /p dummyName=** Building %SOLUTION_PATH% profile ... ** -@devenv "%ROOT_PATH%\%SOLUTION_PATH%" /build "profile" /Project INSTALL -@echo ** End of %SOLUTION_PATH% profile ** -@echo. -@if %ERRORLEVEL% neq 0 goto ERROR - -@echo | set /p dummyName=** Building %SOLUTION_PATH% profile ... ** -@devenv "%ROOT_PATH%\%SOLUTION_PATH%" /build "checked" /Project INSTALL -@echo ** End of %SOLUTION_PATH% checked ** -@echo. -@if %ERRORLEVEL% neq 0 goto ERROR - -@echo | set /p dummyName=** Building %SOLUTION_PATH% profile ... ** -@devenv "%ROOT_PATH%\%SOLUTION_PATH%" /build "release" /Project INSTALL -@echo ** End of %SOLUTION_PATH% release ** -@echo. -@if %ERRORLEVEL% neq 0 goto ERROR - - -@exit /B
\ No newline at end of file diff --git a/PxShared/buildtools/steps/build_all_windows_vc14.bat b/PxShared/buildtools/steps/build_all_windows_vc14.bat deleted file mode 100644 index 3baec1d..0000000 --- a/PxShared/buildtools/steps/build_all_windows_vc14.bat +++ /dev/null @@ -1,61 +0,0 @@ -:: Setup VS2015 build environment -@call "%VS140COMNTOOLS%VsdevCmd.bat" - -:: Note that we use /build rather than /rebuild because cmake cleans the directories when we -:: generate the projects (making /rebuild redundant since it's basically /clean + /build). -:: By using /build these bat files can be useful during regular development (to verify changes) -:: Will rename them from rebuild to build at a future point in time. - -@set ROOT_PATH=%~dp0..\..\compiler - -:: Windows 'all' -@set SOLUTION_PATH=vc14win32-mt\PxShared.sln -@call :BUILD -@if %ERRORLEVEL% neq 0 goto ERROR - -@set SOLUTION_PATH=vc14win32-md\PxShared.sln -@call :BUILD -@if %ERRORLEVEL% neq 0 goto ERROR - -@set SOLUTION_PATH=vc14win64-mt\PxShared.sln -@call :BUILD -@if %ERRORLEVEL% neq 0 goto ERROR - -@set SOLUTION_PATH=vc14win64-md\PxShared.sln -@call :BUILD -@if %ERRORLEVEL% neq 0 goto ERROR - -:: Success -@exit /B 0 - -:ERROR -@echo Failure while building *Windows vc14* targets! -@exit /B 1 - -:BUILD -@echo | set /p dummyName=** Building %SOLUTION_PATH% debug ... ** -@devenv "%ROOT_PATH%\%SOLUTION_PATH%" /build "debug" /Project INSTALL -@echo ** End of %SOLUTION_PATH% debug ** -@echo. -@if %ERRORLEVEL% neq 0 goto ERROR - -@echo | set /p dummyName=** Building %SOLUTION_PATH% profile ... ** -@devenv "%ROOT_PATH%\%SOLUTION_PATH%" /build "profile" /Project INSTALL -@echo ** End of %SOLUTION_PATH% profile ** -@echo. -@if %ERRORLEVEL% neq 0 goto ERROR - -@echo | set /p dummyName=** Building %SOLUTION_PATH% profile ... ** -@devenv "%ROOT_PATH%\%SOLUTION_PATH%" /build "checked" /Project INSTALL -@echo ** End of %SOLUTION_PATH% checked ** -@echo. -@if %ERRORLEVEL% neq 0 goto ERROR - -@echo | set /p dummyName=** Building %SOLUTION_PATH% profile ... ** -@devenv "%ROOT_PATH%\%SOLUTION_PATH%" /build "release" /Project INSTALL -@echo ** End of %SOLUTION_PATH% release ** -@echo. -@if %ERRORLEVEL% neq 0 goto ERROR - - -@exit /B
\ No newline at end of file diff --git a/PxShared/buildtools/steps/package_all_linux.sh b/PxShared/buildtools/steps/package_all_linux.sh deleted file mode 100644 index 2b3d7af..0000000 --- a/PxShared/buildtools/steps/package_all_linux.sh +++ /dev/null @@ -1,28 +0,0 @@ -#!/bin/bash +x - -set -e - -# build docs -pushd "$(dirname "$0")/../../docs/_compile" -./build_all.sh -popd - -# remove all zips -pushd "$(dirname "$0")/../.." -rm -f *.zip -popd - -# replace packman's config file to use s3 instead of gtl -echo "s3" > "$(dirname "$0")/../packman/source.conf" - -# run packager -if [ -z $1 ] ; then - OPTIONS="" -else - OPTIONS="-v $1" - shift -fi - -pushd "$(dirname "$0")/../packager/" -./create_packages.sh linux $OPTIONS $@ -popd
\ No newline at end of file diff --git a/PxShared/buildtools/steps/package_all_mac.sh b/PxShared/buildtools/steps/package_all_mac.sh deleted file mode 100644 index e7566bc..0000000 --- a/PxShared/buildtools/steps/package_all_mac.sh +++ /dev/null @@ -1,24 +0,0 @@ -#!/bin/bash +x - -# exit script on first error -set -e - -#@set ROOT_PATH=%~dp0..\.. - -#::Remove old builds to keep things clean (important on build agents so we don't fill them up) -#@del /q /f "%ROOT_PATH%\pxshared*.zip" - -# run packager -if [ -z $1 ] ; then - VERSION=0 -else - VERSION=$1 -fi - -ROOT_PATH=$(dirname ${BASH_SOURCE})/../.. -PACKMAN_CMD=$ROOT_PATH/buildtools/packman/packman -echo $PACKMAN_CMD - -source "$PACKMAN_CMD" install packman-packager 1.0.3 -echo "Launching create_packman_packages" -python "$PM_packman_packager_PATH/create_packman_packages.py" "$ROOT_PATH/install" --output-dir="$ROOT_PATH" osx pxshared $VERSION "$PM_packman_packager_PATH/templates/CMakeConfigWrapperNIX.cmake" "$PM_packman_packager_PATH/templates/CMakeConfigVersionTemplate.cmake" diff --git a/PxShared/buildtools/steps/package_all_ps4.bat b/PxShared/buildtools/steps/package_all_ps4.bat deleted file mode 100644 index 87455e9..0000000 --- a/PxShared/buildtools/steps/package_all_ps4.bat +++ /dev/null @@ -1,20 +0,0 @@ -@set ROOT_PATH=%~dp0..\.. - -::Remove old builds to keep things clean (important on build agents so we don't fill them up) -@del /q /f "%ROOT_PATH%\blast_*.zip" - -@pushd "%ROOT_PATH%\docs\_compile" -@call build_all.bat -@popd -@if %errorlevel% NEQ 0 goto :ERROR - -@set VERSION=%1 -@set OPTIONS= -@if ["%VERSION%"] NEQ [""] set OPTIONS=-v %VERSION% - -@call "%ROOT_PATH%\buildtools\packager\create_packages.bat" %OPTIONS% ps4 -@if %ERRORLEVEL% EQU 0 goto :eof - -:ERROR -@echo Failure during packaging for PS4!!! -@exit /b 1
\ No newline at end of file diff --git a/PxShared/buildtools/steps/package_all_windows.bat b/PxShared/buildtools/steps/package_all_windows.bat deleted file mode 100644 index e55cb1b..0000000 --- a/PxShared/buildtools/steps/package_all_windows.bat +++ /dev/null @@ -1,26 +0,0 @@ -@set ROOT_PATH=%~dp0..\.. - -::Remove old builds to keep things clean (important on build agents so we don't fill them up) -@del /q /f "%ROOT_PATH%\pxshared*.zip" - -@set VERSION=%1 -@set OPTIONS= -@if ["%VERSION%"] EQU [""] set VERSION=0 - -@call "%ROOT_PATH%\buildtools\packman\packman" install python 2.7.6-windows-x86 -@if %ERRORLEVEL% NEQ 0 goto :ERROR - -@call "%ROOT_PATH%\buildtools\packman\packman" install packman-packager 1.0 -@if %ERRORLEVEL% NEQ 0 goto :ERROR - -%PM_PYTHON% "%PM_packman_packager_PATH%/create_packman_packages.py" "%ROOT_PATH%\install" --output-dir="%ROOT_PATH%" vc14win pxshared %VERSION% "%PM_packman_packager_PATH%/templates/CMakeConfigWrapperWindows.cmake" "%PM_packman_packager_PATH%/templates/CMakeConfigVersionTemplate.cmake" -@if %ERRORLEVEL% NEQ 0 goto :ERROR - -%PM_PYTHON% "%PM_packman_packager_PATH%/create_packman_packages.py" "%ROOT_PATH%\install" --output-dir="%ROOT_PATH%" vc12win pxshared %VERSION% "%PM_packman_packager_PATH%/templates/CMakeConfigWrapperWindows.cmake" "%PM_packman_packager_PATH%/templates/CMakeConfigVersionTemplate.cmake" -@if %ERRORLEVEL% NEQ 0 goto :ERROR - -@goto :eof - -:ERROR -@echo Failure during packaging for Windows!!! -@exit /b 1 diff --git a/PxShared/buildtools/steps/package_all_xboxone.bat b/PxShared/buildtools/steps/package_all_xboxone.bat deleted file mode 100644 index 86d5ff0..0000000 --- a/PxShared/buildtools/steps/package_all_xboxone.bat +++ /dev/null @@ -1,20 +0,0 @@ -@set ROOT_PATH=%~dp0..\.. - -::Remove old builds to keep things clean (important on build agents so we don't fill them up) -@del /q /f "%ROOT_PATH%\blast_*.zip" - -@pushd "%ROOT_PATH%\docs\_compile" -@call build_all.bat -@popd -@if %errorlevel% NEQ 0 goto :ERROR - -@set VERSION=%1 -@set OPTIONS= -@if ["%VERSION%"] NEQ [""] set OPTIONS=-v %VERSION% - -@call "%ROOT_PATH%\buildtools\packager\create_packages.bat" %OPTIONS% xboxone -@if %ERRORLEVEL% EQU 0 goto :eof - -:ERROR -@echo Failure during packaging for xboxone!!! -@exit /b 1
\ No newline at end of file diff --git a/PxShared/buildtools/steps/pre-build_linux.sh b/PxShared/buildtools/steps/pre-build_linux.sh deleted file mode 100644 index c6c3160..0000000 --- a/PxShared/buildtools/steps/pre-build_linux.sh +++ /dev/null @@ -1,7 +0,0 @@ -#!/bin/bash +x - -set -e -pushd "$(dirname "$0")/../.." -./generate_projects_linux.sh -popd - diff --git a/PxShared/buildtools/steps/pre-build_mac.sh b/PxShared/buildtools/steps/pre-build_mac.sh deleted file mode 100644 index 3094938..0000000 --- a/PxShared/buildtools/steps/pre-build_mac.sh +++ /dev/null @@ -1,7 +0,0 @@ -#!/bin/bash +x - -set -e -pushd "$(dirname "$0")/../.." -./generate_projects_mac.sh -popd - diff --git a/PxShared/buildtools/steps/pre-build_ps4.bat b/PxShared/buildtools/steps/pre-build_ps4.bat deleted file mode 100644 index 7be0ba8..0000000 --- a/PxShared/buildtools/steps/pre-build_ps4.bat +++ /dev/null @@ -1,5 +0,0 @@ -@pushd "%~dp0..\.." -@call generate_projects_vc14ps4.bat -@popd -@if %errorlevel% NEQ 0 exit /b 1 - diff --git a/PxShared/buildtools/steps/pre-build_windows.bat b/PxShared/buildtools/steps/pre-build_windows.bat deleted file mode 100644 index cd80520..0000000 --- a/PxShared/buildtools/steps/pre-build_windows.bat +++ /dev/null @@ -1,6 +0,0 @@ -@pushd "%~dp0..\.." -@call generate_projects_win.bat vc12 -@call generate_projects_win.bat vc14 -@popd -@if %errorlevel% NEQ 0 exit /b 1 - diff --git a/PxShared/buildtools/steps/pre-build_xboxone.bat b/PxShared/buildtools/steps/pre-build_xboxone.bat deleted file mode 100644 index 2e9c950..0000000 --- a/PxShared/buildtools/steps/pre-build_xboxone.bat +++ /dev/null @@ -1,5 +0,0 @@ -@pushd "%~dp0..\.." -@call generate_projects_vc14xboxone.bat -@popd -@if %errorlevel% NEQ 0 exit /b 1 - diff --git a/PxShared/buildtools/steps/rebuild_all_ps4.bat b/PxShared/buildtools/steps/rebuild_all_ps4.bat deleted file mode 100644 index 405b4ea..0000000 --- a/PxShared/buildtools/steps/rebuild_all_ps4.bat +++ /dev/null @@ -1,18 +0,0 @@ -:: Setup VS2015 build environment -@call "%VS140COMNTOOLS%VsdevCmd.bat" - -@set ROOT_PATH=%~dp0..\..\compiler -:: Xbox targets -@devenv "%ROOT_PATH%\vc14ps4-cmake\BlastAll.sln" /rebuild "debug" -@if %ERRORLEVEL% neq 0 goto ERROR - -@devenv "%ROOT_PATH%\vc14ps4-cmake\BlastAll.sln" /rebuild "profile" -@if %ERRORLEVEL% neq 0 goto ERROR - - -:: Success -@exit /B 0 - -:ERROR -@echo Failure while building *PS4* targets! -@exit /B 1 diff --git a/PxShared/buildtools/steps/rebuild_all_xboxone.bat b/PxShared/buildtools/steps/rebuild_all_xboxone.bat deleted file mode 100644 index 7c2d3f1..0000000 --- a/PxShared/buildtools/steps/rebuild_all_xboxone.bat +++ /dev/null @@ -1,17 +0,0 @@ -:: Setup VS2015 build environment -@call "%VS140COMNTOOLS%VsdevCmd.bat" - -@set ROOT_PATH=%~dp0..\..\compiler -:: Xbox targets -@devenv "%ROOT_PATH%\vc14xboxone-cmake\BlastAll.sln" /rebuild "debug" -@if %ERRORLEVEL% neq 0 goto ERROR - -@devenv "%ROOT_PATH%\vc14xboxone-cmake\BlastAll.sln" /rebuild "profile" -@if %ERRORLEVEL% neq 0 goto ERROR - -:: Success -@exit /B 0 - -:ERROR -@echo Failure while building *Xbox One* targets! -@exit /B 1 diff --git a/PxShared/buildtools/steps/run_tests_linux.sh b/PxShared/buildtools/steps/run_tests_linux.sh deleted file mode 100644 index 8770e39..0000000 --- a/PxShared/buildtools/steps/run_tests_linux.sh +++ /dev/null @@ -1,11 +0,0 @@ -#!/bin/bash +x - -set -e - -# run tests -pushd "$(dirname "$0")/../../bin/linux64-gcc" -./BlastUnitTestsDEBUG.elf --gtest_output=xml:BlastUnitTestsDEBUG.xml -echo \#\#teamcity[importData type=\'gtest\' parseOutOfDate=\'true\' file=\'bin/linux64-gcc/BlastUnitTestsDEBUG.xml\'] -./BlastUnitTests.elf --gtest_output=xml:BlastUnitTests.xml -echo \#\#teamcity[importData type=\'gtest\' parseOutOfDate=\'true\' file=\'bin/linux64-gcc/BlastUnitTests.xml\'] -popd diff --git a/PxShared/buildtools/steps/run_tests_windows.bat b/PxShared/buildtools/steps/run_tests_windows.bat deleted file mode 100644 index b18e2b0..0000000 --- a/PxShared/buildtools/steps/run_tests_windows.bat +++ /dev/null @@ -1,6 +0,0 @@ -@set BIN_PATH=%~dp0..\..\bin\vc14win64-cmake -@pushd "%BIN_PATH%" -@call BlastUnitTestsDEBUG_x64.exe --gtest_output=xml:BlastUnitTestsDEBUG_x64.xml -@echo ##teamcity[importData type='gtest' parseOutOfDate='true' file='%BIN_PATH%\BlastUnitTestsDEBUG_x64.xml'] -@popd -@if %errorlevel% NEQ 0 exit /b 1
\ No newline at end of file |