Nothing
## Copyright (C) 2010 - 2024 Dirk Eddelbuettel, Romain Francois and Douglas Bates
## Copyright (C) 2017 - 2024 Ching-Chuan Chen
##
## This file is based on flags.R and inline.R from RcppArmadillo.
## This file is part of RcppBlaze.
##
## RcppBlaze is free software: you can redistribute it and/or modify it
## under the terms of the 3-Clause BSD License. You should have received
## a copy of 3-Clause BSD License along with RcppBlaze.
## If not, see https://opensource.org/license/BSD-3-Clause.
RcppBlazeCxxFlags <- function(){
paste0('-I"', system.file("include", package = "RcppBlaze"), '"', sep = "")
}
CxxFlags <- function() cat(RcppBlazeCxxFlags())
# Inline plugin used by sourceCpp.
#' @importFrom Rcpp Rcpp.plugin.maker evalCpp sourceCpp
inlineCxxPlugin <- function() {
openmpFlag <- ifelse(Sys.info()[["sysname"]] == "Darwin", "", "$(SHLIB_OPENMP_CFLAGS)")
getSettings <- Rcpp.plugin.maker(
include.before = "#include <RcppBlaze.h>",
libs = paste(openmpFlag, "$(LAPACK_LIBS) $(BLAS_LIBS) $(FLIBS)"),
package = c("RcppBlaze")
)
settings <- getSettings()
settings$env$PKG_CPPFLAGS <- paste("-I../inst/include", openmpFlag)
return(settings)
}
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.