This patch contains the relevant changes to GKlib made in SuiteSparse (CHOLMOD) for the version 7.2.0 (https://github.com/DrTimothyAldenDavis/SuiteSparse/commit/8a7641cdb4809533c681417e94f98058c07c5da2). The disabling of signal handling when MATLAB_MEX_FILE is defined is omitted. diff -ur a/CMakeLists.txt b/CMakeLists.txt --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -3,6 +3,8 @@ option(BUILD_SHARED_LIBS "Build shared libraries (.dll/.so) instead of static ones (.lib/.a)" OFF) +find_package ( SuiteSparse_config 7.1.0 REQUIRED ) + get_filename_component(abs "." ABSOLUTE) set(GKLIB_PATH ${abs}) unset(abs) diff -ur a/GKlib.h b/GKlib.h --- a/GKlib.h +++ b/GKlib.h @@ -59,6 +59,24 @@ #include #endif +/* -------------------------------------------------------------------------- */ +/* Added for incorporation into SuiteSparse. + Tim Davis, Oct 31, 2022, Texas A&M University. */ +#include "SuiteSparse_config.h" +#define malloc SuiteSparse_config_malloc +#define calloc SuiteSparse_config_calloc +#define realloc SuiteSparse_config_realloc +#define free(p) \ +{ \ + if ((p) != NULL) \ + { \ + SuiteSparse_config_free (p) ; \ + (p) = NULL ; \ + } \ +} + +/* -------------------------------------------------------------------------- */ + diff -ur a/memory.c b/memory.c --- a/memory.c +++ b/memory.c @@ -108,6 +108,8 @@ /*************************************************************************/ int gk_malloc_init() { + gkmcore = NULL; +#if 0 if (gkmcore == NULL) gkmcore = gk_gkmcoreCreate(); @@ -115,6 +117,7 @@ return 0; gk_gkmcorePush(gkmcore); +#endif return 1; } /option>
path: root/gnu/packages/darwin.scm
AgeCommit message (Expand)Author
2024-10-28gnu: owl: Correct package....This is a follow-up to commit 3566cabecc0337f64b8a3e2ef276a93d99f440c7 which contains a preliminary version of the commit. * gnu/packages/scheme.scm (owl): Improve some fields. [native-inputs]: Drop pandoc. Change-Id: Iba99892b58ffa1c5267e3f7d80912fb1a964e2ed Andreas Enge
2024-10-28gnu: owl: Only build with pandoc on supported systems....* gnu/packages/scheme.scm (owl)[native-inputs]: Only use pandoc as an input on systems where pandoc is supported. Change-Id: I9a7727789d303b07834a689ce917d7ac88172212 Efraim Flashner
2024-10-28gnu: Add owl....* gnu/packages/scheme.scm (owl): New variable. Change-Id: Ibb242bbcdedb92419b59e05635e8a32e85afc24e Signed-off-by: Andreas Enge <andreas@enge.fr> Juliana Sims
2024-10-20gnu: stklos: Update to 2.10....* gnu/packages/scheme.scm (stklos): Update to 2.10. [inputs]: Add gmp, libgc, pcre2, libffi, and readline. [native-inputs]: Add pkg-config. [arguments]<#:configure-flags>: set LDFLAGS flag. Change-Id: Ife374dd60ef17129fa88b7a0940ab914e7b3c396 Co-authored-by: Zheng Junjie <zhengjunjie@iscas.ac.cn> Ashish SHUKLA
2024-09-25gnu: gauche: Fix build, enable TLS, and use gexps....Fixes <https://issues.guix.gnu.org/73113>. There is a known test issue that will be fixed next release: https://github.com/shirok/Gauche/issues/1044 * gnu/packages/scheme.scm (gauche): Fix build failure and enable TLS. [arguments]: Set #:tests? to #f until next release, and add --with-tls configure flag. [inputs]: Add mbedtls. Change-Id: Iceacb882e74f5a8e3e11d663cca51baafbcbeb69 Signed-off-by: Ludovic Courtès <ludo@gnu.org> Antero Mejr
2024-09-03gnu: scm: Update to 5f4....* gnu/packages/scheme.scm (scm): Update to 5f4. Change-Id: I9b758e5ab8c5c53427549f024622649d54d06700 Signed-off-by: Ludovic Courtès <ludo@gnu.org> Artyom V. Poptsov
2024-08-31gnu: stklos: Import the correct set of modules....* gnu/packages/scheme.scm (stklos) [arguments] <modules>: Replace %default-gnu-imported-modules with %default-gnu-modules. Change-Id: Iee99f93cfa5c7fa80694c2ad2ce6f93ccc0c44bf Maxim Cournoyer
2024-08-31build-systems: gnu: Export %default-gnu-imported-modules and %default-gnu-mod......Until now users would have to cargo cult or inspect the private %default-modules variable of (guix build-systems gnu) to discover which modules to include when extending the used modules via the #:modules argument. The renaming was automated via the command: $ git grep -l %gnu-build-system-modules | xargs sed 's/%gnu-build-system-modules/%default-gnu-imported-modules/' -i * guix/build-system/gnu.scm (%gnu-build-system-modules): Rename to... (%default-gnu-imported-modules): ... this. (%default-modules): Rename to... (%default-gnu-modules): ... this. Export. (dist-package, gnu-build, gnu-cross-build): Adjust accordingly. Change-Id: Idef307fff13cb76f3182d782b26e1cd3a5c757ee Maxim Cournoyer