fix abi-check
This commit is contained in:
parent
cc0c71c30b
commit
110d31891b
|
@ -5,8 +5,8 @@
|
||||||
"Git": "https://github.com/uclouvain/openjpeg.git",
|
"Git": "https://github.com/uclouvain/openjpeg.git",
|
||||||
"Maintainer": "OpenJPEG team",
|
"Maintainer": "OpenJPEG team",
|
||||||
"MaintainerUrl": "http://www.openjpeg.org/",
|
"MaintainerUrl": "http://www.openjpeg.org/",
|
||||||
"Package": "version.",
|
|
||||||
"Configure": "-DCMAKE_C_FLAGS='-fvisibility=hidden -g -Og -w -fpermissive'",
|
"Configure": "-DCMAKE_C_FLAGS='-fvisibility=hidden -g -Og -w -fpermissive'",
|
||||||
|
"Package": "version.",
|
||||||
|
|
||||||
"Versions": [
|
"Versions": [
|
||||||
{
|
{
|
||||||
|
@ -24,7 +24,7 @@
|
||||||
{
|
{
|
||||||
"Number": "2.1.2",
|
"Number": "2.1.2",
|
||||||
"Installed": "installed/openjpeg/2.1.2",
|
"Installed": "installed/openjpeg/2.1.2",
|
||||||
"Source": "src/openjpeg/2.1.2/v2.1.2.tar.gz",
|
"Source": "src/openjpeg/2.1.2/version.-2.1.2.tar.gz",
|
||||||
"Changelog": "CHANGELOG.md",
|
"Changelog": "CHANGELOG.md",
|
||||||
"HeadersDiff": "On",
|
"HeadersDiff": "On",
|
||||||
"PkgDiff": "Off",
|
"PkgDiff": "Off",
|
||||||
|
@ -36,7 +36,7 @@
|
||||||
{
|
{
|
||||||
"Number": "2.1.1",
|
"Number": "2.1.1",
|
||||||
"Installed": "installed/openjpeg/2.1.1",
|
"Installed": "installed/openjpeg/2.1.1",
|
||||||
"Source": "src/openjpeg/2.1.1/v2.1.1.tar.gz",
|
"Source": "src/openjpeg/2.1.1/version.-2.1.1.tar.gz",
|
||||||
"Changelog": "CHANGELOG.md",
|
"Changelog": "CHANGELOG.md",
|
||||||
"HeadersDiff": "On",
|
"HeadersDiff": "On",
|
||||||
"PkgDiff": "Off",
|
"PkgDiff": "Off",
|
||||||
|
|
|
@ -71,7 +71,7 @@ rm -rf installed/openjpeg/current/*
|
||||||
|
|
||||||
# Let's create all we need
|
# Let's create all we need
|
||||||
grep -v Git ${OPJ_SOURCE_DIR}/tools/abi-tracker/openjpeg.json > ./openjpeg.json
|
grep -v Git ${OPJ_SOURCE_DIR}/tools/abi-tracker/openjpeg.json > ./openjpeg.json
|
||||||
#abi-monitor ${OPJ_LIMIT_ABI_BUILDS} -get openjpeg.json
|
abi-monitor ${OPJ_LIMIT_ABI_BUILDS} -get openjpeg.json
|
||||||
if [ "${OPJ_LIMIT_ABI_BUILDS}" != "" ]; then
|
if [ "${OPJ_LIMIT_ABI_BUILDS}" != "" ]; then
|
||||||
cp -f ${OPJ_SOURCE_DIR}/tools/abi-tracker/openjpeg.json ./openjpeg.json
|
cp -f ${OPJ_SOURCE_DIR}/tools/abi-tracker/openjpeg.json ./openjpeg.json
|
||||||
else
|
else
|
||||||
|
@ -79,7 +79,11 @@ else
|
||||||
grep -v Configure ${OPJ_SOURCE_DIR}/tools/abi-tracker/openjpeg.json > ./openjpeg.json
|
grep -v Configure ${OPJ_SOURCE_DIR}/tools/abi-tracker/openjpeg.json > ./openjpeg.json
|
||||||
fi
|
fi
|
||||||
cp -rf ${OPJ_SOURCE_DIR} src/openjpeg/current
|
cp -rf ${OPJ_SOURCE_DIR} src/openjpeg/current
|
||||||
abi-monitor ${OPJ_LIMIT_ABI_BUILDS} -rebuild openjpeg.json
|
abi-monitor -v current -build openjpeg.json
|
||||||
|
abi-monitor -v ${OPJ_LATEST_VERSION} -build openjpeg.json
|
||||||
|
if [ "${OPJ_PREVIOUS_VERSION:-}" != "" ]; then
|
||||||
|
abi-monitor -v ${OPJ_PREVIOUS_VERSION} -build openjpeg.json
|
||||||
|
fi
|
||||||
abi-tracker -build openjpeg.json
|
abi-tracker -build openjpeg.json
|
||||||
|
|
||||||
EXIT_CODE=0
|
EXIT_CODE=0
|
||||||
|
|
Loading…
Reference in New Issue