Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
LbScripts
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Jira
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
LHCb Core Software
LbScripts
Commits
859ebc69
Commit
859ebc69
authored
7 years ago
by
Ben Couturier
Browse files
Options
Downloads
Plain Diff
Merge branch 'default-lhcbdirac-platform' into 'master'
Make `lb-run LHCbDirac` imply `-c best` See merge request
!242
parents
e2de4f58
57e30acd
Branches
Branches containing commit
Tags
Tags containing commit
1 merge request
!242
Make `lb-run LHCbDirac` imply `-c best`
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
LbConfiguration/python/LbConfiguration/SP2/script.py
+5
-0
5 additions, 0 deletions
LbConfiguration/python/LbConfiguration/SP2/script.py
with
5 additions
and
0 deletions
LbConfiguration/python/LbConfiguration/SP2/script.py
+
5
−
0
View file @
859ebc69
...
@@ -250,6 +250,8 @@ class SP2(EnvConfig.Script):
...
@@ -250,6 +250,8 @@ class SP2(EnvConfig.Script):
grid_override
=
True
,
grid_override
=
True
,
use_grid
=
False
,
use_grid
=
False
,
use_setupproject
=
False
)
use_setupproject
=
False
)
self
.
_default_platform
=
parser
.
get_default_values
().
platform
parser
.
set_defaults
(
platform
=
None
)
self
.
allow_empty_version
=
False
self
.
allow_empty_version
=
False
def
_parse_args
(
self
,
args
=
None
):
def
_parse_args
(
self
,
args
=
None
):
...
@@ -276,6 +278,9 @@ class SP2(EnvConfig.Script):
...
@@ -276,6 +278,9 @@ class SP2(EnvConfig.Script):
# project name
# project name
self
.
allow_empty_version
=
True
self
.
allow_empty_version
=
True
self
.
version
=
DEFAULT_VERSION
self
.
version
=
DEFAULT_VERSION
if
self
.
opts
.
platform
is
None
:
self
.
opts
.
platform
=
(
'
best
'
if
self
.
project
.
lower
()
==
'
lhcbdirac
'
else
self
.
_default_platform
)
def
_add_ext_dir_to_env
(
self
,
path
):
def
_add_ext_dir_to_env
(
self
,
path
):
def
prepend
(
k
,
v
):
def
prepend
(
k
,
v
):
...
...
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