Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Z
Zipr Toolchain
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
Service Desk
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
Open Source Software
Zipr Toolchain
Commits
67d6ef65
Commit
67d6ef65
authored
6 years ago
by
Jason Hiser
Browse files
Options
Downloads
Patches
Plain Diff
fixed race conditions
Former-commit-id:
9b670b54
parent
7fa9dd4d
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
SConscript
+10
-11
10 additions, 11 deletions
SConscript
SConstruct
+2
-0
2 additions, 0 deletions
SConstruct
with
12 additions
and
11 deletions
SConscript
+
10
−
11
View file @
67d6ef65
...
...
@@ -8,24 +8,17 @@ Import('env')
#if [ ! -f manifest.txt.config -o ! -d "$PS_INSTALL" ]; then
if
not
os
.
path
.
isfile
(
"
manifest.txt.config
"
):
print
"
Doing pedi setup
"
pedisetup
=
Command
(
target
=
"
./testoutput-setup
"
,
source
=
"
./SConscript
"
,
action
=
os
.
environ
[
'
PEDI_HOME
'
]
+
"
/pedi --setup -m manifest.txt -l ida -l ida_key -l ps -l zipr -l stars -i
"
+
os
.
environ
[
'
PS_INSTALL
'
]
)
os
.
system
(
"
$PEDI_HOME/pedi --setup -m manifest.txt -l ida -l ida_key -l ps -l zipr -l stars -i $PS_INSTALL
"
)
else
:
print
"
Pedi already setup
"
pedisetup
=
list
()
# build stars and libirdb
libirdb
=
SConscript
(
"
irdb-libs/SConscript
"
)
# , variant_dir='build/irdb-libs')
Depends
(
libirdb
,
pedisetup
)
libsmpsa
=
SConscript
(
"
SMPStaticAnalyzer/SConscript
"
)
#
# specify some explicit dependencies to make sure these build in order
Depends
(
libsmpsa
,
libirdb
)
...
...
@@ -33,6 +26,14 @@ Depends(libsmpsa,libirdb)
libirdbdeep
=
SConscript
(
"
irdb-libs/SConscript.deep
"
,
variant_dir
=
'
build/irdb-libs
'
)
Depends
(
libirdbdeep
,
libsmpsa
)
print
"
Zipr install is
"
+
env
[
'
ZIPR_INSTALL
'
]
Export
(
'
env
'
)
libtrace
=
env
.
SConscript
([
"
zipr_trace_plugin/libtrace/SConscript
"
])
print
"
Zipr install is
"
+
env
[
'
ZIPR_INSTALL
'
]
zipr_trace_plugin
=
SConscript
([
"
zipr_trace_plugin/SConscript
"
])
Depends
(
zipr_trace_plugin
,
libtrace
);
# list of zipr plugins and irdb xforms to build
transformDirs
=
'''
zipr_large_only_plugin
...
...
@@ -40,7 +41,6 @@ transformDirs='''
zipr_push64_reloc_plugin
zipr_relax_plugin
zipr
zipr_trace_plugin
zipr_unpin_plugin
'''
...
...
@@ -49,7 +49,6 @@ xforms=list()
for
i
in
Split
(
transformDirs
):
Export
(
'
env
'
)
xform
=
SConscript
(
i
+
"
/SConscript
"
)
print
"
After step
"
+
str
(
i
)
+
"
, env[LINKFLAGS]=:
"
+
env
[
'
LINKFLAGS
'
]
Depends
(
xform
,
libirdbdeep
)
xforms
=
xforms
+
xform
...
...
This diff is collapsed.
Click to expand it.
SConstruct
+
2
−
0
View file @
67d6ef65
...
...
@@ -16,6 +16,8 @@ env.Replace(IRDB_SDK=os.environ['IRDB_SDK'])
env
.
Replace
(
SMPSA_HOME
=
os
.
environ
[
'
SMPSA_HOME
'
])
env
.
Replace
(
debug
=
ARGUMENTS
.
get
(
"
debug
"
,
0
))
env
.
Replace
(
PEDI_HOME
=
os
.
environ
[
'
PEDI_HOME
'
])
env
.
Replace
(
ZIPR_INSTALL
=
os
.
environ
[
'
ZIPR_INSTALL
'
])
if
int
(
env
[
'
debug
'
])
==
1
:
...
...
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