-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
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
[r] Resolve interaction between ccache
and package build
#1807
Comments
Should we first demonstrate that the issue persists on current versions? I don't think it is under tiledb dev. |
@eddelbuettel I'll remind myself to test this out with 1.5.0 when we release it. |
As you know I live on So all hail TileDB 2.18 where this is sorted out. I'd close this one. |
@eddelbuettel I will test this out with 2.18 and then close. Thank you! |
In case it matters, my current edd@rob:~$ grep -v "^#" .R/Makevars
PEDANTIC=-pedantic
XTRAFLAGS=-fdiagnostics-color=always
DEBUG_OPTIM=-g -O3
CFLAGS= $(DEBUG_OPTIM) -Wall -pipe $(XTRAFLAGS)
CXXFLAGS= $(DEBUG_OPTIM) -Wall -pipe $(PEDANTIC) $(XTRAFLAGS) $(LTO)
CXX1XFLAGS= $(DEBUG_OPTIM) -Wall -pipe $(PEDANTIC) $(XTRAFLAGS) $(LTO)
CXX11FLAGS= $(DEBUG_OPTIM) -Wall -pipe $(PEDANTIC) $(XTRAFLAGS) $(LTO)
CXX14FLAGS= $(DEBUG_OPTIM) -Wall -pipe $(PEDANTIC) $(XTRAFLAGS) $(LTO)
CXX17FLAGS= $(DEBUG_OPTIM) -Wall -pipe $(PEDANTIC) $(XTRAFLAGS) $(LTO)
CXX20FLAGS= $(DEBUG_OPTIM) -Wall -pipe $(PEDANTIC) $(XTRAFLAGS) $(LTO)
FLAGS=-Wall -O3 -g -pipe $(PEDANTIC) $(XTRAFLAGS)
FFLAGS=-O3 -g0 -Wall -pipe
FCFLAGS=-O3 -g0 -Wall -pipe
VER=-12
CCACHE=ccache
CC=$(CCACHE) gcc$(VER)
CXX=$(CCACHE) g++$(VER)
CXX11=$(CCACHE) g++$(VER) #-std=c++11
CXX14=$(CCACHE) g++$(VER) #-std=c++14
CXX17=$(CCACHE) g++$(VER) #-std=c++17
CXX20=$(CCACHE) g++$(VER) #-std=c++20
SHLIB_CXXLD=$(CCACHE) g++$(VER)
STRIP=-Wl,-S
SHLIB_CXXLDFLAGS = $(STRIP) -shared $(LTO_LD)
SHLIB_CXX11LDFLAGS = $(STRIP) -shared $(LTO_LD)
SHLIB_CXX14LDFLAGS = $(STRIP) -shared $(LTO_LD)
SHLIB_CXX17LDFLAGS = $(STRIP) -shared $(LTO_LD)
SHLIB_CXX20LDFLAGS = $(STRIP) -shared $(LTO_LD)
SHLIB_FCLDFLAGS = $(STRIP) -shared $(LTO_LD)
SHLIB_LDFLAGS = $(STRIP) -shared $(LTO_LD)
FC=$(CCACHE) gfortran
F77=$(CCACHE) gfortran
F95=$(CCACHE) gfortran
edd@rob:~$ |
Follow-on from chanzuckerberg/cellxgene-census#809.
Repro:
If
~/.R/Makevars
does not exist, or lacksccache
lines, this works as intended. However, in the following scenariothen
results in a compile error at the
spdlog
step which includesThe text was updated successfully, but these errors were encountered: