Skip to content

Draft: Check that the cached agility SDK version is at least the minimal version required. #454

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

tdavidovicNV
Copy link
Collaborator

Updating the default Agility SDK version in:

set(SLANG_RHI_FETCH_AGILITY_SDK_VERSION "1.616.1" CACHE STRING "Agility SDK version to fetch")

does not get picked up unless a CMake reconfigure is explicitly called. This can lead to unintuitive errors for the users.

This (mostly generated) code adds a check that the agility SDK in the cache is at least the minimal required version, and if not, fails the configuration with a useful message.

This does require further discussion. @skallweitNV

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