* installing *source* package ‘ggmlR’ ...
** package ‘ggmlR’ successfully unpacked and MD5 sums checked
** 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
using C compiler: ‘Apple clang version 14.0.3 (clang-1403.0.22.14.1)’
using C++ compiler: ‘Apple clang version 14.0.3 (clang-1403.0.22.14.1)’
using C++17
using SDK: ‘MacOSX11.3.sdk’
clang -arch arm64 -I"/Library/Frameworks/R.framework/Resources/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/opt/R/arm64/include -fPIC -falign-functions=64 -Wall -g -O2 -c r_interface.c -o r_interface.o
clang -arch arm64 -I"/Library/Frameworks/R.framework/Resources/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/opt/R/arm64/include -fPIC -falign-functions=64 -Wall -g -O2 -c r_interface_graph.c -o r_interface_graph.o
clang -arch arm64 -I"/Library/Frameworks/R.framework/Resources/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/opt/R/arm64/include -fPIC -falign-functions=64 -Wall -g -O2 -c r_interface_vulkan.c -o r_interface_vulkan.o
clang -arch arm64 -I"/Library/Frameworks/R.framework/Resources/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/opt/R/arm64/include -fPIC -falign-functions=64 -Wall -g -O2 -c r_interface_scheduler.c -o r_interface_scheduler.o
clang -arch arm64 -I"/Library/Frameworks/R.framework/Resources/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/opt/R/arm64/include -fPIC -falign-functions=64 -Wall -g -O2 -c r_interface_opt.c -o r_interface_opt.o
clang -arch arm64 -I"/Library/Frameworks/R.framework/Resources/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/opt/R/arm64/include -fPIC -falign-functions=64 -Wall -g -O2 -c r_interface_backend.c -o r_interface_backend.o
clang -arch arm64 -I"/Library/Frameworks/R.framework/Resources/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/opt/R/arm64/include -fPIC -falign-functions=64 -Wall -g -O2 -c r_interface_quants.c -o r_interface_quants.o
clang -arch arm64 -I"/Library/Frameworks/R.framework/Resources/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/opt/R/arm64/include -fPIC -falign-functions=64 -Wall -g -O2 -c r_ggml_io.c -o r_ggml_io.o
clang -arch arm64 -I"/Library/Frameworks/R.framework/Resources/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/opt/R/arm64/include -fPIC -falign-functions=64 -Wall -g -O2 -c ggml.c -o ggml.o
clang -arch arm64 -I"/Library/Frameworks/R.framework/Resources/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/opt/R/arm64/include -fPIC -falign-functions=64 -Wall -g -O2 -c ggml-alloc.c -o ggml-alloc.o
clang -arch arm64 -I"/Library/Frameworks/R.framework/Resources/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/opt/R/arm64/include -fPIC -falign-functions=64 -Wall -g -O2 -c ggml-quants.c -o ggml-quants.o
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/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/opt/R/arm64/include -fPIC -falign-functions=64 -Wall -g -O2 -c ggml-opt.cpp -o ggml-opt.o
In file included from r_interface_graph.c:8:
./ggml-impl.h:88:13: warning: unused function 'ggml_op_is_empty' [-Wunused-function]
static bool ggml_op_is_empty(enum ggml_op op) {
^
./ggml-impl.h:141:13: warning: unused function 'ggml_set_op_params' [-Wunused-function]
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]
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]
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]
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]
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]
static size_t ggml_bitset_size(size_t n) {
^
./ggml-impl.h:268:13: warning: unused function 'ggml_hash_contains' [-Wunused-function]
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]
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]
static size_t ggml_hash_find_or_insert(struct ggml_hash_set * hash_set, struct ggml_tensor * key) {
^
In file included from ggml-alloc.c:4:
./ggml-impl.h:88:13: warning: unused function 'ggml_op_is_empty' [-Wunused-function]
static bool ggml_op_is_empty(enum ggml_op op) {
^
./ggml-impl.h:141:13: warning: unused function 'ggml_set_op_params' [-Wunused-function]
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]
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]
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]
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]
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]
static size_t ggml_bitset_size(size_t n) {
^
./ggml-impl.h:268:13: warning: unused function 'ggml_hash_contains' [-Wunused-function]
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]
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]
static bool ggml_buffer_address_less(struct buffer_address a, struct buffer_address b) {
^
In file included from ggml-quants.c:5:
./ggml-impl.h:88:13: warning: unused function 'ggml_op_is_empty' [-Wunused-function]
static bool ggml_op_is_empty(enum ggml_op op) {
^
./ggml-impl.h:141:13: warning: unused function 'ggml_set_op_params' [-Wunused-function]
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]
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]
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]
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]
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]
static size_t ggml_bitset_size(size_t n) {
^
./ggml-impl.h:268:13: warning: unused function 'ggml_hash_contains' [-Wunused-function]
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]
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]
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]
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]
static int iq1_find_best_neighbour(const uint16_t * GGML_RESTRICT neighbours, const uint64_t * GGML_RESTRICT grid,
^
In file included from ggml.c:5:
./ggml-impl.h:88:13: warning: unused function 'ggml_op_is_empty' [-Wunused-function]
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]
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]
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]
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]
static struct hash_map * ggml_new_hash_map(size_t size) {
^
ggml.c:6154:13: warning: unused function 'ggml_hash_map_free' [-Wunused-function]
static void ggml_hash_map_free(struct hash_map * map) {
^
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/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/opt/R/arm64/include -fPIC -falign-functions=64 -Wall -g -O2 -c gguf.cpp -o gguf.o
10 warnings generated.
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/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/opt/R/arm64/include -fPIC -falign-functions=64 -Wall -g -O2 -c ggml-backend.cpp -o ggml-backend.o
10 warnings generated.
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/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/opt/R/arm64/include -fPIC -falign-functions=64 -Wall -g -O2 -c ggml-backend-reg.cpp -o ggml-backend-reg.o
In file included from ggml-opt.cpp:6:
./ggml-impl.h:88:13: warning: unused function 'ggml_op_is_empty' [-Wunused-function]
static bool ggml_op_is_empty(enum ggml_op op) {
^
./ggml-impl.h:141:13: warning: unused function 'ggml_set_op_params' [-Wunused-function]
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]
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]
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]
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]
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]
static size_t ggml_bitset_size(size_t n) {
^
./ggml-impl.h:268:13: warning: unused function 'ggml_hash_contains' [-Wunused-function]
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]
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]
static size_t ggml_hash_find_or_insert(struct ggml_hash_set * hash_set, struct ggml_tensor * key) {
^
In file included from ggml-backend.cpp:14:
./ggml-impl.h:88:13: warning: unused function 'ggml_op_is_empty' [-Wunused-function]
static bool ggml_op_is_empty(enum ggml_op op) {
^
./ggml-impl.h:141:13: warning: unused function 'ggml_set_op_params' [-Wunused-function]
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]
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]
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]
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]
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]
static bool ggml_hash_contains(const struct ggml_hash_set * hash_set, struct ggml_tensor * key) {
^
In file included from gguf.cpp:3:
./ggml-impl.h:88:13: warning: unused function 'ggml_op_is_empty' [-Wunused-function]
static bool ggml_op_is_empty(enum ggml_op op) {
^
./ggml-impl.h:141:13: warning: unused function 'ggml_set_op_params' [-Wunused-function]
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]
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]
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]
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]
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]
static size_t ggml_bitset_size(size_t n) {
^
./ggml-impl.h:268:13: warning: unused function 'ggml_hash_contains' [-Wunused-function]
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]
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]
static size_t ggml_hash_find_or_insert(struct ggml_hash_set * hash_set, struct ggml_tensor * key) {
^
In file included from ggml-backend-reg.cpp:3:
./ggml-impl.h:88:13: warning: unused function 'ggml_op_is_empty' [-Wunused-function]
static bool ggml_op_is_empty(enum ggml_op op) {
^
./ggml-impl.h:141:13: warning: unused function 'ggml_set_op_params' [-Wunused-function]
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]
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]
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]
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]
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]
static size_t ggml_bitset_size(size_t n) {
^
./ggml-impl.h:268:13: warning: unused function 'ggml_hash_contains' [-Wunused-function]
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]
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]
static size_t ggml_hash_find_or_insert(struct ggml_hash_set * hash_set, struct ggml_tensor * key) {
^
10 warnings generated.
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/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/opt/R/arm64/include -fPIC -falign-functions=64 -Wall -g -O2 -c ggml-threading.cpp -o ggml-threading.o
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/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/opt/R/arm64/include -fPIC -falign-functions=64 -Wall -g -O2 -c ggml-cpu/traits.cpp -o ggml-cpu/traits.o
6 warnings generated.
clang -arch arm64 -I"/Library/Frameworks/R.framework/Resources/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/opt/R/arm64/include -fPIC -falign-functions=64 -Wall -g -O2 -c ggml-cpu/ggml-cpu-backend.c -o ggml-cpu/ggml-cpu-backend.o
7 warnings generated.
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/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/opt/R/arm64/include -fPIC -falign-functions=64 -Wall -g -O2 -c ggml-cpu/ggml-cpu.cpp -o ggml-cpu/ggml-cpu.o
10 warnings generated.
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/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/opt/R/arm64/include -fPIC -falign-functions=64 -Wall -g -O2 -c ggml-cpu/ops.cpp -o ggml-cpu/ops.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]
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]
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]
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]
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]
static size_t ggml_bitset_size(size_t n) {
^
./ggml-impl.h:268:13: warning: unused function 'ggml_hash_contains' [-Wunused-function]
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]
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]
static size_t ggml_hash_find_or_insert(struct ggml_hash_set * hash_set, struct ggml_tensor * key) {
^
ggml-cpu/ggml-cpu-backend.c:603:17: warning: unused function 'ggml_get_numa_affinity' [-Wunused-function]
static uint32_t ggml_get_numa_affinity(void) {
^
ggml-cpu/ggml-cpu-backend.c:717:13: warning: unused function 'ggml_init_riscv_arch_features' [-Wunused-function]
static void ggml_init_riscv_arch_features(void) {}
^
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]
static bool ggml_op_is_empty(enum ggml_op op) {
^
./ggml-impl.h:141:13: warning: unused function 'ggml_set_op_params' [-Wunused-function]
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]
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]
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]
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]
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]
static size_t ggml_bitset_size(size_t n) {
^
./ggml-impl.h:268:13: warning: unused function 'ggml_hash_contains' [-Wunused-function]
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]
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]
static size_t ggml_hash_find_or_insert(struct ggml_hash_set * hash_set, struct ggml_tensor * key) {
^
10 warnings generated.
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/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/opt/R/arm64/include -fPIC -falign-functions=64 -Wall -g -O2 -c ggml-cpu/vec.cpp -o ggml-cpu/vec.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]
static bool ggml_op_is_empty(enum ggml_op op) {
^
./ggml-impl.h:141:13: warning: unused function 'ggml_set_op_params' [-Wunused-function]
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]
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]
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]
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]
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]
static size_t ggml_bitset_size(size_t n) {
^
./ggml-impl.h:268:13: warning: unused function 'ggml_hash_contains' [-Wunused-function]
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]
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]
static size_t ggml_hash_find_or_insert(struct ggml_hash_set * hash_set, struct ggml_tensor * key) {
^
In file included from ggml-cpu/ops.cpp:4:
./ggml-impl.h:88:13: warning: unused function 'ggml_op_is_empty' [-Wunused-function]
static bool ggml_op_is_empty(enum ggml_op op) {
^
./ggml-impl.h:141:13: warning: unused function 'ggml_set_op_params' [-Wunused-function]
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]
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]
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]
static size_t ggml_bitset_size(size_t n) {
^
./ggml-impl.h:268:13: warning: unused function 'ggml_hash_contains' [-Wunused-function]
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]
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]
static size_t ggml_hash_find_or_insert(struct ggml_hash_set * hash_set, struct ggml_tensor * key) {
^
10 warnings generated.
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/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/opt/R/arm64/include -fPIC -falign-functions=64 -Wall -g -O2 -c ggml-cpu/binary-ops.cpp -o ggml-cpu/binary-ops.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]
static bool ggml_op_is_empty(enum ggml_op op) {
^
./ggml-impl.h:141:13: warning: unused function 'ggml_set_op_params' [-Wunused-function]
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]
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]
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]
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]
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]
static size_t ggml_bitset_size(size_t n) {
^
./ggml-impl.h:268:13: warning: unused function 'ggml_hash_contains' [-Wunused-function]
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]
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]
static size_t ggml_hash_find_or_insert(struct ggml_hash_set * hash_set, struct ggml_tensor * key) {
^
10 warnings generated.
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/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/opt/R/arm64/include -fPIC -falign-functions=64 -Wall -g -O2 -c ggml-cpu/unary-ops.cpp -o ggml-cpu/unary-ops.o
10 warnings generated.
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/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/opt/R/arm64/include -fPIC -falign-functions=64 -Wall -g -O2 -c ggml-cpu/repack.cpp -o ggml-cpu/repack.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]
static bool ggml_op_is_empty(enum ggml_op op) {
^
./ggml-impl.h:141:13: warning: unused function 'ggml_set_op_params' [-Wunused-function]
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]
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]
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]
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]
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]
static size_t ggml_bitset_size(size_t n) {
^
./ggml-impl.h:268:13: warning: unused function 'ggml_hash_contains' [-Wunused-function]
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]
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]
static size_t ggml_hash_find_or_insert(struct ggml_hash_set * hash_set, struct ggml_tensor * key) {
^
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]
static bool ggml_op_is_empty(enum ggml_op op) {
^
./ggml-impl.h:141:13: warning: unused function 'ggml_set_op_params' [-Wunused-function]
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]
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]
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]
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]
static size_t ggml_bitset_size(size_t n) {
^
./ggml-impl.h:268:13: warning: unused function 'ggml_hash_contains' [-Wunused-function]
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]
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]
static size_t ggml_hash_find_or_insert(struct ggml_hash_set * hash_set, struct ggml_tensor * key) {
^
In file included from ggml-cpu/repack.cpp:6:
./ggml-impl.h:88:13: warning: unused function 'ggml_op_is_empty' [-Wunused-function]
static bool ggml_op_is_empty(enum ggml_op op) {
^
./ggml-impl.h:141:13: warning: unused function 'ggml_set_op_params' [-Wunused-function]
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]
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]
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]
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]
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]
static size_t ggml_bitset_size(size_t n) {
^
./ggml-impl.h:268:13: warning: unused function 'ggml_hash_contains' [-Wunused-function]
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]
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]
static size_t ggml_hash_find_or_insert(struct ggml_hash_set * hash_set, struct ggml_tensor * key) {
^
12 warnings generated.
clang -arch arm64 -I"/Library/Frameworks/R.framework/Resources/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/opt/R/arm64/include -fPIC -falign-functions=64 -Wall -g -O2 -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]
static bool ggml_op_is_empty(enum ggml_op op) {
^
./ggml-impl.h:141:13: warning: unused function 'ggml_set_op_params' [-Wunused-function]
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]
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]
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]
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]
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]
static size_t ggml_bitset_size(size_t n) {
^
./ggml-impl.h:268:13: warning: unused function 'ggml_hash_contains' [-Wunused-function]
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]
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]
static size_t ggml_hash_find_or_insert(struct ggml_hash_set * hash_set, struct ggml_tensor * key) {
^
10 warnings generated.
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/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/opt/R/arm64/include -fPIC -falign-functions=64 -Wall -g -O2 -c ggml-cpu/hbm.cpp -o ggml-cpu/hbm.o
10 warnings generated.
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/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/opt/R/arm64/include -fPIC -falign-functions=64 -Wall -g -O2 -c ggml-cpu/arch/x86/cpu-feats.cpp -o ggml-cpu/arch/x86/cpu-feats.o
clang -arch arm64 -I"/Library/Frameworks/R.framework/Resources/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/opt/R/arm64/include -fPIC -falign-functions=64 -Wall -g -O2 -c ggml-cpu/arch/x86/quants.c -o ggml-cpu/arch/x86/quants.o
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/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/opt/R/arm64/include -fPIC -falign-functions=64 -Wall -g -O2 -c ggml-cpu/arch/x86/repack.cpp -o ggml-cpu/arch/x86/repack.o
10 warnings generated.
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]
static bool ggml_op_is_empty(enum ggml_op op) {
^
./ggml-impl.h:141:13: warning: unused function 'ggml_set_op_params' [-Wunused-function]
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]
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]
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]
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]
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]
static size_t ggml_bitset_size(size_t n) {
^
./ggml-impl.h:268:13: warning: unused function 'ggml_hash_contains' [-Wunused-function]
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]
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]
static size_t ggml_hash_find_or_insert(struct ggml_hash_set * hash_set, struct ggml_tensor * key) {
^
10 warnings generated.
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]
static bool ggml_op_is_empty(enum ggml_op op) {
^
./ggml-impl.h:141:13: warning: unused function 'ggml_set_op_params' [-Wunused-function]
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]
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]
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]
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]
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]
static size_t ggml_bitset_size(size_t n) {
^
./ggml-impl.h:268:13: warning: unused function 'ggml_hash_contains' [-Wunused-function]
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]
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]
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]
static inline int nearest_int(float fval) {
^
11 warnings generated.
10 warnings generated.
9 warnings generated.
8 warnings generated.
ar rcs libggml.a r_ggml_io.o ggml.o ggml-alloc.o ggml-quants.o ggml-opt.o gguf.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
mkdir -p ../inst/lib
cp libggml.a ../inst/lib/
clang++ -arch arm64 -std=gnu++17 -dynamiclib -Wl,-headerpad_max_install_names -undefined dynamic_lookup -L/Library/Frameworks/R.framework/Resources/lib -L/opt/R/arm64/lib -o ggmlR.so 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 r_ggml_io.o ggml.o ggml-alloc.o ggml-quants.o ggml-opt.o gguf.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 -F/Library/Frameworks/R.framework/.. -framework R -Wl,-framework -Wl,CoreFoundation
duplicate symbol '_ggml_gemv_q2_K_8x8_q8_K' in:
ggml-cpu/repack.o
ggml-cpu/arch/x86/repack.o
duplicate symbol '_ggml_gemm_q2_K_8x8_q8_K' in:
ggml-cpu/repack.o
ggml-cpu/arch/x86/repack.o
duplicate symbol '_ggml_quantize_mat_q8_K_4x8' in:
ggml-cpu/repack.o
ggml-cpu/arch/x86/repack.o
duplicate symbol '_ggml_gemv_iq4_nl_8x8_q8_0' in:
ggml-cpu/repack.o
ggml-cpu/arch/x86/repack.o
duplicate symbol '_ggml_gemm_iq4_nl_8x8_q8_0' in:
ggml-cpu/repack.o
ggml-cpu/arch/x86/repack.o
ld: 5 duplicate symbols for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [ggmlR.so] Error 1
ERROR: compilation failed for package ‘ggmlR’
* removing ‘/Volumes/Builds/packages/big-sur-arm64/results/4.4/ggmlR.Rcheck/ggmlR’