Skip to content
Prev 14448 / 21312 Next

[Bioc-devel] Compilation flags, CHECK errors and BiocNeighbors

The devel build report hasn't posted yet but I took a look at the new 
compiler flag output Herve implemented. The results show tokay2 is 
indeed using

CXX11FLAGS: -O3 -march=native -mtune=native

This is inconsistent with what we have in the R/etc/<arch>/Makeconf for 
both architectures on both tokay1 and tokay2. The Makeconf looks like this:

CXX11 = $(BINPREF)g++ $(M_ARCH)
CXX11FLAGS = -O2 -Wall $(DEBUGFLAG) -mtune=generic
CXX11PICFLAGS =
CXX11STD = -std=gnu++11

I don't know why the Makeconf is not being respected on tokay2. I can 
confirm the inconsistency in an R session -

tokay2:

PS C:\Users\biocbuild\bbs-3.9-bioc\R> ./bin/R CMD config CXX11FLAGS
-O3 -march=native -mtune=native

tokay1:

PS C:\Users\biocbuild\bbs-3.8-bioc\R> ./bin/R CMD config CXX11FLAGS
-O2 -Wall -mtune=generic

I'll work with Herve to resolve this.

Val
On 12/17/18 5:05 PM, Aaron Lun wrote:
This email message may contain legally privileged and/or confidential information.  If you are not the intended recipient(s), or the employee or agent responsible for the delivery of this message to the intended recipient(s), you are hereby notified that any disclosure, copying, distribution, or use of this email message is prohibited.  If you have received this message in error, please notify the sender immediately by e-mail and delete this email message from your computer. Thank you.