-
Notifications
You must be signed in to change notification settings - Fork 3
Closed
Description
Hi
I try to install on ARM Mac but I got an error depending on TBB
remotes::install_cran("qs2", type = "source", configure.args = " --with-TBB --with-simd=AVX2", force = T)
Installing 1 packages: qs2
trying URL 'https://cran.rstudio.com/src/contrib/qs2_0.1.1.tar.gz'
Content type 'application/x-gzip' length 924074 bytes (902 KB)
==================================================
downloaded 902 KB
* installing *source* package ‘qs2’ ...
** package ‘qs2’ successfully unpacked and MD5 sums checked
** using staged installation
checking for pkg-config... /opt/homebrew/bin/pkg-config
checking whether the C++ compiler works... yes
checking for C++ compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether clang++ -arch arm64 -std=gnu++17 accepts -g... yes
C++ compiler: clang++ -arch arm64 -std=gnu++17
zstd 1.5.6 library detected -- skipping zstd compilation
Fixed blocksize
Using TBB
Does not require -latomic flag
Using AVX2
configure: creating ./config.status
config.status: creating src/Makevars
** libs
using C++ compiler: ‘Apple clang version 16.0.0 (clang-1600.0.26.3)’
using SDK: ‘MacOSX15.0.sdk’
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/opt/homebrew/include -I'/Library/Frameworks/R.framework/Versions/4.4-arm64/Resources/library/Rcpp/include' -I'/Library/Frameworks/R.framework/Versions/4.4-arm64/Resources/library/stringfish/include' -I'/Library/Frameworks/R.framework/Versions/4.4-arm64/Resources/library/RcppParallel/include' -I/opt/R/arm64/include -std=c++11 -fPIC -falign-functions=64 -Wall -g -O2 -c RcppExports.cpp -o RcppExports.o
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/opt/homebrew/include -I'/Library/Frameworks/R.framework/Versions/4.4-arm64/Resources/library/Rcpp/include' -I'/Library/Frameworks/R.framework/Versions/4.4-arm64/Resources/library/stringfish/include' -I'/Library/Frameworks/R.framework/Versions/4.4-arm64/Resources/library/RcppParallel/include' -I/opt/R/arm64/include -std=c++11 -fPIC -falign-functions=64 -Wall -g -O2 -c qx_functions.cpp -o qx_functions.o
In file included from qx_functions.cpp:1:
./io/filestream_module.h:5:10: fatal error: 'io/io_common.h' file not found
5 | #include "io/io_common.h"
| ^~~~~~~~~~~~~~~~
1 error generated.
make: *** [qx_functions.o] Error 1
ERROR: compilation failed for package ‘qs2’
* removing ‘/Library/Frameworks/R.framework/Versions/4.4-arm64/Resources/library/qs2’
* restoring previous ‘/Library/Frameworks/R.framework/Versions/4.4-arm64/Resources/library/qs2’
The downloaded source packages are in
‘/private/var/folders/k7/pk9ppb456l7c_qx99rf0sqhh0000gn/T/RtmpaSecJM/downloaded_packages’
Warning message:
In i.p(...) : installation of package ‘qs2’ had non-zero exit status
How can we install with multicore on Mac ARM ?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels