* installing *source* package ‘ggmlR’ ... ** this is package ‘ggmlR’ version ‘0.5.0’ ** using staged installation Checking OpenMP support... OpenMP not available, using pthreads fallback Generating src/Makevars... Configuration complete. Vulkan: disabled (use --with-vulkan to enable) ** libs specified C++17 using C compiler: ‘Debian clang version 21.1.8 (1+b1)’ using C++ compiler: ‘Debian clang version 21.1.8 (1+b1)’ using C++17 clang-21 -std=gnu23 -I"/home/hornik/tmp/R-d-clang-21/include" -DNDEBUG -I. -Iggml-cpu -Iggml-cpu/arch/x86 -DGGML_VERSION='"0.9.5"' -DGGML_COMMIT='"ggmlR"' -DGGML_USE_CPU -D_GNU_SOURCE -DGGML_R_PACKAGE -include r_ggml_compat.h -DR_GGML_IO_IMPL -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c r_ggml_io.c -o r_ggml_io.o clang-21 -std=gnu23 -I"/home/hornik/tmp/R-d-clang-21/include" -DNDEBUG -I. -Iggml-cpu -Iggml-cpu/arch/x86 -DGGML_VERSION='"0.9.5"' -DGGML_COMMIT='"ggmlR"' -DGGML_USE_CPU -D_GNU_SOURCE -DGGML_R_PACKAGE -include r_ggml_compat.h -DR_GGML_IO_IMPL -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c r_interface.c -o r_interface.o clang-21 -std=gnu23 -I"/home/hornik/tmp/R-d-clang-21/include" -DNDEBUG -I. -Iggml-cpu -Iggml-cpu/arch/x86 -DGGML_VERSION='"0.9.5"' -DGGML_COMMIT='"ggmlR"' -DGGML_USE_CPU -D_GNU_SOURCE -DGGML_R_PACKAGE -include r_ggml_compat.h -DR_GGML_IO_IMPL -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c r_interface_graph.c -o r_interface_graph.o In file included from r_interface_graph.c:8: ./ggml-impl.h:88:13: warning: unused function 'ggml_op_is_empty' [-Wunused-function] 88 | static bool ggml_op_is_empty(enum ggml_op op) { | ^~~~~~~~~~~~~~~~ ./ggml-impl.h:141:13: warning: unused function 'ggml_set_op_params' [-Wunused-function] 141 | static void ggml_set_op_params(struct ggml_tensor * tensor, const void * params, size_t params_size) { | ^~~~~~~~~~~~~~~~~~ ./ggml-impl.h:147:16: warning: unused function 'ggml_get_op_params_i32' [-Wunused-function] 147 | static int32_t ggml_get_op_params_i32(const struct ggml_tensor * tensor, uint32_t i) { | ^~~~~~~~~~~~~~~~~~~~~~ ./ggml-impl.h:152:14: warning: unused function 'ggml_get_op_params_f32' [-Wunused-function] 152 | static float ggml_get_op_params_f32(const struct ggml_tensor * tensor, uint32_t i) { | ^~~~~~~~~~~~~~~~~~~~~~ ./ggml-impl.h:157:13: warning: unused function 'ggml_set_op_params_i32' [-Wunused-function] 157 | static void ggml_set_op_params_i32(struct ggml_tensor * tensor, uint32_t i, int32_t value) { | ^~~~~~~~~~~~~~~~~~~~~~ ./ggml-impl.h:162:13: warning: unused function 'ggml_set_op_params_f32' [-Wunused-function] 162 | static void ggml_set_op_params_f32(struct ggml_tensor * tensor, uint32_t i, float value) { | ^~~~~~~~~~~~~~~~~~~~~~ ./ggml-impl.h:199:15: warning: unused function 'ggml_bitset_size' [-Wunused-function] 199 | static size_t ggml_bitset_size(size_t n) { | ^~~~~~~~~~~~~~~~ ./ggml-impl.h:268:13: warning: unused function 'ggml_hash_contains' [-Wunused-function] 268 | static bool ggml_hash_contains(const struct ggml_hash_set * hash_set, struct ggml_tensor * key) { | ^~~~~~~~~~~~~~~~~~ ./ggml-impl.h:273:15: warning: unused function 'ggml_hash_insert' [-Wunused-function] 273 | static size_t ggml_hash_insert(struct ggml_hash_set * hash_set, struct ggml_tensor * key) { | ^~~~~~~~~~~~~~~~ ./ggml-impl.h:294:15: warning: unused function 'ggml_hash_find_or_insert' [-Wunused-function] 294 | static size_t ggml_hash_find_or_insert(struct ggml_hash_set * hash_set, struct ggml_tensor * key) { | ^~~~~~~~~~~~~~~~~~~~~~~~ 10 warnings generated. clang-21 -std=gnu23 -I"/home/hornik/tmp/R-d-clang-21/include" -DNDEBUG -I. -Iggml-cpu -Iggml-cpu/arch/x86 -DGGML_VERSION='"0.9.5"' -DGGML_COMMIT='"ggmlR"' -DGGML_USE_CPU -D_GNU_SOURCE -DGGML_R_PACKAGE -include r_ggml_compat.h -DR_GGML_IO_IMPL -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c r_interface_vulkan.c -o r_interface_vulkan.o clang-21 -std=gnu23 -I"/home/hornik/tmp/R-d-clang-21/include" -DNDEBUG -I. -Iggml-cpu -Iggml-cpu/arch/x86 -DGGML_VERSION='"0.9.5"' -DGGML_COMMIT='"ggmlR"' -DGGML_USE_CPU -D_GNU_SOURCE -DGGML_R_PACKAGE -include r_ggml_compat.h -DR_GGML_IO_IMPL -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c r_interface_scheduler.c -o r_interface_scheduler.o clang-21 -std=gnu23 -I"/home/hornik/tmp/R-d-clang-21/include" -DNDEBUG -I. -Iggml-cpu -Iggml-cpu/arch/x86 -DGGML_VERSION='"0.9.5"' -DGGML_COMMIT='"ggmlR"' -DGGML_USE_CPU -D_GNU_SOURCE -DGGML_R_PACKAGE -include r_ggml_compat.h -DR_GGML_IO_IMPL -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c r_interface_opt.c -o r_interface_opt.o clang-21 -std=gnu23 -I"/home/hornik/tmp/R-d-clang-21/include" -DNDEBUG -I. -Iggml-cpu -Iggml-cpu/arch/x86 -DGGML_VERSION='"0.9.5"' -DGGML_COMMIT='"ggmlR"' -DGGML_USE_CPU -D_GNU_SOURCE -DGGML_R_PACKAGE -include r_ggml_compat.h -DR_GGML_IO_IMPL -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c r_interface_backend.c -o r_interface_backend.o clang-21 -std=gnu23 -I"/home/hornik/tmp/R-d-clang-21/include" -DNDEBUG -I. -Iggml-cpu -Iggml-cpu/arch/x86 -DGGML_VERSION='"0.9.5"' -DGGML_COMMIT='"ggmlR"' -DGGML_USE_CPU -D_GNU_SOURCE -DGGML_R_PACKAGE -include r_ggml_compat.h -DR_GGML_IO_IMPL -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c r_interface_quants.c -o r_interface_quants.o clang-21 -std=gnu23 -I"/home/hornik/tmp/R-d-clang-21/include" -DNDEBUG -I. -Iggml-cpu -Iggml-cpu/arch/x86 -DGGML_VERSION='"0.9.5"' -DGGML_COMMIT='"ggmlR"' -DGGML_USE_CPU -D_GNU_SOURCE -DGGML_R_PACKAGE -include r_ggml_compat.h -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c ggml.c -o ggml.o In file included from ggml.c:5: ./ggml-impl.h:88:13: warning: unused function 'ggml_op_is_empty' [-Wunused-function] 88 | static bool ggml_op_is_empty(enum ggml_op op) { | ^~~~~~~~~~~~~~~~ ./ggml-impl.h:152:14: warning: unused function 'ggml_get_op_params_f32' [-Wunused-function] 152 | static float ggml_get_op_params_f32(const struct ggml_tensor * tensor, uint32_t i) { | ^~~~~~~~~~~~~~~~~~~~~~ ./ggml-impl.h:268:13: warning: unused function 'ggml_hash_contains' [-Wunused-function] 268 | static bool ggml_hash_contains(const struct ggml_hash_set * hash_set, struct ggml_tensor * key) { | ^~~~~~~~~~~~~~~~~~ ./ggml-impl.h:294:15: warning: unused function 'ggml_hash_find_or_insert' [-Wunused-function] 294 | static size_t ggml_hash_find_or_insert(struct ggml_hash_set * hash_set, struct ggml_tensor * key) { | ^~~~~~~~~~~~~~~~~~~~~~~~ ggml.c:6147:26: warning: unused function 'ggml_new_hash_map' [-Wunused-function] 6147 | static struct hash_map * ggml_new_hash_map(size_t size) { | ^~~~~~~~~~~~~~~~~ ggml.c:6154:13: warning: unused function 'ggml_hash_map_free' [-Wunused-function] 6154 | static void ggml_hash_map_free(struct hash_map * map) { | ^~~~~~~~~~~~~~~~~~ 6 warnings generated. clang-21 -std=gnu23 -I"/home/hornik/tmp/R-d-clang-21/include" -DNDEBUG -I. -Iggml-cpu -Iggml-cpu/arch/x86 -DGGML_VERSION='"0.9.5"' -DGGML_COMMIT='"ggmlR"' -DGGML_USE_CPU -D_GNU_SOURCE -DGGML_R_PACKAGE -include r_ggml_compat.h -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c ggml-alloc.c -o ggml-alloc.o In file included from ggml-alloc.c:4: ./ggml-impl.h:88:13: warning: unused function 'ggml_op_is_empty' [-Wunused-function] 88 | static bool ggml_op_is_empty(enum ggml_op op) { | ^~~~~~~~~~~~~~~~ ./ggml-impl.h:141:13: warning: unused function 'ggml_set_op_params' [-Wunused-function] 141 | static void ggml_set_op_params(struct ggml_tensor * tensor, const void * params, size_t params_size) { | ^~~~~~~~~~~~~~~~~~ ./ggml-impl.h:147:16: warning: unused function 'ggml_get_op_params_i32' [-Wunused-function] 147 | static int32_t ggml_get_op_params_i32(const struct ggml_tensor * tensor, uint32_t i) { | ^~~~~~~~~~~~~~~~~~~~~~ ./ggml-impl.h:152:14: warning: unused function 'ggml_get_op_params_f32' [-Wunused-function] 152 | static float ggml_get_op_params_f32(const struct ggml_tensor * tensor, uint32_t i) { | ^~~~~~~~~~~~~~~~~~~~~~ ./ggml-impl.h:157:13: warning: unused function 'ggml_set_op_params_i32' [-Wunused-function] 157 | static void ggml_set_op_params_i32(struct ggml_tensor * tensor, uint32_t i, int32_t value) { | ^~~~~~~~~~~~~~~~~~~~~~ ./ggml-impl.h:162:13: warning: unused function 'ggml_set_op_params_f32' [-Wunused-function] 162 | static void ggml_set_op_params_f32(struct ggml_tensor * tensor, uint32_t i, float value) { | ^~~~~~~~~~~~~~~~~~~~~~ ./ggml-impl.h:199:15: warning: unused function 'ggml_bitset_size' [-Wunused-function] 199 | static size_t ggml_bitset_size(size_t n) { | ^~~~~~~~~~~~~~~~ ./ggml-impl.h:268:13: warning: unused function 'ggml_hash_contains' [-Wunused-function] 268 | static bool ggml_hash_contains(const struct ggml_hash_set * hash_set, struct ggml_tensor * key) { | ^~~~~~~~~~~~~~~~~~ ./ggml-impl.h:273:15: warning: unused function 'ggml_hash_insert' [-Wunused-function] 273 | static size_t ggml_hash_insert(struct ggml_hash_set * hash_set, struct ggml_tensor * key) { | ^~~~~~~~~~~~~~~~ ggml-alloc.c:109:13: warning: unused function 'ggml_buffer_address_less' [-Wunused-function] 109 | static bool ggml_buffer_address_less(struct buffer_address a, struct buffer_address b) { | ^~~~~~~~~~~~~~~~~~~~~~~~ 10 warnings generated. clang-21 -std=gnu23 -I"/home/hornik/tmp/R-d-clang-21/include" -DNDEBUG -I. -Iggml-cpu -Iggml-cpu/arch/x86 -DGGML_VERSION='"0.9.5"' -DGGML_COMMIT='"ggmlR"' -DGGML_USE_CPU -D_GNU_SOURCE -DGGML_R_PACKAGE -include r_ggml_compat.h -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c ggml-quants.c -o ggml-quants.o In file included from ggml-quants.c:5: ./ggml-impl.h:88:13: warning: unused function 'ggml_op_is_empty' [-Wunused-function] 88 | static bool ggml_op_is_empty(enum ggml_op op) { | ^~~~~~~~~~~~~~~~ ./ggml-impl.h:141:13: warning: unused function 'ggml_set_op_params' [-Wunused-function] 141 | static void ggml_set_op_params(struct ggml_tensor * tensor, const void * params, size_t params_size) { | ^~~~~~~~~~~~~~~~~~ ./ggml-impl.h:147:16: warning: unused function 'ggml_get_op_params_i32' [-Wunused-function] 147 | static int32_t ggml_get_op_params_i32(const struct ggml_tensor * tensor, uint32_t i) { | ^~~~~~~~~~~~~~~~~~~~~~ ./ggml-impl.h:152:14: warning: unused function 'ggml_get_op_params_f32' [-Wunused-function] 152 | static float ggml_get_op_params_f32(const struct ggml_tensor * tensor, uint32_t i) { | ^~~~~~~~~~~~~~~~~~~~~~ ./ggml-impl.h:157:13: warning: unused function 'ggml_set_op_params_i32' [-Wunused-function] 157 | static void ggml_set_op_params_i32(struct ggml_tensor * tensor, uint32_t i, int32_t value) { | ^~~~~~~~~~~~~~~~~~~~~~ ./ggml-impl.h:162:13: warning: unused function 'ggml_set_op_params_f32' [-Wunused-function] 162 | static void ggml_set_op_params_f32(struct ggml_tensor * tensor, uint32_t i, float value) { | ^~~~~~~~~~~~~~~~~~~~~~ ./ggml-impl.h:199:15: warning: unused function 'ggml_bitset_size' [-Wunused-function] 199 | static size_t ggml_bitset_size(size_t n) { | ^~~~~~~~~~~~~~~~ ./ggml-impl.h:268:13: warning: unused function 'ggml_hash_contains' [-Wunused-function] 268 | static bool ggml_hash_contains(const struct ggml_hash_set * hash_set, struct ggml_tensor * key) { | ^~~~~~~~~~~~~~~~~~ ./ggml-impl.h:273:15: warning: unused function 'ggml_hash_insert' [-Wunused-function] 273 | static size_t ggml_hash_insert(struct ggml_hash_set * hash_set, struct ggml_tensor * key) { | ^~~~~~~~~~~~~~~~ ./ggml-impl.h:294:15: warning: unused function 'ggml_hash_find_or_insert' [-Wunused-function] 294 | static size_t ggml_hash_find_or_insert(struct ggml_hash_set * hash_set, struct ggml_tensor * key) { | ^~~~~~~~~~~~~~~~~~~~~~~~ ggml-quants.c:579:14: warning: unused function 'make_qkx1_quants' [-Wunused-function] 579 | static float make_qkx1_quants(int n, int nmax, const float * GGML_RESTRICT x, uint8_t * GGML_RESTRICT L, float * GGML_RESTRICT the_min, | ^~~~~~~~~~~~~~~~ ggml-quants.c:4068:12: warning: unused function 'iq1_find_best_neighbour' [-Wunused-function] 4068 | static int iq1_find_best_neighbour(const uint16_t * GGML_RESTRICT neighbours, const uint64_t * GGML_RESTRICT grid, | ^~~~~~~~~~~~~~~~~~~~~~~ 12 warnings generated. clang++-21 -std=gnu++17 -I"/home/hornik/tmp/R-d-clang-21/include" -DNDEBUG -I. -Iggml-cpu -Iggml-cpu/arch/x86 -DGGML_VERSION='"0.9.5"' -DGGML_COMMIT='"ggmlR"' -DGGML_USE_CPU -D_GNU_SOURCE -DGGML_R_PACKAGE -include r_ggml_compat.h -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c ggml-opt.cpp -o ggml-opt.o ggml-opt.cpp:933:13: warning: null passed to a callee that requires a non-null argument [-Wnonnull] 933 | fprintf(stderr, "%s[", train ? "train: " : "val: "); | ^~~~~~ ./r_ggml_compat.h:140:16: note: expanded from macro 'stderr' 140 | #define stderr ((FILE *) 0) | ^~~~~~~~~~~~ ggml-opt.cpp:940:21: warning: null passed to a callee that requires a non-null argument [-Wnonnull] 940 | fprintf(stderr, "\u2588"); // full block | ^~~~~~ ./r_ggml_compat.h:140:16: note: expanded from macro 'stderr' 140 | #define stderr ((FILE *) 0) | ^~~~~~~~~~~~ ggml-opt.cpp:942:21: warning: null passed to a callee that requires a non-null argument [-Wnonnull] 942 | fprintf(stderr, "\u2589"); // 7/8 filled | ^~~~~~ ./r_ggml_compat.h:140:16: note: expanded from macro 'stderr' 140 | #define stderr ((FILE *) 0) | ^~~~~~~~~~~~ ggml-opt.cpp:944:21: warning: null passed to a callee that requires a non-null argument [-Wnonnull] 944 | fprintf(stderr, "\u258A"); // 6/8 filled | ^~~~~~ ./r_ggml_compat.h:140:16: note: expanded from macro 'stderr' 140 | #define stderr ((FILE *) 0) | ^~~~~~~~~~~~ ggml-opt.cpp:946:21: warning: null passed to a callee that requires a non-null argument [-Wnonnull] 946 | fprintf(stderr, "\u258B"); // 5/8 filled | ^~~~~~ ./r_ggml_compat.h:140:16: note: expanded from macro 'stderr' 140 | #define stderr ((FILE *) 0) | ^~~~~~~~~~~~ ggml-opt.cpp:948:21: warning: null passed to a callee that requires a non-null argument [-Wnonnull] 948 | fprintf(stderr, "\u258C"); // 4/8 filled | ^~~~~~ ./r_ggml_compat.h:140:16: note: expanded from macro 'stderr' 140 | #define stderr ((FILE *) 0) | ^~~~~~~~~~~~ ggml-opt.cpp:950:21: warning: null passed to a callee that requires a non-null argument [-Wnonnull] 950 | fprintf(stderr, "\u258D"); // 3/8 filled | ^~~~~~ ./r_ggml_compat.h:140:16: note: expanded from macro 'stderr' 140 | #define stderr ((FILE *) 0) | ^~~~~~~~~~~~ ggml-opt.cpp:952:21: warning: null passed to a callee that requires a non-null argument [-Wnonnull] 952 | fprintf(stderr, "\u258E"); // 2/8 filled | ^~~~~~ ./r_ggml_compat.h:140:16: note: expanded from macro 'stderr' 140 | #define stderr ((FILE *) 0) | ^~~~~~~~~~~~ ggml-opt.cpp:954:21: warning: null passed to a callee that requires a non-null argument [-Wnonnull] 954 | fprintf(stderr, "\u258F"); // 1/8 filled | ^~~~~~ ./r_ggml_compat.h:140:16: note: expanded from macro 'stderr' 140 | #define stderr ((FILE *) 0) | ^~~~~~~~~~~~ ggml-opt.cpp:956:21: warning: null passed to a callee that requires a non-null argument [-Wnonnull] 956 | fprintf(stderr, " "); | ^~~~~~ ./r_ggml_compat.h:140:16: note: expanded from macro 'stderr' 140 | #define stderr ((FILE *) 0) | ^~~~~~~~~~~~ ggml-opt.cpp:986:13: warning: null passed to a callee that requires a non-null argument [-Wnonnull] 986 | fprintf(stderr, "] data=%07" PRId64 "/%07" PRId64 " loss=%.5lf±%.5lf acc=%.2lf±%.2lf%% " | ^~~~~~ ./r_ggml_compat.h:140:16: note: expanded from macro 'stderr' 140 | #define stderr ((FILE *) 0) | ^~~~~~~~~~~~ ggml-opt.cpp:991:17: warning: null passed to a callee that requires a non-null argument [-Wnonnull] 991 | fprintf(stderr, "\n"); | ^~~~~~ ./r_ggml_compat.h:140:16: note: expanded from macro 'stderr' 140 | #define stderr ((FILE *) 0) | ^~~~~~~~~~~~ ggml-opt.cpp:1058:21: warning: null passed to a callee that requires a non-null argument [-Wnonnull] 1058 | fprintf(stderr, "%s: epoch %04" PRId64 "/%04" PRId64 ":\n", __func__, epoch, nepoch); | ^~~~~~ ./r_ggml_compat.h:140:16: note: expanded from macro 'stderr' 140 | #define stderr ((FILE *) 0) | ^~~~~~~~~~~~ ggml-opt.cpp:1062:21: warning: null passed to a callee that requires a non-null argument [-Wnonnull] 1062 | fprintf(stderr, "\n"); | ^~~~~~ ./r_ggml_compat.h:140:16: note: expanded from macro 'stderr' 140 | #define stderr ((FILE *) 0) | ^~~~~~~~~~~~ ggml-opt.cpp:1072:17: warning: null passed to a callee that requires a non-null argument [-Wnonnull] 1072 | fprintf(stderr, "%s: training took %02" PRId64 ":%02" PRId64 ":%02" PRId64 "\n", __func__, t_total_h, t_total_m, t_total_s); | ^~~~~~ ./r_ggml_compat.h:140:16: note: expanded from macro 'stderr' 140 | #define stderr ((FILE *) 0) | ^~~~~~~~~~~~ In file included from ggml-opt.cpp:6: ./ggml-impl.h:88:13: warning: unused function 'ggml_op_is_empty' [-Wunused-function] 88 | static bool ggml_op_is_empty(enum ggml_op op) { | ^~~~~~~~~~~~~~~~ ./ggml-impl.h:141:13: warning: unused function 'ggml_set_op_params' [-Wunused-function] 141 | static void ggml_set_op_params(struct ggml_tensor * tensor, const void * params, size_t params_size) { | ^~~~~~~~~~~~~~~~~~ ./ggml-impl.h:147:16: warning: unused function 'ggml_get_op_params_i32' [-Wunused-function] 147 | static int32_t ggml_get_op_params_i32(const struct ggml_tensor * tensor, uint32_t i) { | ^~~~~~~~~~~~~~~~~~~~~~ ./ggml-impl.h:152:14: warning: unused function 'ggml_get_op_params_f32' [-Wunused-function] 152 | static float ggml_get_op_params_f32(const struct ggml_tensor * tensor, uint32_t i) { | ^~~~~~~~~~~~~~~~~~~~~~ ./ggml-impl.h:157:13: warning: unused function 'ggml_set_op_params_i32' [-Wunused-function] 157 | static void ggml_set_op_params_i32(struct ggml_tensor * tensor, uint32_t i, int32_t value) { | ^~~~~~~~~~~~~~~~~~~~~~ ./ggml-impl.h:162:13: warning: unused function 'ggml_set_op_params_f32' [-Wunused-function] 162 | static void ggml_set_op_params_f32(struct ggml_tensor * tensor, uint32_t i, float value) { | ^~~~~~~~~~~~~~~~~~~~~~ ./ggml-impl.h:199:15: warning: unused function 'ggml_bitset_size' [-Wunused-function] 199 | static size_t ggml_bitset_size(size_t n) { | ^~~~~~~~~~~~~~~~ ./ggml-impl.h:268:13: warning: unused function 'ggml_hash_contains' [-Wunused-function] 268 | static bool ggml_hash_contains(const struct ggml_hash_set * hash_set, struct ggml_tensor * key) { | ^~~~~~~~~~~~~~~~~~ ./ggml-impl.h:273:15: warning: unused function 'ggml_hash_insert' [-Wunused-function] 273 | static size_t ggml_hash_insert(struct ggml_hash_set * hash_set, struct ggml_tensor * key) { | ^~~~~~~~~~~~~~~~ ./ggml-impl.h:294:15: warning: unused function 'ggml_hash_find_or_insert' [-Wunused-function] 294 | static size_t ggml_hash_find_or_insert(struct ggml_hash_set * hash_set, struct ggml_tensor * key) { | ^~~~~~~~~~~~~~~~~~~~~~~~ 25 warnings generated. clang++-21 -std=gnu++17 -I"/home/hornik/tmp/R-d-clang-21/include" -DNDEBUG -I. -Iggml-cpu -Iggml-cpu/arch/x86 -DGGML_VERSION='"0.9.5"' -DGGML_COMMIT='"ggmlR"' -DGGML_USE_CPU -D_GNU_SOURCE -DGGML_R_PACKAGE -include r_ggml_compat.h -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c ggml-backend.cpp -o ggml-backend.o In file included from ggml-backend.cpp:14: ./ggml-impl.h:88:13: warning: unused function 'ggml_op_is_empty' [-Wunused-function] 88 | static bool ggml_op_is_empty(enum ggml_op op) { | ^~~~~~~~~~~~~~~~ ./ggml-impl.h:141:13: warning: unused function 'ggml_set_op_params' [-Wunused-function] 141 | static void ggml_set_op_params(struct ggml_tensor * tensor, const void * params, size_t params_size) { | ^~~~~~~~~~~~~~~~~~ ./ggml-impl.h:147:16: warning: unused function 'ggml_get_op_params_i32' [-Wunused-function] 147 | static int32_t ggml_get_op_params_i32(const struct ggml_tensor * tensor, uint32_t i) { | ^~~~~~~~~~~~~~~~~~~~~~ ./ggml-impl.h:152:14: warning: unused function 'ggml_get_op_params_f32' [-Wunused-function] 152 | static float ggml_get_op_params_f32(const struct ggml_tensor * tensor, uint32_t i) { | ^~~~~~~~~~~~~~~~~~~~~~ ./ggml-impl.h:157:13: warning: unused function 'ggml_set_op_params_i32' [-Wunused-function] 157 | static void ggml_set_op_params_i32(struct ggml_tensor * tensor, uint32_t i, int32_t value) { | ^~~~~~~~~~~~~~~~~~~~~~ ./ggml-impl.h:162:13: warning: unused function 'ggml_set_op_params_f32' [-Wunused-function] 162 | static void ggml_set_op_params_f32(struct ggml_tensor * tensor, uint32_t i, float value) { | ^~~~~~~~~~~~~~~~~~~~~~ ./ggml-impl.h:268:13: warning: unused function 'ggml_hash_contains' [-Wunused-function] 268 | static bool ggml_hash_contains(const struct ggml_hash_set * hash_set, struct ggml_tensor * key) { | ^~~~~~~~~~~~~~~~~~ 7 warnings generated. clang++-21 -std=gnu++17 -I"/home/hornik/tmp/R-d-clang-21/include" -DNDEBUG -I. -Iggml-cpu -Iggml-cpu/arch/x86 -DGGML_VERSION='"0.9.5"' -DGGML_COMMIT='"ggmlR"' -DGGML_USE_CPU -D_GNU_SOURCE -DGGML_R_PACKAGE -include r_ggml_compat.h -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c ggml-backend-reg.cpp -o ggml-backend-reg.o In file included from ggml-backend-reg.cpp:3: ./ggml-impl.h:88:13: warning: unused function 'ggml_op_is_empty' [-Wunused-function] 88 | static bool ggml_op_is_empty(enum ggml_op op) { | ^~~~~~~~~~~~~~~~ ./ggml-impl.h:141:13: warning: unused function 'ggml_set_op_params' [-Wunused-function] 141 | static void ggml_set_op_params(struct ggml_tensor * tensor, const void * params, size_t params_size) { | ^~~~~~~~~~~~~~~~~~ ./ggml-impl.h:147:16: warning: unused function 'ggml_get_op_params_i32' [-Wunused-function] 147 | static int32_t ggml_get_op_params_i32(const struct ggml_tensor * tensor, uint32_t i) { | ^~~~~~~~~~~~~~~~~~~~~~ ./ggml-impl.h:152:14: warning: unused function 'ggml_get_op_params_f32' [-Wunused-function] 152 | static float ggml_get_op_params_f32(const struct ggml_tensor * tensor, uint32_t i) { | ^~~~~~~~~~~~~~~~~~~~~~ ./ggml-impl.h:157:13: warning: unused function 'ggml_set_op_params_i32' [-Wunused-function] 157 | static void ggml_set_op_params_i32(struct ggml_tensor * tensor, uint32_t i, int32_t value) { | ^~~~~~~~~~~~~~~~~~~~~~ ./ggml-impl.h:162:13: warning: unused function 'ggml_set_op_params_f32' [-Wunused-function] 162 | static void ggml_set_op_params_f32(struct ggml_tensor * tensor, uint32_t i, float value) { | ^~~~~~~~~~~~~~~~~~~~~~ ./ggml-impl.h:199:15: warning: unused function 'ggml_bitset_size' [-Wunused-function] 199 | static size_t ggml_bitset_size(size_t n) { | ^~~~~~~~~~~~~~~~ ./ggml-impl.h:268:13: warning: unused function 'ggml_hash_contains' [-Wunused-function] 268 | static bool ggml_hash_contains(const struct ggml_hash_set * hash_set, struct ggml_tensor * key) { | ^~~~~~~~~~~~~~~~~~ ./ggml-impl.h:273:15: warning: unused function 'ggml_hash_insert' [-Wunused-function] 273 | static size_t ggml_hash_insert(struct ggml_hash_set * hash_set, struct ggml_tensor * key) { | ^~~~~~~~~~~~~~~~ ./ggml-impl.h:294:15: warning: unused function 'ggml_hash_find_or_insert' [-Wunused-function] 294 | static size_t ggml_hash_find_or_insert(struct ggml_hash_set * hash_set, struct ggml_tensor * key) { | ^~~~~~~~~~~~~~~~~~~~~~~~ 10 warnings generated. clang++-21 -std=gnu++17 -I"/home/hornik/tmp/R-d-clang-21/include" -DNDEBUG -I. -Iggml-cpu -Iggml-cpu/arch/x86 -DGGML_VERSION='"0.9.5"' -DGGML_COMMIT='"ggmlR"' -DGGML_USE_CPU -D_GNU_SOURCE -DGGML_R_PACKAGE -include r_ggml_compat.h -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c ggml-threading.cpp -o ggml-threading.o clang++-21 -std=gnu++17 -I"/home/hornik/tmp/R-d-clang-21/include" -DNDEBUG -I. -Iggml-cpu -Iggml-cpu/arch/x86 -DGGML_VERSION='"0.9.5"' -DGGML_COMMIT='"ggmlR"' -DGGML_USE_CPU -D_GNU_SOURCE -DGGML_R_PACKAGE -include r_ggml_compat.h -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c ggml-cpu/traits.cpp -o ggml-cpu/traits.o In file included from ggml-cpu/traits.cpp:1: In file included from ggml-cpu/traits.h:3: In file included from ggml-cpu/ggml-cpu-impl.h:6: ./ggml-impl.h:88:13: warning: unused function 'ggml_op_is_empty' [-Wunused-function] 88 | static bool ggml_op_is_empty(enum ggml_op op) { | ^~~~~~~~~~~~~~~~ ./ggml-impl.h:141:13: warning: unused function 'ggml_set_op_params' [-Wunused-function] 141 | static void ggml_set_op_params(struct ggml_tensor * tensor, const void * params, size_t params_size) { | ^~~~~~~~~~~~~~~~~~ ./ggml-impl.h:147:16: warning: unused function 'ggml_get_op_params_i32' [-Wunused-function] 147 | static int32_t ggml_get_op_params_i32(const struct ggml_tensor * tensor, uint32_t i) { | ^~~~~~~~~~~~~~~~~~~~~~ ./ggml-impl.h:152:14: warning: unused function 'ggml_get_op_params_f32' [-Wunused-function] 152 | static float ggml_get_op_params_f32(const struct ggml_tensor * tensor, uint32_t i) { | ^~~~~~~~~~~~~~~~~~~~~~ ./ggml-impl.h:157:13: warning: unused function 'ggml_set_op_params_i32' [-Wunused-function] 157 | static void ggml_set_op_params_i32(struct ggml_tensor * tensor, uint32_t i, int32_t value) { | ^~~~~~~~~~~~~~~~~~~~~~ ./ggml-impl.h:162:13: warning: unused function 'ggml_set_op_params_f32' [-Wunused-function] 162 | static void ggml_set_op_params_f32(struct ggml_tensor * tensor, uint32_t i, float value) { | ^~~~~~~~~~~~~~~~~~~~~~ ./ggml-impl.h:199:15: warning: unused function 'ggml_bitset_size' [-Wunused-function] 199 | static size_t ggml_bitset_size(size_t n) { | ^~~~~~~~~~~~~~~~ ./ggml-impl.h:268:13: warning: unused function 'ggml_hash_contains' [-Wunused-function] 268 | static bool ggml_hash_contains(const struct ggml_hash_set * hash_set, struct ggml_tensor * key) { | ^~~~~~~~~~~~~~~~~~ ./ggml-impl.h:273:15: warning: unused function 'ggml_hash_insert' [-Wunused-function] 273 | static size_t ggml_hash_insert(struct ggml_hash_set * hash_set, struct ggml_tensor * key) { | ^~~~~~~~~~~~~~~~ ./ggml-impl.h:294:15: warning: unused function 'ggml_hash_find_or_insert' [-Wunused-function] 294 | static size_t ggml_hash_find_or_insert(struct ggml_hash_set * hash_set, struct ggml_tensor * key) { | ^~~~~~~~~~~~~~~~~~~~~~~~ 10 warnings generated. clang-21 -std=gnu23 -I"/home/hornik/tmp/R-d-clang-21/include" -DNDEBUG -I. -Iggml-cpu -Iggml-cpu/arch/x86 -DGGML_VERSION='"0.9.5"' -DGGML_COMMIT='"ggmlR"' -DGGML_USE_CPU -D_GNU_SOURCE -DGGML_R_PACKAGE -include r_ggml_compat.h -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c ggml-cpu/ggml-cpu-backend.c -o ggml-cpu/ggml-cpu-backend.o In file included from ggml-cpu/ggml-cpu-backend.c:6: In file included from ggml-cpu/traits.h:3: In file included from ggml-cpu/ggml-cpu-impl.h:6: ./ggml-impl.h:141:13: warning: unused function 'ggml_set_op_params' [-Wunused-function] 141 | static void ggml_set_op_params(struct ggml_tensor * tensor, const void * params, size_t params_size) { | ^~~~~~~~~~~~~~~~~~ ./ggml-impl.h:152:14: warning: unused function 'ggml_get_op_params_f32' [-Wunused-function] 152 | static float ggml_get_op_params_f32(const struct ggml_tensor * tensor, uint32_t i) { | ^~~~~~~~~~~~~~~~~~~~~~ ./ggml-impl.h:157:13: warning: unused function 'ggml_set_op_params_i32' [-Wunused-function] 157 | static void ggml_set_op_params_i32(struct ggml_tensor * tensor, uint32_t i, int32_t value) { | ^~~~~~~~~~~~~~~~~~~~~~ ./ggml-impl.h:162:13: warning: unused function 'ggml_set_op_params_f32' [-Wunused-function] 162 | static void ggml_set_op_params_f32(struct ggml_tensor * tensor, uint32_t i, float value) { | ^~~~~~~~~~~~~~~~~~~~~~ ./ggml-impl.h:199:15: warning: unused function 'ggml_bitset_size' [-Wunused-function] 199 | static size_t ggml_bitset_size(size_t n) { | ^~~~~~~~~~~~~~~~ ./ggml-impl.h:268:13: warning: unused function 'ggml_hash_contains' [-Wunused-function] 268 | static bool ggml_hash_contains(const struct ggml_hash_set * hash_set, struct ggml_tensor * key) { | ^~~~~~~~~~~~~~~~~~ ./ggml-impl.h:273:15: warning: unused function 'ggml_hash_insert' [-Wunused-function] 273 | static size_t ggml_hash_insert(struct ggml_hash_set * hash_set, struct ggml_tensor * key) { | ^~~~~~~~~~~~~~~~ ./ggml-impl.h:294:15: warning: unused function 'ggml_hash_find_or_insert' [-Wunused-function] 294 | static size_t ggml_hash_find_or_insert(struct ggml_hash_set * hash_set, struct ggml_tensor * key) { | ^~~~~~~~~~~~~~~~~~~~~~~~ ggml-cpu/ggml-cpu-backend.c:717:13: warning: unused function 'ggml_init_riscv_arch_features' [-Wunused-function] 717 | static void ggml_init_riscv_arch_features(void) {} | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 9 warnings generated. clang++-21 -std=gnu++17 -I"/home/hornik/tmp/R-d-clang-21/include" -DNDEBUG -I. -Iggml-cpu -Iggml-cpu/arch/x86 -DGGML_VERSION='"0.9.5"' -DGGML_COMMIT='"ggmlR"' -DGGML_USE_CPU -D_GNU_SOURCE -DGGML_R_PACKAGE -include r_ggml_compat.h -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c ggml-cpu/ggml-cpu.cpp -o ggml-cpu/ggml-cpu.o In file included from ggml-cpu/ggml-cpu.cpp:4: In file included from ggml-cpu/repack.h:6: In file included from ggml-cpu/traits.h:3: In file included from ggml-cpu/ggml-cpu-impl.h:6: ./ggml-impl.h:88:13: warning: unused function 'ggml_op_is_empty' [-Wunused-function] 88 | static bool ggml_op_is_empty(enum ggml_op op) { | ^~~~~~~~~~~~~~~~ ./ggml-impl.h:141:13: warning: unused function 'ggml_set_op_params' [-Wunused-function] 141 | static void ggml_set_op_params(struct ggml_tensor * tensor, const void * params, size_t params_size) { | ^~~~~~~~~~~~~~~~~~ ./ggml-impl.h:147:16: warning: unused function 'ggml_get_op_params_i32' [-Wunused-function] 147 | static int32_t ggml_get_op_params_i32(const struct ggml_tensor * tensor, uint32_t i) { | ^~~~~~~~~~~~~~~~~~~~~~ ./ggml-impl.h:152:14: warning: unused function 'ggml_get_op_params_f32' [-Wunused-function] 152 | static float ggml_get_op_params_f32(const struct ggml_tensor * tensor, uint32_t i) { | ^~~~~~~~~~~~~~~~~~~~~~ ./ggml-impl.h:157:13: warning: unused function 'ggml_set_op_params_i32' [-Wunused-function] 157 | static void ggml_set_op_params_i32(struct ggml_tensor * tensor, uint32_t i, int32_t value) { | ^~~~~~~~~~~~~~~~~~~~~~ ./ggml-impl.h:162:13: warning: unused function 'ggml_set_op_params_f32' [-Wunused-function] 162 | static void ggml_set_op_params_f32(struct ggml_tensor * tensor, uint32_t i, float value) { | ^~~~~~~~~~~~~~~~~~~~~~ ./ggml-impl.h:199:15: warning: unused function 'ggml_bitset_size' [-Wunused-function] 199 | static size_t ggml_bitset_size(size_t n) { | ^~~~~~~~~~~~~~~~ ./ggml-impl.h:268:13: warning: unused function 'ggml_hash_contains' [-Wunused-function] 268 | static bool ggml_hash_contains(const struct ggml_hash_set * hash_set, struct ggml_tensor * key) { | ^~~~~~~~~~~~~~~~~~ ./ggml-impl.h:273:15: warning: unused function 'ggml_hash_insert' [-Wunused-function] 273 | static size_t ggml_hash_insert(struct ggml_hash_set * hash_set, struct ggml_tensor * key) { | ^~~~~~~~~~~~~~~~ ./ggml-impl.h:294:15: warning: unused function 'ggml_hash_find_or_insert' [-Wunused-function] 294 | static size_t ggml_hash_find_or_insert(struct ggml_hash_set * hash_set, struct ggml_tensor * key) { | ^~~~~~~~~~~~~~~~~~~~~~~~ 10 warnings generated. clang++-21 -std=gnu++17 -I"/home/hornik/tmp/R-d-clang-21/include" -DNDEBUG -I. -Iggml-cpu -Iggml-cpu/arch/x86 -DGGML_VERSION='"0.9.5"' -DGGML_COMMIT='"ggmlR"' -DGGML_USE_CPU -D_GNU_SOURCE -DGGML_R_PACKAGE -include r_ggml_compat.h -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c ggml-cpu/ops.cpp -o ggml-cpu/ops.o In file included from ggml-cpu/ops.cpp:4: ./ggml-impl.h:88:13: warning: unused function 'ggml_op_is_empty' [-Wunused-function] 88 | static bool ggml_op_is_empty(enum ggml_op op) { | ^~~~~~~~~~~~~~~~ ./ggml-impl.h:141:13: warning: unused function 'ggml_set_op_params' [-Wunused-function] 141 | static void ggml_set_op_params(struct ggml_tensor * tensor, const void * params, size_t params_size) { | ^~~~~~~~~~~~~~~~~~ ./ggml-impl.h:157:13: warning: unused function 'ggml_set_op_params_i32' [-Wunused-function] 157 | static void ggml_set_op_params_i32(struct ggml_tensor * tensor, uint32_t i, int32_t value) { | ^~~~~~~~~~~~~~~~~~~~~~ ./ggml-impl.h:162:13: warning: unused function 'ggml_set_op_params_f32' [-Wunused-function] 162 | static void ggml_set_op_params_f32(struct ggml_tensor * tensor, uint32_t i, float value) { | ^~~~~~~~~~~~~~~~~~~~~~ ./ggml-impl.h:199:15: warning: unused function 'ggml_bitset_size' [-Wunused-function] 199 | static size_t ggml_bitset_size(size_t n) { | ^~~~~~~~~~~~~~~~ ./ggml-impl.h:268:13: warning: unused function 'ggml_hash_contains' [-Wunused-function] 268 | static bool ggml_hash_contains(const struct ggml_hash_set * hash_set, struct ggml_tensor * key) { | ^~~~~~~~~~~~~~~~~~ ./ggml-impl.h:273:15: warning: unused function 'ggml_hash_insert' [-Wunused-function] 273 | static size_t ggml_hash_insert(struct ggml_hash_set * hash_set, struct ggml_tensor * key) { | ^~~~~~~~~~~~~~~~ ./ggml-impl.h:294:15: warning: unused function 'ggml_hash_find_or_insert' [-Wunused-function] 294 | static size_t ggml_hash_find_or_insert(struct ggml_hash_set * hash_set, struct ggml_tensor * key) { | ^~~~~~~~~~~~~~~~~~~~~~~~ 8 warnings generated. clang++-21 -std=gnu++17 -I"/home/hornik/tmp/R-d-clang-21/include" -DNDEBUG -I. -Iggml-cpu -Iggml-cpu/arch/x86 -DGGML_VERSION='"0.9.5"' -DGGML_COMMIT='"ggmlR"' -DGGML_USE_CPU -D_GNU_SOURCE -DGGML_R_PACKAGE -include r_ggml_compat.h -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c ggml-cpu/vec.cpp -o ggml-cpu/vec.o In file included from ggml-cpu/vec.cpp:1: In file included from ggml-cpu/vec.h:5: ./ggml-impl.h:88:13: warning: unused function 'ggml_op_is_empty' [-Wunused-function] 88 | static bool ggml_op_is_empty(enum ggml_op op) { | ^~~~~~~~~~~~~~~~ ./ggml-impl.h:141:13: warning: unused function 'ggml_set_op_params' [-Wunused-function] 141 | static void ggml_set_op_params(struct ggml_tensor * tensor, const void * params, size_t params_size) { | ^~~~~~~~~~~~~~~~~~ ./ggml-impl.h:147:16: warning: unused function 'ggml_get_op_params_i32' [-Wunused-function] 147 | static int32_t ggml_get_op_params_i32(const struct ggml_tensor * tensor, uint32_t i) { | ^~~~~~~~~~~~~~~~~~~~~~ ./ggml-impl.h:152:14: warning: unused function 'ggml_get_op_params_f32' [-Wunused-function] 152 | static float ggml_get_op_params_f32(const struct ggml_tensor * tensor, uint32_t i) { | ^~~~~~~~~~~~~~~~~~~~~~ ./ggml-impl.h:157:13: warning: unused function 'ggml_set_op_params_i32' [-Wunused-function] 157 | static void ggml_set_op_params_i32(struct ggml_tensor * tensor, uint32_t i, int32_t value) { | ^~~~~~~~~~~~~~~~~~~~~~ ./ggml-impl.h:162:13: warning: unused function 'ggml_set_op_params_f32' [-Wunused-function] 162 | static void ggml_set_op_params_f32(struct ggml_tensor * tensor, uint32_t i, float value) { | ^~~~~~~~~~~~~~~~~~~~~~ ./ggml-impl.h:199:15: warning: unused function 'ggml_bitset_size' [-Wunused-function] 199 | static size_t ggml_bitset_size(size_t n) { | ^~~~~~~~~~~~~~~~ ./ggml-impl.h:268:13: warning: unused function 'ggml_hash_contains' [-Wunused-function] 268 | static bool ggml_hash_contains(const struct ggml_hash_set * hash_set, struct ggml_tensor * key) { | ^~~~~~~~~~~~~~~~~~ ./ggml-impl.h:273:15: warning: unused function 'ggml_hash_insert' [-Wunused-function] 273 | static size_t ggml_hash_insert(struct ggml_hash_set * hash_set, struct ggml_tensor * key) { | ^~~~~~~~~~~~~~~~ ./ggml-impl.h:294:15: warning: unused function 'ggml_hash_find_or_insert' [-Wunused-function] 294 | static size_t ggml_hash_find_or_insert(struct ggml_hash_set * hash_set, struct ggml_tensor * key) { | ^~~~~~~~~~~~~~~~~~~~~~~~ 10 warnings generated. clang++-21 -std=gnu++17 -I"/home/hornik/tmp/R-d-clang-21/include" -DNDEBUG -I. -Iggml-cpu -Iggml-cpu/arch/x86 -DGGML_VERSION='"0.9.5"' -DGGML_COMMIT='"ggmlR"' -DGGML_USE_CPU -D_GNU_SOURCE -DGGML_R_PACKAGE -include r_ggml_compat.h -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c ggml-cpu/binary-ops.cpp -o ggml-cpu/binary-ops.o In file included from ggml-cpu/binary-ops.cpp:1: In file included from ggml-cpu/binary-ops.h:3: In file included from ggml-cpu/common.h:4: In file included from ggml-cpu/traits.h:3: In file included from ggml-cpu/ggml-cpu-impl.h:6: ./ggml-impl.h:88:13: warning: unused function 'ggml_op_is_empty' [-Wunused-function] 88 | static bool ggml_op_is_empty(enum ggml_op op) { | ^~~~~~~~~~~~~~~~ ./ggml-impl.h:141:13: warning: unused function 'ggml_set_op_params' [-Wunused-function] 141 | static void ggml_set_op_params(struct ggml_tensor * tensor, const void * params, size_t params_size) { | ^~~~~~~~~~~~~~~~~~ ./ggml-impl.h:147:16: warning: unused function 'ggml_get_op_params_i32' [-Wunused-function] 147 | static int32_t ggml_get_op_params_i32(const struct ggml_tensor * tensor, uint32_t i) { | ^~~~~~~~~~~~~~~~~~~~~~ ./ggml-impl.h:152:14: warning: unused function 'ggml_get_op_params_f32' [-Wunused-function] 152 | static float ggml_get_op_params_f32(const struct ggml_tensor * tensor, uint32_t i) { | ^~~~~~~~~~~~~~~~~~~~~~ ./ggml-impl.h:157:13: warning: unused function 'ggml_set_op_params_i32' [-Wunused-function] 157 | static void ggml_set_op_params_i32(struct ggml_tensor * tensor, uint32_t i, int32_t value) { | ^~~~~~~~~~~~~~~~~~~~~~ ./ggml-impl.h:162:13: warning: unused function 'ggml_set_op_params_f32' [-Wunused-function] 162 | static void ggml_set_op_params_f32(struct ggml_tensor * tensor, uint32_t i, float value) { | ^~~~~~~~~~~~~~~~~~~~~~ ./ggml-impl.h:199:15: warning: unused function 'ggml_bitset_size' [-Wunused-function] 199 | static size_t ggml_bitset_size(size_t n) { | ^~~~~~~~~~~~~~~~ ./ggml-impl.h:268:13: warning: unused function 'ggml_hash_contains' [-Wunused-function] 268 | static bool ggml_hash_contains(const struct ggml_hash_set * hash_set, struct ggml_tensor * key) { | ^~~~~~~~~~~~~~~~~~ ./ggml-impl.h:273:15: warning: unused function 'ggml_hash_insert' [-Wunused-function] 273 | static size_t ggml_hash_insert(struct ggml_hash_set * hash_set, struct ggml_tensor * key) { | ^~~~~~~~~~~~~~~~ ./ggml-impl.h:294:15: warning: unused function 'ggml_hash_find_or_insert' [-Wunused-function] 294 | static size_t ggml_hash_find_or_insert(struct ggml_hash_set * hash_set, struct ggml_tensor * key) { | ^~~~~~~~~~~~~~~~~~~~~~~~ 10 warnings generated. clang++-21 -std=gnu++17 -I"/home/hornik/tmp/R-d-clang-21/include" -DNDEBUG -I. -Iggml-cpu -Iggml-cpu/arch/x86 -DGGML_VERSION='"0.9.5"' -DGGML_COMMIT='"ggmlR"' -DGGML_USE_CPU -D_GNU_SOURCE -DGGML_R_PACKAGE -include r_ggml_compat.h -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c ggml-cpu/unary-ops.cpp -o ggml-cpu/unary-ops.o In file included from ggml-cpu/unary-ops.cpp:1: In file included from ggml-cpu/unary-ops.h:3: In file included from ggml-cpu/common.h:4: In file included from ggml-cpu/traits.h:3: In file included from ggml-cpu/ggml-cpu-impl.h:6: ./ggml-impl.h:88:13: warning: unused function 'ggml_op_is_empty' [-Wunused-function] 88 | static bool ggml_op_is_empty(enum ggml_op op) { | ^~~~~~~~~~~~~~~~ ./ggml-impl.h:141:13: warning: unused function 'ggml_set_op_params' [-Wunused-function] 141 | static void ggml_set_op_params(struct ggml_tensor * tensor, const void * params, size_t params_size) { | ^~~~~~~~~~~~~~~~~~ ./ggml-impl.h:147:16: warning: unused function 'ggml_get_op_params_i32' [-Wunused-function] 147 | static int32_t ggml_get_op_params_i32(const struct ggml_tensor * tensor, uint32_t i) { | ^~~~~~~~~~~~~~~~~~~~~~ ./ggml-impl.h:157:13: warning: unused function 'ggml_set_op_params_i32' [-Wunused-function] 157 | static void ggml_set_op_params_i32(struct ggml_tensor * tensor, uint32_t i, int32_t value) { | ^~~~~~~~~~~~~~~~~~~~~~ ./ggml-impl.h:162:13: warning: unused function 'ggml_set_op_params_f32' [-Wunused-function] 162 | static void ggml_set_op_params_f32(struct ggml_tensor * tensor, uint32_t i, float value) { | ^~~~~~~~~~~~~~~~~~~~~~ ./ggml-impl.h:199:15: warning: unused function 'ggml_bitset_size' [-Wunused-function] 199 | static size_t ggml_bitset_size(size_t n) { | ^~~~~~~~~~~~~~~~ ./ggml-impl.h:268:13: warning: unused function 'ggml_hash_contains' [-Wunused-function] 268 | static bool ggml_hash_contains(const struct ggml_hash_set * hash_set, struct ggml_tensor * key) { | ^~~~~~~~~~~~~~~~~~ ./ggml-impl.h:273:15: warning: unused function 'ggml_hash_insert' [-Wunused-function] 273 | static size_t ggml_hash_insert(struct ggml_hash_set * hash_set, struct ggml_tensor * key) { | ^~~~~~~~~~~~~~~~ ./ggml-impl.h:294:15: warning: unused function 'ggml_hash_find_or_insert' [-Wunused-function] 294 | static size_t ggml_hash_find_or_insert(struct ggml_hash_set * hash_set, struct ggml_tensor * key) { | ^~~~~~~~~~~~~~~~~~~~~~~~ 9 warnings generated. clang++-21 -std=gnu++17 -I"/home/hornik/tmp/R-d-clang-21/include" -DNDEBUG -I. -Iggml-cpu -Iggml-cpu/arch/x86 -DGGML_VERSION='"0.9.5"' -DGGML_COMMIT='"ggmlR"' -DGGML_USE_CPU -D_GNU_SOURCE -DGGML_R_PACKAGE -include r_ggml_compat.h -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c ggml-cpu/repack.cpp -o ggml-cpu/repack.o In file included from ggml-cpu/repack.cpp:6: ./ggml-impl.h:88:13: warning: unused function 'ggml_op_is_empty' [-Wunused-function] 88 | static bool ggml_op_is_empty(enum ggml_op op) { | ^~~~~~~~~~~~~~~~ ./ggml-impl.h:141:13: warning: unused function 'ggml_set_op_params' [-Wunused-function] 141 | static void ggml_set_op_params(struct ggml_tensor * tensor, const void * params, size_t params_size) { | ^~~~~~~~~~~~~~~~~~ ./ggml-impl.h:147:16: warning: unused function 'ggml_get_op_params_i32' [-Wunused-function] 147 | static int32_t ggml_get_op_params_i32(const struct ggml_tensor * tensor, uint32_t i) { | ^~~~~~~~~~~~~~~~~~~~~~ ./ggml-impl.h:152:14: warning: unused function 'ggml_get_op_params_f32' [-Wunused-function] 152 | static float ggml_get_op_params_f32(const struct ggml_tensor * tensor, uint32_t i) { | ^~~~~~~~~~~~~~~~~~~~~~ ./ggml-impl.h:157:13: warning: unused function 'ggml_set_op_params_i32' [-Wunused-function] 157 | static void ggml_set_op_params_i32(struct ggml_tensor * tensor, uint32_t i, int32_t value) { | ^~~~~~~~~~~~~~~~~~~~~~ ./ggml-impl.h:162:13: warning: unused function 'ggml_set_op_params_f32' [-Wunused-function] 162 | static void ggml_set_op_params_f32(struct ggml_tensor * tensor, uint32_t i, float value) { | ^~~~~~~~~~~~~~~~~~~~~~ ./ggml-impl.h:199:15: warning: unused function 'ggml_bitset_size' [-Wunused-function] 199 | static size_t ggml_bitset_size(size_t n) { | ^~~~~~~~~~~~~~~~ ./ggml-impl.h:268:13: warning: unused function 'ggml_hash_contains' [-Wunused-function] 268 | static bool ggml_hash_contains(const struct ggml_hash_set * hash_set, struct ggml_tensor * key) { | ^~~~~~~~~~~~~~~~~~ ./ggml-impl.h:273:15: warning: unused function 'ggml_hash_insert' [-Wunused-function] 273 | static size_t ggml_hash_insert(struct ggml_hash_set * hash_set, struct ggml_tensor * key) { | ^~~~~~~~~~~~~~~~ ./ggml-impl.h:294:15: warning: unused function 'ggml_hash_find_or_insert' [-Wunused-function] 294 | static size_t ggml_hash_find_or_insert(struct ggml_hash_set * hash_set, struct ggml_tensor * key) { | ^~~~~~~~~~~~~~~~~~~~~~~~ 10 warnings generated. clang-21 -std=gnu23 -I"/home/hornik/tmp/R-d-clang-21/include" -DNDEBUG -I. -Iggml-cpu -Iggml-cpu/arch/x86 -DGGML_VERSION='"0.9.5"' -DGGML_COMMIT='"ggmlR"' -DGGML_USE_CPU -D_GNU_SOURCE -DGGML_R_PACKAGE -include r_ggml_compat.h -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c ggml-cpu/quants.c -o ggml-cpu/quants.o In file included from ggml-cpu/quants.c:4: In file included from ggml-cpu/ggml-cpu-impl.h:6: ./ggml-impl.h:88:13: warning: unused function 'ggml_op_is_empty' [-Wunused-function] 88 | static bool ggml_op_is_empty(enum ggml_op op) { | ^~~~~~~~~~~~~~~~ ./ggml-impl.h:141:13: warning: unused function 'ggml_set_op_params' [-Wunused-function] 141 | static void ggml_set_op_params(struct ggml_tensor * tensor, const void * params, size_t params_size) { | ^~~~~~~~~~~~~~~~~~ ./ggml-impl.h:147:16: warning: unused function 'ggml_get_op_params_i32' [-Wunused-function] 147 | static int32_t ggml_get_op_params_i32(const struct ggml_tensor * tensor, uint32_t i) { | ^~~~~~~~~~~~~~~~~~~~~~ ./ggml-impl.h:152:14: warning: unused function 'ggml_get_op_params_f32' [-Wunused-function] 152 | static float ggml_get_op_params_f32(const struct ggml_tensor * tensor, uint32_t i) { | ^~~~~~~~~~~~~~~~~~~~~~ ./ggml-impl.h:157:13: warning: unused function 'ggml_set_op_params_i32' [-Wunused-function] 157 | static void ggml_set_op_params_i32(struct ggml_tensor * tensor, uint32_t i, int32_t value) { | ^~~~~~~~~~~~~~~~~~~~~~ ./ggml-impl.h:162:13: warning: unused function 'ggml_set_op_params_f32' [-Wunused-function] 162 | static void ggml_set_op_params_f32(struct ggml_tensor * tensor, uint32_t i, float value) { | ^~~~~~~~~~~~~~~~~~~~~~ ./ggml-impl.h:199:15: warning: unused function 'ggml_bitset_size' [-Wunused-function] 199 | static size_t ggml_bitset_size(size_t n) { | ^~~~~~~~~~~~~~~~ ./ggml-impl.h:268:13: warning: unused function 'ggml_hash_contains' [-Wunused-function] 268 | static bool ggml_hash_contains(const struct ggml_hash_set * hash_set, struct ggml_tensor * key) { | ^~~~~~~~~~~~~~~~~~ ./ggml-impl.h:273:15: warning: unused function 'ggml_hash_insert' [-Wunused-function] 273 | static size_t ggml_hash_insert(struct ggml_hash_set * hash_set, struct ggml_tensor * key) { | ^~~~~~~~~~~~~~~~ ./ggml-impl.h:294:15: warning: unused function 'ggml_hash_find_or_insert' [-Wunused-function] 294 | static size_t ggml_hash_find_or_insert(struct ggml_hash_set * hash_set, struct ggml_tensor * key) { | ^~~~~~~~~~~~~~~~~~~~~~~~ 10 warnings generated. clang++-21 -std=gnu++17 -I"/home/hornik/tmp/R-d-clang-21/include" -DNDEBUG -I. -Iggml-cpu -Iggml-cpu/arch/x86 -DGGML_VERSION='"0.9.5"' -DGGML_COMMIT='"ggmlR"' -DGGML_USE_CPU -D_GNU_SOURCE -DGGML_R_PACKAGE -include r_ggml_compat.h -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c ggml-cpu/hbm.cpp -o ggml-cpu/hbm.o clang++-21 -std=gnu++17 -I"/home/hornik/tmp/R-d-clang-21/include" -DNDEBUG -I. -Iggml-cpu -Iggml-cpu/arch/x86 -DGGML_VERSION='"0.9.5"' -DGGML_COMMIT='"ggmlR"' -DGGML_USE_CPU -D_GNU_SOURCE -DGGML_R_PACKAGE -include r_ggml_compat.h -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c ggml-cpu/arch/x86/cpu-feats.cpp -o ggml-cpu/arch/x86/cpu-feats.o ggml-cpu/arch/x86/cpu-feats.cpp:263:12: warning: unused function 'ggml_backend_cpu_x86_score' [-Wunused-function] 263 | static int ggml_backend_cpu_x86_score() { | ^~~~~~~~~~~~~~~~~~~~~~~~~~ 1 warning generated. clang-21 -std=gnu23 -I"/home/hornik/tmp/R-d-clang-21/include" -DNDEBUG -I. -Iggml-cpu -Iggml-cpu/arch/x86 -DGGML_VERSION='"0.9.5"' -DGGML_COMMIT='"ggmlR"' -DGGML_USE_CPU -D_GNU_SOURCE -DGGML_R_PACKAGE -include r_ggml_compat.h -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c ggml-cpu/arch/x86/quants.c -o ggml-cpu/arch/x86/quants.o In file included from ggml-cpu/arch/x86/quants.c:4: ./ggml-impl.h:88:13: warning: unused function 'ggml_op_is_empty' [-Wunused-function] 88 | static bool ggml_op_is_empty(enum ggml_op op) { | ^~~~~~~~~~~~~~~~ ./ggml-impl.h:141:13: warning: unused function 'ggml_set_op_params' [-Wunused-function] 141 | static void ggml_set_op_params(struct ggml_tensor * tensor, const void * params, size_t params_size) { | ^~~~~~~~~~~~~~~~~~ ./ggml-impl.h:147:16: warning: unused function 'ggml_get_op_params_i32' [-Wunused-function] 147 | static int32_t ggml_get_op_params_i32(const struct ggml_tensor * tensor, uint32_t i) { | ^~~~~~~~~~~~~~~~~~~~~~ ./ggml-impl.h:152:14: warning: unused function 'ggml_get_op_params_f32' [-Wunused-function] 152 | static float ggml_get_op_params_f32(const struct ggml_tensor * tensor, uint32_t i) { | ^~~~~~~~~~~~~~~~~~~~~~ ./ggml-impl.h:157:13: warning: unused function 'ggml_set_op_params_i32' [-Wunused-function] 157 | static void ggml_set_op_params_i32(struct ggml_tensor * tensor, uint32_t i, int32_t value) { | ^~~~~~~~~~~~~~~~~~~~~~ ./ggml-impl.h:162:13: warning: unused function 'ggml_set_op_params_f32' [-Wunused-function] 162 | static void ggml_set_op_params_f32(struct ggml_tensor * tensor, uint32_t i, float value) { | ^~~~~~~~~~~~~~~~~~~~~~ ./ggml-impl.h:199:15: warning: unused function 'ggml_bitset_size' [-Wunused-function] 199 | static size_t ggml_bitset_size(size_t n) { | ^~~~~~~~~~~~~~~~ ./ggml-impl.h:268:13: warning: unused function 'ggml_hash_contains' [-Wunused-function] 268 | static bool ggml_hash_contains(const struct ggml_hash_set * hash_set, struct ggml_tensor * key) { | ^~~~~~~~~~~~~~~~~~ ./ggml-impl.h:273:15: warning: unused function 'ggml_hash_insert' [-Wunused-function] 273 | static size_t ggml_hash_insert(struct ggml_hash_set * hash_set, struct ggml_tensor * key) { | ^~~~~~~~~~~~~~~~ ./ggml-impl.h:294:15: warning: unused function 'ggml_hash_find_or_insert' [-Wunused-function] 294 | static size_t ggml_hash_find_or_insert(struct ggml_hash_set * hash_set, struct ggml_tensor * key) { | ^~~~~~~~~~~~~~~~~~~~~~~~ 10 warnings generated. clang++-21 -std=gnu++17 -I"/home/hornik/tmp/R-d-clang-21/include" -DNDEBUG -I. -Iggml-cpu -Iggml-cpu/arch/x86 -DGGML_VERSION='"0.9.5"' -DGGML_COMMIT='"ggmlR"' -DGGML_USE_CPU -D_GNU_SOURCE -DGGML_R_PACKAGE -include r_ggml_compat.h -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c ggml-cpu/arch/x86/repack.cpp -o ggml-cpu/arch/x86/repack.o In file included from ggml-cpu/arch/x86/repack.cpp:6: ./ggml-impl.h:88:13: warning: unused function 'ggml_op_is_empty' [-Wunused-function] 88 | static bool ggml_op_is_empty(enum ggml_op op) { | ^~~~~~~~~~~~~~~~ ./ggml-impl.h:141:13: warning: unused function 'ggml_set_op_params' [-Wunused-function] 141 | static void ggml_set_op_params(struct ggml_tensor * tensor, const void * params, size_t params_size) { | ^~~~~~~~~~~~~~~~~~ ./ggml-impl.h:147:16: warning: unused function 'ggml_get_op_params_i32' [-Wunused-function] 147 | static int32_t ggml_get_op_params_i32(const struct ggml_tensor * tensor, uint32_t i) { | ^~~~~~~~~~~~~~~~~~~~~~ ./ggml-impl.h:152:14: warning: unused function 'ggml_get_op_params_f32' [-Wunused-function] 152 | static float ggml_get_op_params_f32(const struct ggml_tensor * tensor, uint32_t i) { | ^~~~~~~~~~~~~~~~~~~~~~ ./ggml-impl.h:157:13: warning: unused function 'ggml_set_op_params_i32' [-Wunused-function] 157 | static void ggml_set_op_params_i32(struct ggml_tensor * tensor, uint32_t i, int32_t value) { | ^~~~~~~~~~~~~~~~~~~~~~ ./ggml-impl.h:162:13: warning: unused function 'ggml_set_op_params_f32' [-Wunused-function] 162 | static void ggml_set_op_params_f32(struct ggml_tensor * tensor, uint32_t i, float value) { | ^~~~~~~~~~~~~~~~~~~~~~ ./ggml-impl.h:199:15: warning: unused function 'ggml_bitset_size' [-Wunused-function] 199 | static size_t ggml_bitset_size(size_t n) { | ^~~~~~~~~~~~~~~~ ./ggml-impl.h:268:13: warning: unused function 'ggml_hash_contains' [-Wunused-function] 268 | static bool ggml_hash_contains(const struct ggml_hash_set * hash_set, struct ggml_tensor * key) { | ^~~~~~~~~~~~~~~~~~ ./ggml-impl.h:273:15: warning: unused function 'ggml_hash_insert' [-Wunused-function] 273 | static size_t ggml_hash_insert(struct ggml_hash_set * hash_set, struct ggml_tensor * key) { | ^~~~~~~~~~~~~~~~ ./ggml-impl.h:294:15: warning: unused function 'ggml_hash_find_or_insert' [-Wunused-function] 294 | static size_t ggml_hash_find_or_insert(struct ggml_hash_set * hash_set, struct ggml_tensor * key) { | ^~~~~~~~~~~~~~~~~~~~~~~~ ggml-cpu/arch/x86/repack.cpp:105:19: warning: unused function 'nearest_int' [-Wunused-function] 105 | static inline int nearest_int(float fval) { | ^~~~~~~~~~~ 11 warnings generated. clang++-21 -std=gnu++17 -shared -L/home/hornik/tmp/R-d-clang-21/lib -Wl,-O1 -o ggmlR.so r_ggml_io.o r_interface.o r_interface_graph.o r_interface_vulkan.o r_interface_scheduler.o r_interface_opt.o r_interface_backend.o r_interface_quants.o ggml.o ggml-alloc.o ggml-quants.o ggml-opt.o ggml-backend.o ggml-backend-reg.o ggml-threading.o ggml-cpu/traits.o ggml-cpu/ggml-cpu-backend.o ggml-cpu/ggml-cpu.o ggml-cpu/ops.o ggml-cpu/vec.o ggml-cpu/binary-ops.o ggml-cpu/unary-ops.o ggml-cpu/repack.o ggml-cpu/quants.o ggml-cpu/hbm.o ggml-cpu/arch/x86/cpu-feats.o ggml-cpu/arch/x86/quants.o ggml-cpu/arch/x86/repack.o -lpthread -lm -L/home/hornik/tmp/R-d-clang-21/lib -lR installing to /srv/hornik/tmp/CRAN_pretest/ggmlR.Rcheck/00LOCK-ggmlR/00new/ggmlR/libs ** R ** inst ** byte-compile and prepare package for lazy loading ** help *** installing help indices ** building package indices ** testing if installed package can be loaded from temporary location ** checking absolute paths in shared objects and dynamic libraries ** testing if installed package can be loaded from final location ** testing if installed package keeps a record of temporary installation path * DONE (ggmlR)