* installing *source* package ‘ggmlR’ ...
** this is package ‘ggmlR’ version ‘0.8.4’
** package ‘ggmlR’ successfully unpacked and MD5 sums checked
** using staged installation
Checking for Vulkan support...
Note: Vulkan GPU support not enabled (optional dependencies not found).
To enable Vulkan acceleration, install:
Ubuntu/Debian: sudo apt install libvulkan-dev glslc
Other systems: https://vulkan.lunarg.com/sdk/home
Building CPU-only version.
SIMD: disabled (default). Use --with-simd to enable.
Checking OpenMP support...
OpenMP not available, using pthreads fallback
Detecting CPU architecture...
Non-x86 architecture (arm64), using generic CPU fallbacks
Generating src/Makevars...
Syncing public headers to inst/include/...
Configuration complete.
Vulkan: disabled
SIMD: disabled
Hard exit: disabled (default; --enable-hard-exit to enable)
** libs
specified C++17
using C compiler: ‘Apple clang version 17.0.0 (clang-1700.3.19.1)’
using C++ compiler: ‘Apple clang version 17.0.0 (clang-1700.3.19.1)’
using C++17
using SDK: ‘MacOSX14.5.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_CPU_GENERIC -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_CPU_GENERIC -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_CPU_GENERIC -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_CPU_GENERIC -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_CPU_GENERIC -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_CPU_GENERIC -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_CPU_GENERIC -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_CPU_GENERIC -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_gguf.c -o r_interface_gguf.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_CPU_GENERIC -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_custom.c -o r_interface_custom.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_CPU_GENERIC -DGGML_R_PACKAGE -include r_ggml_compat.h -I/opt/R/arm64/include -fPIC -falign-functions=64 -Wall -g -O2 -c r_custom_kernels.c -o r_custom_kernels.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_CPU_GENERIC -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_umap_sgd.c -o r_umap_sgd.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_CPU_GENERIC -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_backend_ops_test.cpp -o r_backend_ops_test.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_CPU_GENERIC -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_CPU_GENERIC -DGGML_R_PACKAGE -include r_ggml_compat.h -I/opt/R/arm64/include -fPIC -falign-functions=64 -Wall -g -O2 -c ggml-private.c -o ggml-private.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_CPU_GENERIC -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_CPU_GENERIC -DGGML_R_PACKAGE -include r_ggml_compat.h -I/opt/R/arm64/include -fPIC -falign-functions=64 -Wall -g -O2 -c ggml-quants-legacy.c -o ggml-quants-legacy.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_CPU_GENERIC -DGGML_R_PACKAGE -include r_ggml_compat.h -I/opt/R/arm64/include -fPIC -falign-functions=64 -Wall -g -O2 -c ggml-quants-iq.c -o ggml-quants-iq.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_CPU_GENERIC -DGGML_R_PACKAGE -include r_ggml_compat.h -I/opt/R/arm64/include -fPIC -falign-functions=64 -Wall -g -O2 -c ggml-quants-validate.c -o ggml-quants-validate.o
ggml-alloc.c:106:13: warning: unused function 'ggml_buffer_address_less' [-Wunused-function]
106 | static bool ggml_buffer_address_less(struct buffer_address a, struct buffer_address b) {
| ^~~~~~~~~~~~~~~~~~~~~~~~
ggml-quants-iq.c:1986:12: warning: unused function 'iq1_find_best_neighbour' [-Wunused-function]
1986 | static int iq1_find_best_neighbour(const uint16_t * GGML_RESTRICT neighbours, const uint64_t * GGML_RESTRICT grid,
| ^~~~~~~~~~~~~~~~~~~~~~~
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_CPU_GENERIC -DGGML_R_PACKAGE -include r_ggml_compat.h -I/opt/R/arm64/include -fPIC -falign-functions=64 -Wall -g -O2 -c ggml-quants-new.c -o ggml-quants-new.o
In file included from ggml-private.c:8:
./ggml-graph.c:106:26: warning: unused function 'ggml_new_hash_map' [-Wunused-function]
106 | static struct hash_map * ggml_new_hash_map(size_t size) {
| ^~~~~~~~~~~~~~~~~
./ggml-graph.c:113:13: warning: unused function 'ggml_hash_map_free' [-Wunused-function]
113 | 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_CPU_GENERIC -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
1 warning 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_CPU_GENERIC -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
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_CPU_GENERIC -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
In file included from ggml-opt.cpp:20:
/Library/Frameworks/R.framework/Resources/include/R_ext/Print.h:64:33: warning: 'format' attribute argument not supported: r_ggml_printf [-Wignored-attributes]
64 | void Rprintf(const char *, ...) R_PRINTF_FORMAT(1, 2);
| ^
/Library/Frameworks/R.framework/Resources/include/R_ext/Print.h:58:48: note: expanded from macro 'R_PRINTF_FORMAT'
58 | # define R_PRINTF_FORMAT(M,N) __attribute__ ((format (printf, M, N)))
| ^
/Library/Frameworks/R.framework/Resources/include/R_ext/Print.h:65:34: warning: 'format' attribute argument not supported: r_ggml_printf [-Wignored-attributes]
65 | void REprintf(const char *, ...) R_PRINTF_FORMAT(1, 2);
| ^
/Library/Frameworks/R.framework/Resources/include/R_ext/Print.h:58:48: note: expanded from macro 'R_PRINTF_FORMAT'
58 | # define R_PRINTF_FORMAT(M,N) __attribute__ ((format (printf, M, N)))
| ^
/Library/Frameworks/R.framework/Resources/include/R_ext/Print.h:69:40: warning: 'format' attribute argument not supported: r_ggml_printf [-Wignored-attributes]
69 | void Rvprintf(const char *, R_VA_LIST) R_PRINTF_FORMAT(1, 0);
| ^
/Library/Frameworks/R.framework/Resources/include/R_ext/Print.h:58:48: note: expanded from macro 'R_PRINTF_FORMAT'
58 | # define R_PRINTF_FORMAT(M,N) __attribute__ ((format (printf, M, N)))
| ^
/Library/Frameworks/R.framework/Resources/include/R_ext/Print.h:70:41: warning: 'format' attribute argument not supported: r_ggml_printf [-Wignored-attributes]
70 | void REvprintf(const char *, R_VA_LIST) R_PRINTF_FORMAT(1, 0);
| ^
/Library/Frameworks/R.framework/Resources/include/R_ext/Print.h:58:48: note: expanded from macro 'R_PRINTF_FORMAT'
58 | # define R_PRINTF_FORMAT(M,N) __attribute__ ((format (printf, M, N)))
| ^
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_CPU_GENERIC -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
2 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_CPU_GENERIC -DGGML_R_PACKAGE -include r_ggml_compat.h -I/opt/R/arm64/include -fPIC -falign-functions=64 -Wall -g -O2 -c ggml-backend-meta.cpp -o ggml-backend-meta.o
1 warning 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_CPU_GENERIC -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_CPU_GENERIC -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
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_CPU_GENERIC -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
ggml-cpu/ggml-cpu-backend.c:615:17: warning: unused function 'ggml_get_numa_affinity' [-Wunused-function]
615 | static uint32_t ggml_get_numa_affinity(void) {
| ^~~~~~~~~~~~~~~~~~~~~~
ggml-cpu/ggml-cpu-backend.c:729:13: warning: unused function 'ggml_init_riscv_arch_features' [-Wunused-function]
729 | static void ggml_init_riscv_arch_features(void) {}
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
4 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_CPU_GENERIC -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
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_CPU_GENERIC -DGGML_R_PACKAGE -include r_ggml_compat.h -I/opt/R/arm64/include -fPIC -falign-functions=64 -Wall -g -O2 -c ggml-cpu/ops-private.cpp -o ggml-cpu/ops-private.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_CPU_GENERIC -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
2 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_CPU_GENERIC -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/ops-private.cpp:4:
ggml-cpu/ops-elemwise.cpp:1971:19: warning: unused variable 'ne14' [-Wunused-variable]
1971 | const int64_t ne14 = src1->ne[4];
| ^~~~
ggml-cpu/ops-elemwise.cpp:2023:19: warning: unused variable 'ne14' [-Wunused-variable]
2023 | const int64_t ne14 = src1->ne[4];
| ^~~~
ggml-cpu/ops-elemwise.cpp:2075:19: warning: unused variable 'ne14' [-Wunused-variable]
2075 | const int64_t ne14 = src1->ne[4];
| ^~~~
ggml-cpu/ops-elemwise.cpp:2127:19: warning: unused variable 'ne14' [-Wunused-variable]
2127 | const int64_t ne14 = src1->ne[4];
| ^~~~
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_CPU_GENERIC -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
In file included from ggml-cpu/ops-private.cpp:7:
ggml-cpu/ops-ssm.cpp:1316:19: warning: unused variable 'n_C_el' [-Wunused-variable]
1316 | const int64_t n_C_el = ggml_nelements(src5);
| ^~~~~~
ggml-cpu/binary-ops.cpp:80:19: warning: unused variable 'ne04' [-Wunused-variable]
80 | const int64_t ne04 = src0->ne[4];
| ^~~~
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_CPU_GENERIC -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
ggml-cpu/unary-ops.cpp:121:19: warning: unused variable 'ne04' [-Wunused-variable]
121 | const int64_t ne04 = src0->ne[4];
| ^~~~
ggml-cpu/unary-ops.cpp:207:19: warning: unused variable 'ne04' [-Wunused-variable]
207 | const int64_t ne04 = src0->ne[4];
| ^~~~
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_CPU_GENERIC -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
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_CPU_GENERIC -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
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_CPU_GENERIC -DGGML_R_PACKAGE -include r_ggml_compat.h -I/opt/R/arm64/include -fPIC -falign-functions=64 -Wall -g -O2 -c onnx/onnx_loader.c -o onnx/onnx_loader.o
onnx/onnx_loader.c:65:17: warning: unused function 'pb_read_fixed64' [-Wunused-function]
65 | static uint64_t pb_read_fixed64(pb_reader_t *r) {
| ^~~~~~~~~~~~~~~
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_CPU_GENERIC -DGGML_R_PACKAGE -include r_ggml_compat.h -I/opt/R/arm64/include -fPIC -falign-functions=64 -Wall -g -O2 -c onnx/onnx_ggml.c -o onnx/onnx_ggml.o
onnx/onnx_ggml.c:1119:21: warning: unused variable 'HW' [-Wunused-variable]
1119 | int HW = p->H * p->W;
| ^~
1 warning 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_CPU_GENERIC -DGGML_R_PACKAGE -include r_ggml_compat.h -I/opt/R/arm64/include -fPIC -falign-functions=64 -Wall -g -O2 -c onnx/onnx_ops_basic.c -o onnx/onnx_ops_basic.o
1 warning 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_CPU_GENERIC -DGGML_R_PACKAGE -include r_ggml_compat.h -I/opt/R/arm64/include -fPIC -falign-functions=64 -Wall -g -O2 -c onnx/onnx_ops_tensor.c -o onnx/onnx_ops_tensor.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_CPU_GENERIC -DGGML_R_PACKAGE -include r_ggml_compat.h -I/opt/R/arm64/include -fPIC -falign-functions=64 -Wall -g -O2 -c onnx/onnx_ops_nn.c -o onnx/onnx_ops_nn.o
1 warning 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_CPU_GENERIC -DGGML_R_PACKAGE -include r_ggml_compat.h -I/opt/R/arm64/include -fPIC -falign-functions=64 -Wall -g -O2 -c onnx/onnx_ops_quant.c -o onnx/onnx_ops_quant.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_CPU_GENERIC -DGGML_R_PACKAGE -include r_ggml_compat.h -I/opt/R/arm64/include -fPIC -falign-functions=64 -Wall -g -O2 -c onnx/onnx_ops_special.c -o onnx/onnx_ops_special.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_CPU_GENERIC -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 onnx/r_onnx.c -o onnx/r_onnx.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_CPU_GENERIC -DGGML_R_PACKAGE -include r_ggml_compat.h -I/opt/R/arm64/include -fPIC -falign-functions=64 -Wall -g -O2 -c onnx/rel_pos_bias.c -o onnx/rel_pos_bias.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_CPU_GENERIC -DGGML_R_PACKAGE -include r_ggml_compat.h -I/opt/R/arm64/include -fPIC -falign-functions=64 -Wall -g -O2 -c onnx/roi_align.c -o onnx/roi_align.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_CPU_GENERIC -DGGML_R_PACKAGE -include r_ggml_compat.h -I/opt/R/arm64/include -fPIC -falign-functions=64 -Wall -g -O2 -c onnx/nms.c -o onnx/nms.o
2 warnings generated.
5 warnings generated.
mkdir -p ../inst/lib
rm -f ../inst/lib/libggml.a
ar rcs ../inst/lib/libggml.a r_ggml_io.o ggml-private.o ggml-alloc.o ggml-quants-legacy.o ggml-quants-iq.o ggml-quants-validate.o ggml-quants-new.o ggml-opt.o gguf.o ggml-backend.o ggml-backend-reg.o ggml-backend-meta.o ggml-threading.o ggml-cpu/traits.o ggml-cpu/ggml-cpu-backend.o ggml-cpu/ggml-cpu.o ggml-cpu/ops-private.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
strip --strip-debug ../inst/lib/libggml.a 2>/dev/null || true
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_interface_gguf.o r_interface_custom.o r_custom_kernels.o r_umap_sgd.o r_backend_ops_test.o r_ggml_io.o ggml-private.o ggml-alloc.o ggml-quants-legacy.o ggml-quants-iq.o ggml-quants-validate.o ggml-quants-new.o ggml-opt.o gguf.o ggml-backend.o ggml-backend-reg.o ggml-backend-meta.o ggml-threading.o ggml-cpu/traits.o ggml-cpu/ggml-cpu-backend.o ggml-cpu/ggml-cpu.o ggml-cpu/ops-private.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 onnx/onnx_loader.o onnx/onnx_ggml.o onnx/onnx_ops_basic.o onnx/onnx_ops_tensor.o onnx/onnx_ops_nn.o onnx/onnx_ops_quant.o onnx/onnx_ops_special.o onnx/r_onnx.o onnx/rel_pos_bias.o onnx/roi_align.o onnx/nms.o -lpthread -lm -F/Library/Frameworks/R.framework/.. -framework R
installing to /Volumes/Builds/packages/sonoma-arm64/results/4.6/ggmlR.Rcheck/00LOCK-ggmlR/00new/ggmlR/libs
** generating debug symbols (dSYM)
** R
** inst
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
** building package indices
** installing vignettes
** 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)