Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
libcdi
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
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
mpim-sw
libcdi
Commits
4d3382ce
Commit
4d3382ce
authored
2 years ago
by
Sergey Kosukhin
Browse files
Options
Downloads
Patches
Plain Diff
Update CI scripts on Breeze: fix and extend the overlinking check.
parent
4f5ef485
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!11
Consolidation with CDI-PIO (1.8.x)
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.ci/bb/breeze-mpim/test.all.nv
+25
-3
25 additions, 3 deletions
.ci/bb/breeze-mpim/test.all.nv
with
25 additions
and
3 deletions
.ci/bb/breeze-mpim/test.all.nv
+
25
−
3
View file @
4d3382ce
...
...
@@ -6,12 +6,20 @@ set -o pipefail
script_dir
=
$(
cd
"
$(
dirname
"
$0
"
)
"
;
pwd
)
top_srcdir
=
$(
cd
"
${
script_dir
}
/../../.."
;
pwd
)
# We want to check with the Debian version of Libtool, which is patched to avoid
# overlinking:
export
PATH
=
"/usr/bin:
${
PATH
-
}
"
.
"
${
script_dir
}
/utils.sh"
init_nv2130
# We want to check with the Debian version of Libtool, which is patched to
# avoid overlinking. Therefore, we regenerate the Autotools files even if they
# are already available:
libtoolize
=
$(
which libtoolize
)
test
"x
${
libtoolize
}
"
=
'x/usr/bin/libtoolize'
||
{
echo
"ERROR: '
${
libtoolize
}
' is not a Debian-provided system libtoolize"
>
&2
exit
1
}
# Regenerate the Autotools files even if they are already available:
"
${
top_srcdir
}
/autogen.sh"
"
${
top_srcdir
}
/configure"
\
...
...
@@ -32,6 +40,20 @@ PKG_CONFIG_PATH="${YAXT_ROOT}/lib/pkgconfig:${PPM_ROOT}/lib/pkgconfig"
make
-j8
# Check that an executable is not overlinked to libscalesppmcore.so:
tested_file
=
'examples/pio/.libs/collectData.parallel'
invalid_needed
=
`
readelf
-d
"
${
tested_file
}
"
|
sed
-E
-n
'/\(NEEDED\).*libscalesppmcore\.so/p'
`
||
{
echo
"ERROR: failed to check '
${
tested_file
}
' for ELF NEEDED entries"
>
&2
exit
1
}
if
test
-n
"
${
invalid_needed
}
"
;
then
{
echo
"ERROR: '
${
tested_file
}
' has excessive ELF NEEDED entries:"
>
&2
echo
"
${
invalid_needed
}
"
>
&2
}
>
&2
exit
1
fi
make
-j8
check
||
{
cat
tests/test-suite.log
;
exit
1
;
}
check_all_tests_passed tests/test-suite.log
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