* installing *source* package ‘mlegp’ ...
** package ‘mlegp’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
using C compiler: ‘Apple clang version 14.0.0 (clang-1400.0.29.202)’
using SDK: ‘MacOSX11.3.sdk’
clang -arch arm64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -D__useR__ -DMEXP=607  -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -c SFMT.c -o SFMT.o
clang -arch arm64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -D__useR__ -DMEXP=607  -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -c lbfgs.c -o lbfgs.o
clang -arch arm64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -D__useR__ -DMEXP=607  -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -c mlegp.c -o mlegp.o
In file included from mlegp.c:9:
./matrix_vector.h:346:13: warning: unused function 'printPackedMatrix' [-Wunused-function]
static void printPackedMatrix(const char *fmt, const double *a, int n)
            ^
./matrix_vector.h:360:13: warning: unused function 'printVector' [-Wunused-function]
static void printVector(const char *fmt, const double *b, int m)
            ^
2 warnings generated.
clang -arch arm64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -D__useR__ -DMEXP=607  -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -c mlegp_init.c -o mlegp_init.o
clang -arch arm64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -D__useR__ -DMEXP=607  -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -c nelder_mead_min.c -o nelder_mead_min.o
clang -arch arm64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -D__useR__ -DMEXP=607  -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -c print.c -o print.o
clang -arch arm64 -dynamiclib -Wl,-headerpad_max_install_names -undefined dynamic_lookup -L/Library/Frameworks/R.framework/Resources/lib -L/opt/R/arm64/lib -o mlegp.so SFMT.o lbfgs.o mlegp.o mlegp_init.o nelder_mead_min.o print.o -L/Library/Frameworks/R.framework/Resources/lib -lRlapack -L/Library/Frameworks/R.framework/Resources/lib -lRblas -L/opt/gfortran/lib/gcc/aarch64-apple-darwin20.0/12.2.0 -L/opt/gfortran/lib -lgfortran -lemutls_w -lquadmath -F/Library/Frameworks/R.framework/.. -framework R -Wl,-framework -Wl,CoreFoundation
ld: warning: could not create compact unwind for ___emutls_get_address: registers 23 and 24 not saved contiguously in frame
installing to /Volumes/Builds/packages/big-sur-arm64/results/4.4/mlegp.Rcheck/00LOCK-mlegp/00new/mlegp/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 (mlegp)