Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
D
dmt
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
TASTE
dmt
Commits
dd06103f
Commit
dd06103f
authored
Jul 29, 2019
by
Maxime Perrotin
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
https://gitrepos.estec.esa.int/taste/dmt
parents
36557b64
b1aaedc0
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
5 deletions
+5
-5
dmt/A_mappers/ada_A_mapper.py
dmt/A_mappers/ada_A_mapper.py
+1
-1
dmt/A_mappers/python_A_mapper.py
dmt/A_mappers/python_A_mapper.py
+3
-3
setup.py
setup.py
+1
-1
No files found.
dmt/A_mappers/ada_A_mapper.py
View file @
dd06103f
...
...
@@ -50,7 +50,7 @@ def OnStartup(unused_modelingLanguage: str, asnFiles: List[str], outputDir: str,
extraFlags
=
os
.
getenv
(
"ASN1SCC_FLAGS"
)
or
""
os
.
system
(
(
"mono "
if
sys
.
platform
.
startswith
(
'linux'
)
else
""
)
+
"
\"
{}
\"
-typePrefix asn1Scc -Ada {} -
uPER -
o
\"
"
.
format
(
asn1SccPath
,
extraFlags
)
+
"
\"
{}
\"
-typePrefix asn1Scc -Ada {} -o
\"
"
.
format
(
asn1SccPath
,
extraFlags
)
+
outputDir
+
"
\"
\"
"
+
"
\"
\"
"
.
join
(
asnFiles
)
+
"
\"
"
)
os
.
system
(
"rm -f
\"
"
+
outputDir
+
"
\"
/*.adb"
)
...
...
dmt/A_mappers/python_A_mapper.py
View file @
dd06103f
...
...
@@ -136,7 +136,7 @@ ASN2DATAMODEL:=asn2dataModel
GRAMMAR := %(origGrammarBase)s
BASEGRAMMAR := %(base)s
BDIR:= .
OBJ := $(BDIR)/$(GRAMMAR).o $(BDIR)/asn1crt.o $(BDIR)/
real.o $(BDIR)/
acn.o $(BDIR)/$(BASEGRAMMAR)_getset.o
OBJ := $(BDIR)/$(GRAMMAR).o $(BDIR)/asn1crt.o $(BDIR)/
asn1crt_encoding.o $(BDIR)/asn1crt_encoding_uper.o $(BDIR)/asn1crt_encoding_
acn.o $(BDIR)/$(BASEGRAMMAR)_getset.o
all: $(BDIR)/$(BASEGRAMMAR)_getset.so $(BDIR)/DV.py
...
...
@@ -144,7 +144,7 @@ $(BDIR)/$(GRAMMAR)_getset.c: $(GRAMMAR).asn
%(tab)smkdir -p $(BDIR)
%(tab)s$(ASN2DATAMODEL) -toPython -o $(BDIR) $<
$(BDIR)/asn1crt.c $(BDIR)/$(GRAMMAR).c $(BDIR)/
real.c $(BDIR)/
acn.c $(BDIR)/$(GRAMMAR).h $(BDIR)/asn1crt.h: $(GRAMMAR).asn
$(BDIR)/asn1crt.c $(BDIR)/$(GRAMMAR).c $(BDIR)/
asn1crt.c $(BDIR)/asn1crt_encoding.c $(BDIR)/asn1crt_encoding_uper.c $(BDIR)/asn1crt_encoding_
acn.c $(BDIR)/$(GRAMMAR).h $(BDIR)/asn1crt.h: $(GRAMMAR).asn
%(tab)sif [ ! -f "$(GRAMMAR).acn" ] ; then %(mono)s $(ASN1SCC) -ACND -o $(BDIR) $< ; fi
%(tab)s%(mono)s $(ASN1SCC) -ACN -c -uPER -equal -o $(BDIR) $< $(GRAMMAR).acn
...
...
@@ -159,7 +159,7 @@ $(BDIR)/$(BASEGRAMMAR)_getset.so: ${OBJ}
%(tab)sgcc -g -fPIC -shared `python-config --ldflags` -o $@ $^
clean:
%(tab)srm -f $(BDIR)/asn1crt
.? $(BDIR)/real.? $(BDIR)/$(GRAMMAR).? $(BDIR)/acn
.?
%(tab)srm -f $(BDIR)/asn1crt
* $(BDIR)/$(GRAMMAR)
.?
%(tab)srm -f $(BDIR)/DV.py $(BDIR)/*.pyc $(BDIR)/$(BASEGRAMMAR)_getset.? $(BDIR)/$(BASEGRAMMAR)_getset.so
%(tab)srm -f $(BDIR)/$(GRAMMAR)_asn.py
'''
...
...
setup.py
View file @
dd06103f
...
...
@@ -11,7 +11,7 @@ from setuptools import setup, find_packages
setup
(
name
=
'dmt'
,
version
=
"2.1.
29
"
,
version
=
"2.1.
31
"
,
packages
=
find_packages
(),
author
=
'Thanassis Tsiodras'
,
author_email
=
'Thanassis.Tsiodras@esa.int'
,
...
...
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