From cb9a15eb9d558b2b4b67f9e6806b394f65bff01f Mon Sep 17 00:00:00 2001 From: Dirk Eddelbuettel Date: Wed, 30 Nov 2022 20:15:42 -0600 Subject: [PATCH] Simplify includes and only include RcppArmadillo.h --- inst/include/sgl.h | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/inst/include/sgl.h b/inst/include/sgl.h index a36011e..869a295 100644 --- a/inst/include/sgl.h +++ b/inst/include/sgl.h @@ -21,13 +21,12 @@ #define R_NO_REMAP +//R, Rcpp, RcppArmadillo +#include + //Progress monitor #include -//Rcpp ect -#include -#include -#include // Debugging #ifdef SGL_DEBUG @@ -45,8 +44,10 @@ #else // Do no debugging #define ARMA_NO_DEBUG +#ifndef NDEBUG #define NDEBUG #endif +#endif // Registration helper macros #define STR_VALUE(x) #x @@ -59,11 +60,6 @@ #define CALL_METHOD(METHOD, MODULE, ARGS) {GET_STR_VALUE(FUN_NAME(METHOD,MODULE)), (DL_FUNC) &r_ ## MODULE ## _ ## METHOD, ARGS} -//Support for xl matrices -//#define ARMA_64BIT_WORD - -#include -#include //Boost #include og/gnu/packages/bash.scm'>logtreecommitdiff
AgeCommit message (Expand)Author
2024-12-03gnu: bash: Avoid hang when cross-built for the Hurd....For example, without this patch bash hangs while configuring diffutils. Reproducer: cat >x.awk <<EOF x... repeat 16384 (the actual pipe size) times EOF * gnu/packages/bash.scm (bash): When cross-building for the Hurd, add new "create-pipesize.h" stage. Change-Id: I02c1dcf2d63849626ba3448cd52766db822dc77c Janneke Nieuwenhuizen
2024-12-03gnu: bash-minimal: Support [cross-]build with gcc-14....* gnu/packages/bash-minimal.scm (bash)[arguments]: When building for the 64bit hurd, or cross-building, use "CFLAGS=-g -O2 -Wno-implicit-function-declaration". Change-Id: I1356c0aeac303bdf0254c28815716c83884008a0 Janneke Nieuwenhuizen
2024-09-12gnu: bash-minimal: Add package synopsis....* gnu/packages/bash.scm (bash-minimal): Add package synopsis. Change-Id: I33f12547fca19d096712786a0c33525aa726b343 Signed-off-by: Ludovic Courtès <ludo@gnu.org> Romain GARBAGE
2024-05-01gnu: bats: Update to 1.11.0....* gnu/packages/bash.scm (bats)[version]: Update to 1.11.0. [arguments]<#:builder>: Filter out symlinks in patch-shebang. Change-Id: I74405b99f91172c10b8c81caa0f3f46e1df4d74e Oleg Pykhalov