* installing *source* package ‘RhpcBLASctl’ ... ** package ‘RhpcBLASctl’ successfully unpacked and MD5 sums checked ** using staged installation checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking sys/sysctl.h usability... yes checking sys/sysctl.h presence... yes checking for sys/sysctl.h... yes checking for sysctl... yes checking for sysctlbyname... no checking sys/sysinfo.h usability... yes checking sys/sysinfo.h presence... yes checking for sys/sysinfo.h... yes checking for get_nprocs... yes configure: creating ./config.status config.status: creating src/Makevars config.status: creating src/config.h ** libs make[1]: Entering directory '/data/gannet/ripley/R/packages/tests-clang13/RhpcBLASctl/src' /usr/local/clang13/bin/clang -I"/data/gannet/ripley/R/R-clang-trunk/include" -DNDEBUG -isystem /usr/local/clang13/include -fopenmp -fpic -g -O3 -Wall -pedantic -c blasctl.c -o blasctl.o In file included from blasctl.c:24: /usr/local/clang13/lib/clang/13.0.0/include/omp.h:483:39: error: expected 'match' clause on 'omp declare variant' directive #pragma omp begin declare variant match(device={kind(host)}) ^ /data/gannet/ripley/R/R-clang-trunk/include/Rinternals.h:967:17: note: expanded from macro 'match' #define match Rf_match ^ In file included from blasctl.c:24: /usr/local/clang13/lib/clang/13.0.0/include/omp.h:486:39: error: expected 'match' clause on 'omp declare variant' directive #pragma omp begin declare variant match(device={kind(nohost)}) ^ /data/gannet/ripley/R/R-clang-trunk/include/Rinternals.h:967:17: note: expanded from macro 'match' #define match Rf_match ^ blasctl.c:176:9: warning: variable 'rcbuf' set but not used [-Wunused-but-set-variable] char *rcbuf=NULL; ^ 1 warning and 2 errors generated. make[1]: *** [/data/gannet/ripley/R/R-clang-trunk/etc/Makeconf:168: blasctl.o] Error 1 make[1]: Leaving directory '/data/gannet/ripley/R/packages/tests-clang13/RhpcBLASctl/src' ERROR: compilation failed for package ‘RhpcBLASctl’ * removing ‘/data/gannet/ripley/R/packages/tests-clang13/Libs/RhpcBLASctl-lib/RhpcBLASctl’ Command exited with non-zero status 1 Time 0:12.93, 1.88 + 1.36