Skip to content

build: Allow any v4 libtss#20

Open
agraf wants to merge 1 commit into
aws:mainfrom
agraf:tss-version
Open

build: Allow any v4 libtss#20
agraf wants to merge 1 commit into
aws:mainfrom
agraf:tss-version

Conversation

@agraf
Copy link
Copy Markdown

@agraf agraf commented Jan 20, 2026

I tried to compile with the current git version of libtss2 (4.1.0-foo) and was greeted with a build error. Major versions should maintain API compatibility, so I don't expect any issue compiling with any version from the 4 major version series. Adjust the semver accordingly.

To make compilation successful with git checkouts, also strip the prerelease info when comparing versions. Without that stripping, compilation still failed.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

I tried to compile with the current git version of libtss2 (4.1.0-foo)
and was greeted with a build error. Major versions should maintain API
compatibility, so I don't expect any issue compiling with any version
from the 4 major version series. Adjust the semver accordingly.

To make compilation successful with git checkouts, also strip the
prerelease info when comparing versions. Without that stripping,
compilation still failed.

Signed-off-by: Alexander Graf <graf@amazon.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant