ci: remove outdated default reference tag for ABI
PATCH 1/1 ci: remove outdated default reference tag for ABI
The variable REF_GIT_TAG is set in the CI configuration like .travis.yml or .github/workflows/build.yml.
The default value is outdated and probably unused.
It is removed completely to avoid forgetting an update in future.
--- .ci/linux-build.sh | 1 - 1 file changed, 1 deletion(-)
.ci/linux-build.sh +0 -1
@@ -119,7 +119,6 @@ if [ "$ABI_CHECKS" = "true" ]; then export PATH=$(pwd)/libabigail/bin:$PATH REF_GIT_REPO=${REF_GIT_REPO:-https://dpdk.org/git/dpdk} - REF_GIT_TAG=${REF_GIT_TAG:-v19.11} if [ "$(cat reference/VERSION 2>/dev/null)" != "$REF_GIT_TAG" ]; then rm -rf reference
Signature · 1 line
2.34.1
Quoted 7 lines · Thomas Monjalon
The variable
REF_GIT_TAGis set in the CI configuration like .travis.yml or.github/workflows/build.yml.
The default value is outdated and probably unused.
It is removed completely to avoid forgetting an update in future.Signed-off-by Thomas Monjalon <[email protected]>---
I think the default was there for labs that run the build script manually. Maybe there are no such users, though. I believe the lab has its own script for doing such ABI checks (but can't remember off the top of my head).
CC'd Lincoln and Owen just to confirm.
Assuming the UNH/other lab doesn't use this feature of the linux build script,
Quoted 4 lines · Aaron Conole
I think the default was there for labs that run the build script manually. Maybe there are no such users, though. I believe the lab has its own script for doing such ABI checks (but can't remember off the top of my head).
Just confirming: the UNH lab does use our own separate script (which calls the devtools check-abi.sh and gen-abi.sh scripts).
Signature · 5 lines
Brandon Lo UNH InterOperability Laboratory 21 Madbury Rd, Suite 100, Durham, NH 03824 [email protected] www.iol.unh.edu
08/02/2022 16:08, Aaron Conole:
Quoted 15 lines
Quoted 7 lines · Thomas Monjalon
The variable
REF_GIT_TAGis set in the CI configuration like .travis.yml or.github/workflows/build.yml.
The default value is outdated and probably unused.
It is removed completely to avoid forgetting an update in future.Signed-off-by Thomas Monjalon <[email protected]>---
I think the default was there for labs that run the build script manually. Maybe there are no such users, though. I believe the lab has its own script for doing such ABI checks (but can't remember off the top of my head).
Quoted 6 lines
CC'd Lincoln and Owen just to confirm.
Assuming the UNH/other lab doesn't use this feature of the linux build script,
Acked-by Aaron Conole <[email protected]>
I could also remove this variable:
LIBABIGAIL_VERSION=${LIBABIGAIL_VERSION:-libabigail-1.6}
It is confusing to see an old version here,
while we use the version 1.8.
If no objection, I'll send a v2.
Quoted 24 lines · Thomas Monjalon
08/02/2022 16:08, Aaron Conole:
Quoted 15 lines
Quoted 7 lines · Thomas Monjalon
The variable
REF_GIT_TAGis set in the CI configuration like .travis.yml or.github/workflows/build.yml.
The default value is outdated and probably unused.
It is removed completely to avoid forgetting an update in future.Signed-off-by Thomas Monjalon <[email protected]>---
I think the default was there for labs that run the build script manually. Maybe there are no such users, though. I believe the lab has its own script for doing such ABI checks (but can't remember off the top of my head).
Quoted 6 lines
CC'd Lincoln and Owen just to confirm.
Assuming the UNH/other lab doesn't use this feature of the linux build script,
Acked-by Aaron Conole <[email protected]>
Quoted 7 lines
I could also remove this variable:
LIBABIGAIL_VERSION=${LIBABIGAIL_VERSION:-libabigail-1.6}It is confusing to see an old version here,
while we use the version 1.8.If no objection, I'll send a v2.
+1.
Signature · 1 line
David Marchand
PATCH v2 1/1 ci: remove outdated default versions for ABI check
In reply to Thomas MonjalonThe variables REF_GIT_TAG and LIBABIGAIL_VERSION are set
in the CI configuration like .travis.yml or .github/workflows/build.yml. The default values are outdated and probably unused.
The default values are removed completely
to avoid forgetting an update in future.
The use of the variables is quoted to make sure a missing value will trigger an appropriate failure.
--- .ci/linux-build.sh | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-)
.ci/linux-build.sh +2 -5
@@ -104,8 +104,6 @@ if [ "$AARCH64" != "true" ] && [ "$PPC64LE" != "true" ]; then fi if [ "$ABI_CHECKS" = "true" ]; then - LIBABIGAIL_VERSION=${LIBABIGAIL_VERSION:-libabigail-1.6} - if [ "$(cat libabigail/VERSION 2>/dev/null)" != "$LIBABIGAIL_VERSION" ]; then rm -rf libabigail # if we change libabigail, invalidate existing abi cache
@@ -113,14 +111,13 @@ if [ "$ABI_CHECKS" = "true" ]; then fi if [ ! -d libabigail ]; then - install_libabigail $LIBABIGAIL_VERSION $(pwd)/libabigail + install_libabigail "$LIBABIGAIL_VERSION" $(pwd)/libabigail echo $LIBABIGAIL_VERSION > libabigail/VERSION fi export PATH=$(pwd)/libabigail/bin:$PATH REF_GIT_REPO=${REF_GIT_REPO:-https://dpdk.org/git/dpdk} - REF_GIT_TAG=${REF_GIT_TAG:-v19.11} if [ "$(cat reference/VERSION 2>/dev/null)" != "$REF_GIT_TAG" ]; then rm -rf reference
@@ -128,7 +125,7 @@ if [ "$ABI_CHECKS" = "true" ]; then if [ ! -d reference ]; then refsrcdir=$(readlink -f $(pwd)/../dpdk-$REF_GIT_TAG) - git clone --single-branch -b $REF_GIT_TAG $REF_GIT_REPO $refsrcdir + git clone --single-branch -b "$REF_GIT_TAG" $REF_GIT_REPO $refsrcdir meson $OPTS -Dexamples= $refsrcdir $refsrcdir/build ninja -C $refsrcdir/build DESTDIR=$(pwd)/reference ninja -C $refsrcdir/build install
Signature · 1 line
2.34.1
Re: [PATCH v2] ci: remove outdated default versions for ABI check
Quoted 5 lines · Thomas Monjalon
The variables
REF_GIT_TAGandLIBABIGAIL_VERSIONare set
in the CI configuration like .travis.yml or.github/workflows/build.yml. The default values are outdated and probably unused.
Quoted 8 lines
The default values are removed completely
to avoid forgetting an update in future.The use of the variables is quoted to make sure a missing value will trigger an appropriate failure.
Signed-off-by Thomas Monjalon <[email protected]>Acked-by Aaron Conole <[email protected]>
Signature · 1 line
David Marchand
Thomas Monjalon
AppliedRe: [PATCH v2] ci: remove outdated default versions for ABI check
01/03/2022 11:07, David Marchand:
Quoted 9 lines · Thomas Monjalon
Quoted 8 lines
The variables
REF_GIT_TAGandLIBABIGAIL_VERSIONare set
in the CI configuration like .travis.yml or.github/workflows/build.yml. The default values are outdated and probably unused.The default values are removed completely
to avoid forgetting an update in future.
Quoted 6 lines
Quoted 5 lines
The use of the variables is quoted to make sure a missing value will trigger an appropriate failure.
Signed-off-by Thomas Monjalon <[email protected]>Acked-by Aaron Conole <[email protected]>Acked-by David Marchand <[email protected]>
Applied