+1
−1
+1
−1
+1
−1
+1
−1
+1
−1
Loading
To allow SO_MINOR updates on LTS for the whole year it is supported,
the major version for all components needs to be increased.
This is to prevent scenario where two versions exists with matching
versions, but conflicting ABI.
Ex. Next SPDK release adds an API call increasing the minor version,
then LTS needs just a subset of those additions.
Increasing major so version after LTS, allows the future releases
to update versions as needed. Yet allowing LTS to increase minor
version separately.
This patch:
- increases SO_VER by 1 for all components
- resets SO_MINOR to 0 for all components
Short reference to how the versions were changed:
MAX=$(git grep "SO_VER := " | cut -d" " -f 3 | sort -ubnr | head -1)
for((i=$MAX;i>0;i-=1)); do find . -name "Makefile" -exec \
sed -i -e "s/SO_VER := $i\$/SO_VER := $(($i+1))/g" {} +; done
find . -name "Makefile" -exec \
sed -i -e "s/SO_MINOR := .*/SO_MINOR := 0/g" {} +
Change-Id: I6c34110384a9933cd170be64ad2377aac656c8d2
Signed-off-by:
Tomasz Zawadzki <tomasz.zawadzki@nutanix.com>
Reviewed-on: https://review.spdk.io/c/spdk/spdk/+/26042
Reviewed-by:
Mateusz Kozlowski <mateusz.kozlowski@solidigm.com>
Tested-by:
SPDK Automated Test System <spdkbot@gmail.com>
Reviewed-by:
Konrad Sztyber <ksztyber@nvidia.com>