search for: optimflag

Displaying 5 results from an estimated 5 matches for "optimflag".

Did you mean: optimflags
2013 Dec 28
1
make check fails with default libblas
...- This happens in three different systems, one using gcc-4.7.2 (Debian 4.7.2-5) and two with 4.8.2 (Debian 4.8.2-1) - I have configured and compiled R trying to follow debian/rules in the r-base-core package. This is what I do: ## with gcc-4.8 using -O3 or -O2 both lead to the check failure optimflags="-O2 -pipe -g" export CC="gcc -std=gnu99" export CXX=g++ export F77=gfortran export FC=gfortran export CFLAGS=$optimflags export CXXFLAGS=$optimflags export FFLAGS=$optimflags export FCFLAGS=$optimflags export LDFLAGS=-Wl,-O1 ./configure --with-cairo \ --with-jpeglib...
2024 May 21
1
Default CXXFLAGS
On Tue, 21 May 2024 07:08:02 -0500 Dirk Eddelbuettel <edd at debian.org> wrote: > You cannot undo what it is in R's own /etc/R/Makeconf via a > programmatic way via some sort of option or alike. I think this is about the following line in debian/rules: optimflags = `DEB_BUILD_MAINT_OPTIONS=optimize=-lto dpkg-buildflags --get CFLAGS` https://sources.debian.org/src/r-base/4.4.0-2/debian/rules/#L101 ...which later propagares to cxxflags = $(optimflags) and eventually CXXFLAGS="$(cxxflags)" ... ./configure. On Sid, dpkg-buildflags --get CFLAG...
2011 Jan 05
0
Nnet and AIC: selection of a parsimonious parameterisation
...#39;\n') break } else { nn=nn.tmp; AIC=AIC.tmp; RSS=RSS.tmp } } list(choice=sqrt(RSS/100),nparam=sum(nn$wts!=0),AIC=AIC,nn=nn) } #Modified function for optimisation CVnn1 <- function(decay, formula, data, nreps=1, ri, size, linout, skip, maxit, optimFlag=FALSE, alpha) { truth <- log10(data$perf) nn <- nnet(formula, data[ri !=1,], trace=FALSE, size=size, linout=linout, skip=skip, maxit=maxit, Hess = TRUE) RSS=(alpha-1)*sum((truth[ri != 1] - predict(nn, data[ri != 1,]))^2) + alpha* sum((truth[ri == 1] - predict(nn, data[ri...
2024 May 21
1
Default CXXFLAGS
On 21 May 2024 at 13:01, Jeroen Ooms wrote: | Compiling packages with C++ code using the default r-base-dev | configuration on debian:sid shows a lot of: | | cc1plus: warning: '-Werror=' argument | '-Werror=implicit-function-declaration' is not valid for C++ | | Can this flag be removed from R CMD config CXXFLAGS? "No." That was quoting Simon Urbanek from a few
2024 May 21
1
Default CXXFLAGS
...ot undo what it is in R's own /etc/R/Makeconf via a >> programmatic way via some sort of option or alike. > I think this is about the following line in debian/rules: Without having looked in much detail, I guess foer the CXXFLAGS we want dpkg-buildflags --get CXXFLAGS? Best -k > optimflags = `DEB_BUILD_MAINT_OPTIONS=optimize=-lto dpkg-buildflags --get CFLAGS` > https://sources.debian.org/src/r-base/4.4.0-2/debian/rules/#L101 > ...which later propagares to cxxflags = $(optimflags) and > eventually CXXFLAGS="$(cxxflags)" ... ./configure. > On Sid, dpkg-bu...