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
759f9820
Commit
759f9820
authored
10 years ago
by
Gigg, Martyn Anthony
Browse files
Options
Downloads
Patches
Plain Diff
Move default external data location to HOME
Refs #10870
parent
08a59253
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
Code/Mantid/Build/Jenkins/buildscript
+3
-3
3 additions, 3 deletions
Code/Mantid/Build/Jenkins/buildscript
Code/Mantid/Build/Jenkins/buildscript.bat
+4
-3
4 additions, 3 deletions
Code/Mantid/Build/Jenkins/buildscript.bat
with
7 additions
and
6 deletions
Code/Mantid/Build/Jenkins/buildscript
+
3
−
3
View file @
759f9820
...
@@ -58,11 +58,11 @@ fi
...
@@ -58,11 +58,11 @@ fi
###############################################################################
###############################################################################
# Set up the location for the local object store outside of the build and
# Set up the location for the local object store outside of the build and
# source tree, which can be shared by multiple builds.
# source tree, which can be shared by multiple builds.
# It defaults to
the parent directory of the workspace but can be overridden
# It defaults to
a MantidExternalData directory within the HOME directory.
# by setting the MANTID_DATA_STORE environment variable.
#
It can be overridden
by setting the MANTID_DATA_STORE environment variable.
###############################################################################
###############################################################################
if
[
-z
"
$MANTID_DATA_STORE
"
]
;
then
if
[
-z
"
$MANTID_DATA_STORE
"
]
;
then
export
MANTID_DATA_STORE
=
$
(
dirname
$WORKSPACE
)
export
MANTID_DATA_STORE
=
$
HOME
/MantidExternalData
fi
fi
###############################################################################
###############################################################################
...
...
This diff is collapsed.
Click to expand it.
Code/Mantid/Build/Jenkins/buildscript.bat
+
4
−
3
View file @
759f9820
...
@@ -22,11 +22,12 @@ set PATH=%WORKSPACE%\Code\Third_Party\lib\win64;%WORKSPACE%\Code\Third_Party\lib
...
@@ -22,11 +22,12 @@ set PATH=%WORKSPACE%\Code\Third_Party\lib\win64;%WORKSPACE%\Code\Third_Party\lib
:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: Set up the location for local object store outside of the build and source
:: Set up the location for local object store outside of the build and source
:: tree, which can be shared by multiple builds.
:: tree, which can be shared by multiple builds.
:: It defaults to the parent directory of the workspace but can be overridden
:: It defaults to a MantidExternalData directory within the USERPROFILE
:: by setting the MANTID_DATA_STORE environment variable.
:: directory. It can be overridden by setting the MANTID_DATA_STORE environment
:: variable.
:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
if
NOT
DEFINED
MANTID_DATA_STORE
(
if
NOT
DEFINED
MANTID_DATA_STORE
(
for
%%F
in
(
"
%WORKSPACE%
"
)
do
set
MANTID_DATA_STORE
=
%%~dpF
set
MANTID_DATA_STORE
=
%USERPROFILE%
\MantidExternalData
)
)
:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
...
...
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