Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
O
OpenSK
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Model registry
Analyze
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
koenigl2
OpenSK
Commits
7d47de2b
Commit
7d47de2b
authored
4 years ago
by
Guillaume Endignoux
Browse files
Options
Downloads
Patches
Plain Diff
Formatting.
parent
463a289d
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
deploy.py
+3
-7
3 additions, 7 deletions
deploy.py
with
3 additions
and
7 deletions
deploy.py
+
3
−
7
View file @
7d47de2b
...
@@ -273,12 +273,7 @@ class OpenSKInstaller:
...
@@ -273,12 +273,7 @@ class OpenSKInstaller:
stdout
=
None
if
self
.
args
.
verbose_build
else
subprocess
.
DEVNULL
stdout
=
None
if
self
.
args
.
verbose_build
else
subprocess
.
DEVNULL
try
:
try
:
subprocess
.
run
(
subprocess
.
run
(
cmd
,
cmd
,
stdout
=
stdout
,
timeout
=
None
,
check
=
True
,
env
=
env
,
cwd
=
cwd
)
stdout
=
stdout
,
timeout
=
None
,
check
=
True
,
env
=
env
,
cwd
=
cwd
)
except
subprocess
.
CalledProcessError
as
e
:
except
subprocess
.
CalledProcessError
as
e
:
fatal
(
"
Failed to execute {}: {}
"
.
format
(
cmd
[
0
],
str
(
e
)))
fatal
(
"
Failed to execute {}: {}
"
.
format
(
cmd
[
0
],
str
(
e
)))
...
@@ -322,7 +317,8 @@ class OpenSKInstaller:
...
@@ -322,7 +317,8 @@ class OpenSKInstaller:
rustup_target
=
[
"
rustup
"
]
rustup_target
=
[
"
rustup
"
]
if
self
.
args
.
verbose_build
:
if
self
.
args
.
verbose_build
:
rustup_target
.
extend
([
"
--verbose
"
])
rustup_target
.
extend
([
"
--verbose
"
])
rustup_target
.
extend
([
"
target
"
,
"
add
"
,
SUPPORTED_BOARDS
[
self
.
args
.
board
].
arch
])
rustup_target
.
extend
(
[
"
target
"
,
"
add
"
,
SUPPORTED_BOARDS
[
self
.
args
.
board
].
arch
])
self
.
checked_command
(
rustup_target
)
self
.
checked_command
(
rustup_target
)
info
(
"
Rust toolchain up-to-date
"
)
info
(
"
Rust toolchain up-to-date
"
)
...
...
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