We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi,
We are working on adding support for Linux ARM64 for Bioconductor and we faced the following build problem:
############################################################################## ############################################################################## ### ### Running command: ### ### /home/biocbuild/bbs-3.17-bioc/R/bin/R CMD INSTALL Rbec ### ############################################################################## ############################################################################## * installing to library ‘/home/biocbuild/bbs-3.17-bioc/R/library’ * installing *source* package ‘Rbec’ ... ** using staged installation ** libs using C++ compiler: ‘g++ (Ubuntu 11.3.0-1ubuntu1~22.04) 11.3.0’ g++ -std=gnu++14 -I"/home/biocbuild/bbs-3.17-bioc/R/include" -DNDEBUG -I'/home/biocbuild/bbs-3.17-bioc/R/library/Rcpp/include' -I/usr/local/include -fPIC -g -O2 -Wall -c RcppExports.cpp -o RcppExports.o In file included from ../inst/include/Rbec.h:7, from RcppExports.cpp:4: ../inst/include/Rbec_RcppExports.h:14:14: warning: ‘void Rbec::{anonymous}::validateSignature(const char*)’ defined but not used [-Wunused-function] 14 | void validateSignature(const char* sig) { | ^~~~~~~~~~~~~~~~~ g++ -std=gnu++14 -I"/home/biocbuild/bbs-3.17-bioc/R/include" -DNDEBUG -I'/home/biocbuild/bbs-3.17-bioc/R/library/Rcpp/include' -I/usr/local/include -fPIC -g -O2 -Wall -c kmer_dist.cpp -o kmer_dist.o kmer_dist.cpp: In function ‘Rcpp::NumericVector kmer_dist(std::vector<std::__cxx11::basic_string<char> >, std::vector<std::__cxx11::basic_string<char> >, int)’: kmer_dist.cpp:33:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 33 | for(int i=0;i<nseqs;i++) { | ~^~~~~~ g++ -std=gnu++14 -I"/home/biocbuild/bbs-3.17-bioc/R/include" -DNDEBUG -I'/home/biocbuild/bbs-3.17-bioc/R/library/Rcpp/include' -I/usr/local/include -fPIC -g -O2 -Wall -c rcpp_test.cpp -o rcpp_test.o rcpp_test.cpp:3:10: fatal error: emmintrin.h: No such file or directory 3 | #include "emmintrin.h" | ^~~~~~~~~~~~~ compilation terminated. make: *** [/home/biocbuild/bbs-3.17-bioc/R/etc/Makeconf:198: rcpp_test.o] Error 1 ERROR: compilation failed for package ‘Rbec’ * removing ‘/home/biocbuild/bbs-3.17-bioc/R/library/Rbec’
It fails compiling the test due to usage of x86_64 specific import: emmintrin.h.
emmintrin.h
I'll try to provide a PR with a fix !
The text was updated successfully, but these errors were encountered:
Fixes PengfanZhang#4 - Use sse2neon.h for ARM 7/8
a323fa9
Signed-off-by: Martin Tzvetanov Grigorov <[email protected]>
Successfully merging a pull request may close this issue.
Hi,
We are working on adding support for Linux ARM64 for Bioconductor and we faced the following build problem:
It fails compiling the test due to usage of x86_64 specific import:
emmintrin.h
.I'll try to provide a PR with a fix !
The text was updated successfully, but these errors were encountered: