Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
lustre-v6
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository 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
verimag
synchrone
lustre-v6
Commits
0e060754
Commit
0e060754
authored
6 months ago
by
erwan
Browse files
Options
Downloads
Patches
Plain Diff
refactor: change the name of a dev CLI option (-2cmct -> -2cmtt)
parent
c3a1e184
No related branches found
No related tags found
No related merge requests found
Pipeline
#192974
passed
6 months ago
Stage: build
Stage: test
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
lib/lic2soc.ml
+2
-2
2 additions, 2 deletions
lib/lic2soc.ml
lib/lv6MainArgs.ml
+6
-6
6 additions, 6 deletions
lib/lv6MainArgs.ml
with
8 additions
and
8 deletions
lib/lic2soc.ml
+
2
−
2
View file @
0e060754
(** Time-stamp: <modified the 02/09/2024 (at 14:
09
) by Erwan Jahier> *)
(** Time-stamp: <modified the 02/09/2024 (at 14:
51
) by Erwan Jahier> *)
(* XXX ce module est mal crit. A reprendre. (R1) *)
...
...
@@ -790,7 +790,7 @@ let (is_a_task : bool -> Lxm.t -> bool) =
|
Pragma
(
_
,_
)
::
pl
->
f
pl
in
if
Lv6MainArgs
.
global_opt
.
Lv6MainArgs
.
multi_task_top
then
toplevel_node
toplevel_node
||
f
(
Lxm
.
pragma
lxm
)
else
if
Lv6MainArgs
.
global_opt
.
Lv6MainArgs
.
multi_task
then
f
(
Lxm
.
pragma
lxm
)
else
...
...
This diff is collapsed.
Click to expand it.
lib/lv6MainArgs.ml
+
6
−
6
View file @
0e060754
(* Time-stamp: <modified the 0
9
/0
7
/2024 (at 1
1
:4
1
) by Erwan Jahier> *)
(* Time-stamp: <modified the 0
2
/0
9
/2024 (at 1
4
:4
8
) by Erwan Jahier> *)
(*
Le manager d'argument adapt de celui de lutin, plus joli
N.B. solution un peu batarde : les options sont stockes, comme avant, dans Global,
...
...
@@ -562,7 +562,7 @@ let mkoptab (opt:t) : unit = (
[
"Generate a main file for computing the wcet (force -2c -2cgc)"
]
;
mkopt
opt
~
doc_level
:
Dev
[
"-
2cmc"
;
"--2c-multi-core"
;
"-
2cmt"
;
"--2c-multi-task"
]
[
"-2cmt"
;
"--2c-multi-task"
]
(
Arg
.
Unit
(
fun
()
->
set_c_options
opt
;
global_opt
.
io_transmit_mode
<-
Ctx
;
...
...
@@ -570,15 +570,15 @@ let mkoptab (opt:t) : unit = (
[
"Set on the multi-task code generation mode (nodes with the %MT:t% pragma are tasks)"
]
;
mkopt
opt
~
doc_level
:
Dev
[
"-2cm
c
t"
;
"--2c-multi-task-top"
]
[
"-2cm
t
t"
;
"--2c-multi-task-top
level
"
]
(
Arg
.
Unit
(
fun
()
->
set_c_options
opt
;
global_opt
.
io_transmit_mode
<-
Ctx
;
global_opt
.
multi_task
<-
true
;
global_opt
.
multi_task_top
<-
true
;))
[
"All node calls in the main node are put in a task"
]
global_opt
.
multi_task_top
<-
true
;
))
[
"Set on the multi-task code generation mode and consider all top-level nodes as tasks"
]
;
mkopt
opt
~
doc_level
:
Advanced
[
"-2c-ioa"
;
"--2c-io-in-args"
]
(
Arg
.
Unit
(
fun
()
->
set_c_options
opt
;
global_opt
.
io_transmit_mode
<-
Args
))
...
...
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