Skip to content
Snippets Groups Projects
Commit 9f30a581 authored by Martyn Gigg's avatar Martyn Gigg
Browse files

Fix package names for Windows/OSX on builders

Refs #0
parent bd5fd10f
No related branches found
No related tags found
No related merge requests found
...@@ -181,7 +181,9 @@ fi ...@@ -181,7 +181,9 @@ fi
if [[ "$BUILDPKG" == true ]]; then if [[ "$BUILDPKG" == true ]]; then
PACKAGINGVARS="-DPACKAGE_DOCS=ON" PACKAGINGVARS="-DPACKAGE_DOCS=ON"
# Set some variables relating to the linux packages # Set some variables relating to the linux packages
if [[ ${ON_MACOS} != true ]]; then if [[ "${ON_MACOS}" == true ]]; then
PACKAGINGVARS="${PACKAGINGVARS} -DCPACK_PACKAGE_SUFFIX="
else
# Use different suffix for linux builds # Use different suffix for linux builds
if [[ ${JOB_NAME} == *release* ]]; then if [[ ${JOB_NAME} == *release* ]]; then
echo "Performing release build" # do nothing echo "Performing release build" # do nothing
......
...@@ -92,9 +92,9 @@ if EXIST %BUILD_DIR% ( ...@@ -92,9 +92,9 @@ if EXIST %BUILD_DIR% (
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: Packaging options :: Packaging options
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
set PACKAGE_DOCS= set PACKAGE_OPTS=
if "%BUILDPKG%" == "yes" ( if "%BUILDPKG%" == "yes" (
set PACKAGE_DOCS=-DPACKAGE_DOCS=ON set PACKAGE_OPTS=-DPACKAGE_DOCS=ON -DCPACK_PACKAGE_SUFFIX=
) )
cd %BUILD_DIR% cd %BUILD_DIR%
...@@ -127,7 +127,7 @@ if not "%JOB_NAME%"=="%JOB_NAME:debug=%" ( ...@@ -127,7 +127,7 @@ if not "%JOB_NAME%"=="%JOB_NAME:debug=%" (
) else ( ) else (
set VATES_OPT_VAL=ON set VATES_OPT_VAL=ON
) )
call cmake.exe -G "%CM_GENERATOR%" -DCONSOLE=OFF -DENABLE_CPACK=ON -DMAKE_VATES=%VATES_OPT_VAL% -DParaView_DIR=%PARAVIEW_DIR% -DMANTID_DATA_STORE=!MANTID_DATA_STORE! -DUSE_PRECOMPILED_HEADERS=ON -DENABLE_FILE_LOGGING=OFF %PACKAGE_DOCS% .. call cmake.exe -G "%CM_GENERATOR%" -DCONSOLE=OFF -DENABLE_CPACK=ON -DMAKE_VATES=%VATES_OPT_VAL% -DParaView_DIR=%PARAVIEW_DIR% -DMANTID_DATA_STORE=!MANTID_DATA_STORE! -DUSE_PRECOMPILED_HEADERS=ON -DENABLE_FILE_LOGGING=OFF %PACKAGE_OPTS% ..
if ERRORLEVEL 1 exit /B %ERRORLEVEL% if ERRORLEVEL 1 exit /B %ERRORLEVEL%
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment