nightly build: Add support for CentOS 8.4

git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@9444 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
Bart Van Assche
2021-06-21 03:25:39 +00:00
parent 393c65fbf1
commit 124edd624f
3 changed files with 18 additions and 11 deletions
+4 -2
View File
@@ -96,7 +96,8 @@ function evaluate(stmnt, pattern, arg, op, result) {
"RHEL_RELEASE_CODE -0 < 7 * 256 + 5)", stmnt)
gsub("IB_CLIENT_ADD_ONE_RETURNS_INT",
"(LINUX_VERSION_CODE >= KERNEL_VERSION(5, 8, 0))", stmnt)
"(LINUX_VERSION_CODE >= KERNEL_VERSION(5, 8, 0) || " \
"RHEL_RELEASE_CODE -0 >= 8 * 256 + 4)", stmnt)
gsub("defined\\(IB_CLIENT_REMOVE_TAKES_TWO_ARGS\\)",
"(LINUX_VERSION_CODE >= KERNEL_VERSION(4, 3, 0) || " \
@@ -165,7 +166,8 @@ function evaluate(stmnt, pattern, arg, op, result) {
"RHEL_RELEASE_CODE -0 < 8 * 256 + 2)", stmnt)
gsub("RDMA_REJECT_HAS_FOUR_ARGS",
"(LINUX_VERSION_CODE >= KERNEL_VERSION(5, 8, 0))", stmnt)
"(LINUX_VERSION_CODE >= KERNEL_VERSION(5, 8, 0) || " \
"RHEL_RELEASE_CODE -0 >= 8 * 256 + 4)", stmnt)
gsub("defined(ENABLE_NPIV)", 0, stmnt)