Update dependency installation, build and packaging scripts for AlmaLinux9 #7861
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Problem solved by the commit
While not a supported OS, XRT can be built and used on AlmaLinux 9, but there is some checks for specific linux flavors which forbid to run dependency installation script and packaging (Build is mostly ok, except for location of pybind11).
How problem was solved, alternative solutions (if any) and why they were rejected
With the proposed modifications, dependency installation script, build and packaging works on AlmaLinux9
What has been tested and how, request additional testing if necessary
Tested on almalinux:latest docker and a fresh almalinux-minimal native install.
Caveat: on docker image, the
curl-minimal
clash with the installation ofcurl
until--allowerasing
is used during yum install. As this change would be more invasive and probably controversial, it have been left out and usingyum install curl --allowerasing
before running thexrtdeps.sh
script is an easy workaround.Documentation impact (if any)
This is not an attempt to add AlmaLinux 9 to the supported OS lists, thus no documentation modification is required.