From e9f1b2d26f8c68c2bd1f108565645d72f55b7180 Mon Sep 17 00:00:00 2001 From: Martin Kroeker Date: Fri, 25 Aug 2023 16:45:56 +0200 Subject: [PATCH] Expand the SVE compatibility check for the NVIDIA HPC compiler --- c_check | 3 +++ 1 file changed, 3 insertions(+) diff --git a/c_check b/c_check index 7ee183163..4d12c1674 100755 --- a/c_check +++ b/c_check @@ -283,6 +283,9 @@ if [ "$architecture" = "arm64" ]; then no_sve=0 { $compiler_name $flags $args >/dev/null 2>&1 + } || { + args=" -Msve_intrinsics -c -o $tmpf.o $tmpf" + $compiler_name $flags $args >/dev/null 2>&1 } || { no_sve=1 }