Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
mantid
Manage
Activity
Members
Labels
Plan
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Model registry
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
mantidproject
mantid
Commits
9f30a581
Commit
9f30a581
authored
7 years ago
by
Martyn Gigg
Browse files
Options
Downloads
Patches
Plain Diff
Fix package names for Windows/OSX on builders
Refs #0
parent
bd5fd10f
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
buildconfig/Jenkins/buildscript
+3
-1
3 additions, 1 deletion
buildconfig/Jenkins/buildscript
buildconfig/Jenkins/buildscript.bat
+3
-3
3 additions, 3 deletions
buildconfig/Jenkins/buildscript.bat
with
6 additions
and
4 deletions
buildconfig/Jenkins/buildscript
+
3
−
1
View file @
9f30a581
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
buildconfig/Jenkins/buildscript.bat
+
3
−
3
View file @
9f30a581
...
@@ -92,9 +92,9 @@ if EXIST %BUILD_DIR% (
...
@@ -92,9 +92,9 @@ if EXIST %BUILD_DIR% (
:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: Packaging options
:: Packaging options
:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
set
PACKAGE_
DOC
S
=
set
PACKAGE_
OPT
S
=
if
"
%BUILDPKG%
"
==
"yes"
(
if
"
%BUILDPKG%
"
==
"yes"
(
set
PACKAGE_
DOC
S
=
-DPACKAGE
_DOCS
=
ON
set
PACKAGE_
OPT
S
=
-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_
DOC
S%
..
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_
OPT
S%
..
if
ERRORLEVEL
1
exit
/B
%ERRORLEVEL%
if
ERRORLEVEL
1
exit
/B
%ERRORLEVEL%
:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment