* installing *source* package ‘fastLISA’ ...
** this is package ‘fastLISA’ version ‘1.0.0’
** package ‘fastLISA’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
using C compiler: ‘clang version 22.1.8 (https://github.com/llvm/llvm-project ca7933e47d3a3451d81e72ac174dcb5aa28b59d1)’
make[1]: Entering directory '/data/gannet/ripley/R/packages/tests-clang/fastLISA/src'
clang-22 -std=gnu23 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -isystem /usr/local/clang22/include -I/usr/local/clang/include -fopenmp -fpic -O3 -Wall -pedantic -Wp,-D_FORTIFY_SOURCE=3 -c rng.c -o rng.o
In file included from rng.c:6:
In file included from ./fastLISA.h:9:
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.8-Linux-X64/lib/clang/22/include/omp.h:529:39: error: expected 'match', 'adjust_args', or 'append_args' clause on 'omp declare variant' directive
529 | #pragma omp begin declare variant match(device={kind(host)})
| ^
/data/gannet/ripley/R/R-clang/include/Rinternals.h:996:17: note: expanded from macro 'match'
996 | #define match Rf_match
| ^
In file included from rng.c:6:
In file included from ./fastLISA.h:9:
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.8-Linux-X64/lib/clang/22/include/omp.h:530:23: error: static declaration of 'omp_is_initial_device' follows non-static declaration
530 | static inline int omp_is_initial_device(void) { return 1; }
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.8-Linux-X64/lib/clang/22/include/omp.h:141:40: note: previous declaration is here
141 | extern int __KAI_KMPC_CONVENTION omp_is_initial_device (void);
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.8-Linux-X64/lib/clang/22/include/omp.h:531:5: error: '#pragma omp end declare variant' with no matching '#pragma omp begin declare variant'
531 | #pragma omp end declare variant
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.8-Linux-X64/lib/clang/22/include/omp.h:532:39: error: expected 'match', 'adjust_args', or 'append_args' clause on 'omp declare variant' directive
532 | #pragma omp begin declare variant match(device={kind(nohost)})
| ^
/data/gannet/ripley/R/R-clang/include/Rinternals.h:996:17: note: expanded from macro 'match'
996 | #define match Rf_match
| ^
In file included from rng.c:6:
In file included from ./fastLISA.h:9:
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.8-Linux-X64/lib/clang/22/include/omp.h:533:23: error: static declaration of 'omp_is_initial_device' follows non-static declaration
533 | static inline int omp_is_initial_device(void) { return 0; }
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.8-Linux-X64/lib/clang/22/include/omp.h:141:40: note: previous declaration is here
141 | extern int __KAI_KMPC_CONVENTION omp_is_initial_device (void);
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.8-Linux-X64/lib/clang/22/include/omp.h:534:5: error: '#pragma omp end declare variant' with no matching '#pragma omp begin declare variant'
534 | #pragma omp end declare variant
| ^
6 errors generated.
make[1]: *** [/data/gannet/ripley/R/R-clang/etc/Makeconf:190: rng.o] Error 1
clang-22 -std=gnu23 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -isystem /usr/local/clang22/include -I/usr/local/clang/include -fopenmp -fpic -O3 -Wall -pedantic -Wp,-D_FORTIFY_SOURCE=3 -c workspace.c -o workspace.o
In file included from workspace.c:14:
In file included from ./fastLISA.h:9:
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.8-Linux-X64/lib/clang/22/include/omp.h:529:39: error: expected 'match', 'adjust_args', or 'append_args' clause on 'omp declare variant' directive
529 | #pragma omp begin declare variant match(device={kind(host)})
| ^
/data/gannet/ripley/R/R-clang/include/Rinternals.h:996:17: note: expanded from macro 'match'
996 | #define match Rf_match
| ^
In file included from workspace.c:14:
In file included from ./fastLISA.h:9:
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.8-Linux-X64/lib/clang/22/include/omp.h:530:23: error: static declaration of 'omp_is_initial_device' follows non-static declaration
530 | static inline int omp_is_initial_device(void) { return 1; }
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.8-Linux-X64/lib/clang/22/include/omp.h:141:40: note: previous declaration is here
141 | extern int __KAI_KMPC_CONVENTION omp_is_initial_device (void);
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.8-Linux-X64/lib/clang/22/include/omp.h:531:5: error: '#pragma omp end declare variant' with no matching '#pragma omp begin declare variant'
531 | #pragma omp end declare variant
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.8-Linux-X64/lib/clang/22/include/omp.h:532:39: error: expected 'match', 'adjust_args', or 'append_args' clause on 'omp declare variant' directive
532 | #pragma omp begin declare variant match(device={kind(nohost)})
| ^
/data/gannet/ripley/R/R-clang/include/Rinternals.h:996:17: note: expanded from macro 'match'
996 | #define match Rf_match
| ^
In file included from workspace.c:14:
In file included from ./fastLISA.h:9:
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.8-Linux-X64/lib/clang/22/include/omp.h:533:23: error: static declaration of 'omp_is_initial_device' follows non-static declaration
533 | static inline int omp_is_initial_device(void) { return 0; }
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.8-Linux-X64/lib/clang/22/include/omp.h:141:40: note: previous declaration is here
141 | extern int __KAI_KMPC_CONVENTION omp_is_initial_device (void);
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.8-Linux-X64/lib/clang/22/include/omp.h:534:5: error: '#pragma omp end declare variant' with no matching '#pragma omp begin declare variant'
534 | #pragma omp end declare variant
| ^
6 errors generated.
make[1]: *** [/data/gannet/ripley/R/R-clang/etc/Makeconf:190: workspace.o] Error 1
clang-22 -std=gnu23 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -isystem /usr/local/clang22/include -I/usr/local/clang/include -fopenmp -fpic -O3 -Wall -pedantic -Wp,-D_FORTIFY_SOURCE=3 -c localbimoran.c -o localbimoran.o
In file included from localbimoran.c:12:
In file included from ./fastLISA.h:9:
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.8-Linux-X64/lib/clang/22/include/omp.h:529:39: error: expected 'match', 'adjust_args', or 'append_args' clause on 'omp declare variant' directive
529 | #pragma omp begin declare variant match(device={kind(host)})
| ^
/data/gannet/ripley/R/R-clang/include/Rinternals.h:996:17: note: expanded from macro 'match'
996 | #define match Rf_match
| ^
In file included from localbimoran.c:12:
In file included from ./fastLISA.h:9:
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.8-Linux-X64/lib/clang/22/include/omp.h:530:23: error: static declaration of 'omp_is_initial_device' follows non-static declaration
530 | static inline int omp_is_initial_device(void) { return 1; }
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.8-Linux-X64/lib/clang/22/include/omp.h:141:40: note: previous declaration is here
141 | extern int __KAI_KMPC_CONVENTION omp_is_initial_device (void);
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.8-Linux-X64/lib/clang/22/include/omp.h:531:5: error: '#pragma omp end declare variant' with no matching '#pragma omp begin declare variant'
531 | #pragma omp end declare variant
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.8-Linux-X64/lib/clang/22/include/omp.h:532:39: error: expected 'match', 'adjust_args', or 'append_args' clause on 'omp declare variant' directive
532 | #pragma omp begin declare variant match(device={kind(nohost)})
| ^
/data/gannet/ripley/R/R-clang/include/Rinternals.h:996:17: note: expanded from macro 'match'
996 | #define match Rf_match
| ^
In file included from localbimoran.c:12:
In file included from ./fastLISA.h:9:
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.8-Linux-X64/lib/clang/22/include/omp.h:533:23: error: static declaration of 'omp_is_initial_device' follows non-static declaration
533 | static inline int omp_is_initial_device(void) { return 0; }
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.8-Linux-X64/lib/clang/22/include/omp.h:141:40: note: previous declaration is here
141 | extern int __KAI_KMPC_CONVENTION omp_is_initial_device (void);
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.8-Linux-X64/lib/clang/22/include/omp.h:534:5: error: '#pragma omp end declare variant' with no matching '#pragma omp begin declare variant'
534 | #pragma omp end declare variant
| ^
6 errors generated.
make[1]: *** [/data/gannet/ripley/R/R-clang/etc/Makeconf:190: localbimoran.o] Error 1
clang-22 -std=gnu23 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -isystem /usr/local/clang22/include -I/usr/local/clang/include -fopenmp -fpic -O3 -Wall -pedantic -Wp,-D_FORTIFY_SOURCE=3 -c localgeary.c -o localgeary.o
In file included from localgeary.c:12:
In file included from ./fastLISA.h:9:
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.8-Linux-X64/lib/clang/22/include/omp.h:529:39: error: expected 'match', 'adjust_args', or 'append_args' clause on 'omp declare variant' directive
529 | #pragma omp begin declare variant match(device={kind(host)})
| ^
/data/gannet/ripley/R/R-clang/include/Rinternals.h:996:17: note: expanded from macro 'match'
996 | #define match Rf_match
| ^
In file included from localgeary.c:12:
In file included from ./fastLISA.h:9:
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.8-Linux-X64/lib/clang/22/include/omp.h:530:23: error: static declaration of 'omp_is_initial_device' follows non-static declaration
530 | static inline int omp_is_initial_device(void) { return 1; }
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.8-Linux-X64/lib/clang/22/include/omp.h:141:40: note: previous declaration is here
141 | extern int __KAI_KMPC_CONVENTION omp_is_initial_device (void);
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.8-Linux-X64/lib/clang/22/include/omp.h:531:5: error: '#pragma omp end declare variant' with no matching '#pragma omp begin declare variant'
531 | #pragma omp end declare variant
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.8-Linux-X64/lib/clang/22/include/omp.h:532:39: error: expected 'match', 'adjust_args', or 'append_args' clause on 'omp declare variant' directive
532 | #pragma omp begin declare variant match(device={kind(nohost)})
| ^
/data/gannet/ripley/R/R-clang/include/Rinternals.h:996:17: note: expanded from macro 'match'
996 | #define match Rf_match
| ^
In file included from localgeary.c:12:
In file included from ./fastLISA.h:9:
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.8-Linux-X64/lib/clang/22/include/omp.h:533:23: error: static declaration of 'omp_is_initial_device' follows non-static declaration
533 | static inline int omp_is_initial_device(void) { return 0; }
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.8-Linux-X64/lib/clang/22/include/omp.h:141:40: note: previous declaration is here
141 | extern int __KAI_KMPC_CONVENTION omp_is_initial_device (void);
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.8-Linux-X64/lib/clang/22/include/omp.h:534:5: error: '#pragma omp end declare variant' with no matching '#pragma omp begin declare variant'
534 | #pragma omp end declare variant
| ^
6 errors generated.
make[1]: *** [/data/gannet/ripley/R/R-clang/etc/Makeconf:190: localgeary.o] Error 1
clang-22 -std=gnu23 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -isystem /usr/local/clang22/include -I/usr/local/clang/include -fopenmp -fpic -O3 -Wall -pedantic -Wp,-D_FORTIFY_SOURCE=3 -c localmultigeary.c -o localmultigeary.o
In file included from localmultigeary.c:12:
In file included from ./fastLISA.h:9:
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.8-Linux-X64/lib/clang/22/include/omp.h:529:39: error: expected 'match', 'adjust_args', or 'append_args' clause on 'omp declare variant' directive
529 | #pragma omp begin declare variant match(device={kind(host)})
| ^
/data/gannet/ripley/R/R-clang/include/Rinternals.h:996:17: note: expanded from macro 'match'
996 | #define match Rf_match
| ^
In file included from localmultigeary.c:12:
In file included from ./fastLISA.h:9:
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.8-Linux-X64/lib/clang/22/include/omp.h:530:23: error: static declaration of 'omp_is_initial_device' follows non-static declaration
530 | static inline int omp_is_initial_device(void) { return 1; }
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.8-Linux-X64/lib/clang/22/include/omp.h:141:40: note: previous declaration is here
141 | extern int __KAI_KMPC_CONVENTION omp_is_initial_device (void);
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.8-Linux-X64/lib/clang/22/include/omp.h:531:5: error: '#pragma omp end declare variant' with no matching '#pragma omp begin declare variant'
531 | #pragma omp end declare variant
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.8-Linux-X64/lib/clang/22/include/omp.h:532:39: error: expected 'match', 'adjust_args', or 'append_args' clause on 'omp declare variant' directive
532 | #pragma omp begin declare variant match(device={kind(nohost)})
| ^
/data/gannet/ripley/R/R-clang/include/Rinternals.h:996:17: note: expanded from macro 'match'
996 | #define match Rf_match
| ^
In file included from localmultigeary.c:12:
In file included from ./fastLISA.h:9:
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.8-Linux-X64/lib/clang/22/include/omp.h:533:23: error: static declaration of 'omp_is_initial_device' follows non-static declaration
533 | static inline int omp_is_initial_device(void) { return 0; }
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.8-Linux-X64/lib/clang/22/include/omp.h:141:40: note: previous declaration is here
141 | extern int __KAI_KMPC_CONVENTION omp_is_initial_device (void);
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.8-Linux-X64/lib/clang/22/include/omp.h:534:5: error: '#pragma omp end declare variant' with no matching '#pragma omp begin declare variant'
534 | #pragma omp end declare variant
| ^
6 errors generated.
make[1]: *** [/data/gannet/ripley/R/R-clang/etc/Makeconf:190: localmultigeary.o] Error 1
clang-22 -std=gnu23 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -isystem /usr/local/clang22/include -I/usr/local/clang/include -fopenmp -fpic -O3 -Wall -pedantic -Wp,-D_FORTIFY_SOURCE=3 -c localg.c -o localg.o
In file included from localg.c:12:
In file included from ./fastLISA.h:9:
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.8-Linux-X64/lib/clang/22/include/omp.h:529:39: error: expected 'match', 'adjust_args', or 'append_args' clause on 'omp declare variant' directive
529 | #pragma omp begin declare variant match(device={kind(host)})
| ^
/data/gannet/ripley/R/R-clang/include/Rinternals.h:996:17: note: expanded from macro 'match'
996 | #define match Rf_match
| ^
In file included from localg.c:12:
In file included from ./fastLISA.h:9:
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.8-Linux-X64/lib/clang/22/include/omp.h:530:23: error: static declaration of 'omp_is_initial_device' follows non-static declaration
530 | static inline int omp_is_initial_device(void) { return 1; }
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.8-Linux-X64/lib/clang/22/include/omp.h:141:40: note: previous declaration is here
141 | extern int __KAI_KMPC_CONVENTION omp_is_initial_device (void);
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.8-Linux-X64/lib/clang/22/include/omp.h:531:5: error: '#pragma omp end declare variant' with no matching '#pragma omp begin declare variant'
531 | #pragma omp end declare variant
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.8-Linux-X64/lib/clang/22/include/omp.h:532:39: error: expected 'match', 'adjust_args', or 'append_args' clause on 'omp declare variant' directive
532 | #pragma omp begin declare variant match(device={kind(nohost)})
| ^
/data/gannet/ripley/R/R-clang/include/Rinternals.h:996:17: note: expanded from macro 'match'
996 | #define match Rf_match
| ^
In file included from localg.c:12:
In file included from ./fastLISA.h:9:
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.8-Linux-X64/lib/clang/22/include/omp.h:533:23: error: static declaration of 'omp_is_initial_device' follows non-static declaration
533 | static inline int omp_is_initial_device(void) { return 0; }
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.8-Linux-X64/lib/clang/22/include/omp.h:141:40: note: previous declaration is here
141 | extern int __KAI_KMPC_CONVENTION omp_is_initial_device (void);
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.8-Linux-X64/lib/clang/22/include/omp.h:534:5: error: '#pragma omp end declare variant' with no matching '#pragma omp begin declare variant'
534 | #pragma omp end declare variant
| ^
6 errors generated.
make[1]: *** [/data/gannet/ripley/R/R-clang/etc/Makeconf:190: localg.o] Error 1
clang-22 -std=gnu23 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -isystem /usr/local/clang22/include -I/usr/local/clang/include -fopenmp -fpic -O3 -Wall -pedantic -Wp,-D_FORTIFY_SOURCE=3 -c localgstar.c -o localgstar.o
In file included from localgstar.c:12:
In file included from ./fastLISA.h:9:
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.8-Linux-X64/lib/clang/22/include/omp.h:529:39: error: expected 'match', 'adjust_args', or 'append_args' clause on 'omp declare variant' directive
529 | #pragma omp begin declare variant match(device={kind(host)})
| ^
/data/gannet/ripley/R/R-clang/include/Rinternals.h:996:17: note: expanded from macro 'match'
996 | #define match Rf_match
| ^
In file included from localgstar.c:12:
In file included from ./fastLISA.h:9:
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.8-Linux-X64/lib/clang/22/include/omp.h:530:23: error: static declaration of 'omp_is_initial_device' follows non-static declaration
530 | static inline int omp_is_initial_device(void) { return 1; }
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.8-Linux-X64/lib/clang/22/include/omp.h:141:40: note: previous declaration is here
141 | extern int __KAI_KMPC_CONVENTION omp_is_initial_device (void);
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.8-Linux-X64/lib/clang/22/include/omp.h:531:5: error: '#pragma omp end declare variant' with no matching '#pragma omp begin declare variant'
531 | #pragma omp end declare variant
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.8-Linux-X64/lib/clang/22/include/omp.h:532:39: error: expected 'match', 'adjust_args', or 'append_args' clause on 'omp declare variant' directive
532 | #pragma omp begin declare variant match(device={kind(nohost)})
| ^
/data/gannet/ripley/R/R-clang/include/Rinternals.h:996:17: note: expanded from macro 'match'
996 | #define match Rf_match
| ^
In file included from localgstar.c:12:
In file included from ./fastLISA.h:9:
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.8-Linux-X64/lib/clang/22/include/omp.h:533:23: error: static declaration of 'omp_is_initial_device' follows non-static declaration
533 | static inline int omp_is_initial_device(void) { return 0; }
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.8-Linux-X64/lib/clang/22/include/omp.h:141:40: note: previous declaration is here
141 | extern int __KAI_KMPC_CONVENTION omp_is_initial_device (void);
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.8-Linux-X64/lib/clang/22/include/omp.h:534:5: error: '#pragma omp end declare variant' with no matching '#pragma omp begin declare variant'
534 | #pragma omp end declare variant
| ^
6 errors generated.
make[1]: *** [/data/gannet/ripley/R/R-clang/etc/Makeconf:190: localgstar.o] Error 1
clang-22 -std=gnu23 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -isystem /usr/local/clang22/include -I/usr/local/clang/include -fopenmp -fpic -O3 -Wall -pedantic -Wp,-D_FORTIFY_SOURCE=3 -c R_export.c -o R_export.o
In file included from R_export.c:17:
In file included from ./fastLISA.h:9:
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.8-Linux-X64/lib/clang/22/include/omp.h:529:39: error: expected 'match', 'adjust_args', or 'append_args' clause on 'omp declare variant' directive
529 | #pragma omp begin declare variant match(device={kind(host)})
| ^
/data/gannet/ripley/R/R-clang/include/Rinternals.h:996:17: note: expanded from macro 'match'
996 | #define match Rf_match
| ^
In file included from R_export.c:17:
In file included from ./fastLISA.h:9:
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.8-Linux-X64/lib/clang/22/include/omp.h:530:23: error: static declaration of 'omp_is_initial_device' follows non-static declaration
530 | static inline int omp_is_initial_device(void) { return 1; }
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.8-Linux-X64/lib/clang/22/include/omp.h:141:40: note: previous declaration is here
141 | extern int __KAI_KMPC_CONVENTION omp_is_initial_device (void);
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.8-Linux-X64/lib/clang/22/include/omp.h:531:5: error: '#pragma omp end declare variant' with no matching '#pragma omp begin declare variant'
531 | #pragma omp end declare variant
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.8-Linux-X64/lib/clang/22/include/omp.h:532:39: error: expected 'match', 'adjust_args', or 'append_args' clause on 'omp declare variant' directive
532 | #pragma omp begin declare variant match(device={kind(nohost)})
| ^
/data/gannet/ripley/R/R-clang/include/Rinternals.h:996:17: note: expanded from macro 'match'
996 | #define match Rf_match
| ^
In file included from R_export.c:17:
In file included from ./fastLISA.h:9:
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.8-Linux-X64/lib/clang/22/include/omp.h:533:23: error: static declaration of 'omp_is_initial_device' follows non-static declaration
533 | static inline int omp_is_initial_device(void) { return 0; }
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.8-Linux-X64/lib/clang/22/include/omp.h:141:40: note: previous declaration is here
141 | extern int __KAI_KMPC_CONVENTION omp_is_initial_device (void);
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.8-Linux-X64/lib/clang/22/include/omp.h:534:5: error: '#pragma omp end declare variant' with no matching '#pragma omp begin declare variant'
534 | #pragma omp end declare variant
| ^
6 errors generated.
make[1]: *** [/data/gannet/ripley/R/R-clang/etc/Makeconf:190: R_export.o] Error 1
clang-22 -std=gnu23 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -isystem /usr/local/clang22/include -I/usr/local/clang/include -fopenmp -fpic -O3 -Wall -pedantic -Wp,-D_FORTIFY_SOURCE=3 -c init.c -o init.o
In file included from init.c:12:
In file included from ./fastLISA.h:9:
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.8-Linux-X64/lib/clang/22/include/omp.h:529:39: error: expected 'match', 'adjust_args', or 'append_args' clause on 'omp declare variant' directive
529 | #pragma omp begin declare variant match(device={kind(host)})
| ^
/data/gannet/ripley/R/R-clang/include/Rinternals.h:996:17: note: expanded from macro 'match'
996 | #define match Rf_match
| ^
In file included from init.c:12:
In file included from ./fastLISA.h:9:
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.8-Linux-X64/lib/clang/22/include/omp.h:530:23: error: static declaration of 'omp_is_initial_device' follows non-static declaration
530 | static inline int omp_is_initial_device(void) { return 1; }
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.8-Linux-X64/lib/clang/22/include/omp.h:141:40: note: previous declaration is here
141 | extern int __KAI_KMPC_CONVENTION omp_is_initial_device (void);
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.8-Linux-X64/lib/clang/22/include/omp.h:531:5: error: '#pragma omp end declare variant' with no matching '#pragma omp begin declare variant'
531 | #pragma omp end declare variant
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.8-Linux-X64/lib/clang/22/include/omp.h:532:39: error: expected 'match', 'adjust_args', or 'append_args' clause on 'omp declare variant' directive
532 | #pragma omp begin declare variant match(device={kind(nohost)})
| ^
/data/gannet/ripley/R/R-clang/include/Rinternals.h:996:17: note: expanded from macro 'match'
996 | #define match Rf_match
| ^
In file included from init.c:12:
In file included from ./fastLISA.h:9:
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.8-Linux-X64/lib/clang/22/include/omp.h:533:23: error: static declaration of 'omp_is_initial_device' follows non-static declaration
533 | static inline int omp_is_initial_device(void) { return 0; }
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.8-Linux-X64/lib/clang/22/include/omp.h:141:40: note: previous declaration is here
141 | extern int __KAI_KMPC_CONVENTION omp_is_initial_device (void);
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.8-Linux-X64/lib/clang/22/include/omp.h:534:5: error: '#pragma omp end declare variant' with no matching '#pragma omp begin declare variant'
534 | #pragma omp end declare variant
| ^
6 errors generated.
make[1]: *** [/data/gannet/ripley/R/R-clang/etc/Makeconf:190: init.o] Error 1
make[1]: Target 'all' not remade because of errors.
make[1]: Leaving directory '/data/gannet/ripley/R/packages/tests-clang/fastLISA/src'
ERROR: compilation failed for package ‘fastLISA’
* removing ‘/data/gannet/ripley/R/packages/tests-clang/fastLISA.Rcheck/fastLISA’