Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
verimag
synchrone
lutin
Commits
c903e6e7
Commit
c903e6e7
authored
Feb 12, 2018
by
erwan
Browse files
Fix the read-rif utils so that it reads correctly rif coming from prog with no input.
parent
c3dd3b8a
Pipeline
#3476
passed with stages
in 7 minutes and 22 seconds
Changes
4
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Lutin.install
View file @
c903e6e7
...
@@ -16,4 +16,4 @@ doc: [
...
@@ -16,4 +16,4 @@ doc: [
lib
:
[
lib
:
[
"lutin/src/lut4c_stubs.h"
"lutin/src/lut4c_stubs.h"
]
]
\ No newline at end of file
_oasis
View file @
c903e6e7
OASISFormat: 0.4
OASISFormat: 0.4
Name: Lutin
Name: Lutin
Version: 2.4
3
Version: 2.4
4
Authors: Erwan Jahier
Authors: Erwan Jahier
Maintainers: erwan.jahier@imag.fr
Maintainers: erwan.jahier@imag.fr
License: PROP
License: PROP
...
@@ -16,12 +16,18 @@ BuildTools: ocamlbuild
...
@@ -16,12 +16,18 @@ BuildTools: ocamlbuild
PreBuildCommand: make lutin/src/version.ml
PreBuildCommand: make lutin/src/version.ml
PostInstallCommand: cp utils/simec_trap $exec_prefix/bin; cp utils/read-rif.sh $exec_prefix/bin; cp utils/lurette $exec_prefix/bin
PostInstallCommand: cp utils/simec_trap $exec_prefix/bin; cp utils/read-rif.sh $exec_prefix/bin; cp utils/lurette $exec_prefix/bin
SourceRepository "master"
Type: git
Location: https://gricad-gitlab.univ-grenoble-alpes.fr/verimag/synchrone/lutin.git
Browser: https://gricad-gitlab.univ-grenoble-alpes.fr/verimag/synchrone/lutin
#PreBuildCommand: make gen_version
#PreBuildCommand: make gen_version
Executable lutin
Executable lutin
Path: lutin/src
Path: lutin/src
MainIs: main.ml
MainIs: main.ml
BuildDepends: str,unix,num,rdbg-plugin (>= 1.109),lutin-utils,ezdl,gbddml,polka,camlp4,camlidl
BuildDepends: str,unix,num,rdbg-plugin (>= 1.109),lutin-utils,ezdl,gbddml,polka,camlp4,camlidl
,gmp
NativeOpt: -package num # XXX turn around a bug in oasis/ocamlbuild/ocamlfind?
NativeOpt: -package num # XXX turn around a bug in oasis/ocamlbuild/ocamlfind?
Build: true
Build: true
Install:true
Install:true
...
...
lutin/src/version.ml
View file @
c903e6e7
let
str
=
"2.4
3
"
let
str
=
"2.4
4
"
let
sha
=
"
90957fc
"
let
sha
=
"
c3dd3b8
"
utils/read-rif.sh
View file @
c903e6e7
...
@@ -5,10 +5,10 @@
...
@@ -5,10 +5,10 @@
riffile
=
$1
riffile
=
$1
cat
$riffile
|
\
cat
$riffile
|
\
grep
-e
'#outs'
-e
'#step'
|
\
grep
-e
'#outs'
-e
'#step'
|
\
sed
-e
's/True[ \t$]/1 /g'
-e
's/true[ \t$]/1 /g'
-e
's/t[ \t$]/1 /g'
-e
's/T[ \t$]/1 /g'
|
\
sed
-e
's/True[ \t$]/1 /g'
-e
's/true[ \t$]/1 /g'
-e
's/t[ \t$]/1 /g'
-e
's/T[ \t$]/1 /g'
|
\
sed
-e
's/[ \t]True/1 /g'
-e
's/[ \t]true/
1
/g'
-e
's/[ \t]t/
1
/g'
-e
's/[ \t]T/
1
/g'
|
\
sed
-e
's/[ \t]True/
1 /g'
-e
's/[ \t]true/
1
/g'
-e
's/[ \t]t/
1
/g'
-e
's/[ \t]T/
1
/g'
|
\
sed
-e
's/False[ \t$]/0 /g'
-e
's/false[ \t$]/0 /g'
-e
's/f[ \t$]/0 /g'
-e
's/F[ \t$]/0 /g'
|
\
sed
-e
's/False[ \t$]/0 /g'
-e
's/false[ \t$]/0 /g'
-e
's/f[ \t$]/0 /g'
-e
's/F[ \t$]/0 /g'
|
\
sed
-e
's/[ \t]False/
0
/g'
-e
's/[ \t]false/
0
/g'
-e
's/[ \t]f/
0
/g'
-e
's/[ \t]F/
0
/g'
|
\
sed
-e
's/[ \t]False/
0
/g'
-e
's/[ \t]false/
0
/g'
-e
's/[ \t]f/
0
/g'
-e
's/[ \t]F/
0
/g'
|
\
sed
-e
'N; s/#step \([0-9]*\)\([^0-9]*\)\(.*\)#outs\(.*\)/\1 \3 \4/g'
sed
-e
'N; s/#step \([0-9]*\)\([^0-9]*\)\(.*\)#outs
\(.*\)/\1 \3 \4/g'
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment