From 5db114ca344d9588e1d302c27f177575b54aa8bf Mon Sep 17 00:00:00 2001 From: Hans Schoenemann Date: Wed, 22 May 2024 15:35:48 +0200 Subject: [PATCH] update Singular_jll and SIGCHLD handling --- Project.toml | 4 ++-- deps/src/caller.cpp | 4 ++++ 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/Project.toml b/Project.toml index 812020cd5..f0a1924c5 100644 --- a/Project.toml +++ b/Project.toml @@ -29,8 +29,8 @@ Pidfile = "1.3" Pkg = "1.6" Random = "1.6" RandomExtensions = "0.4.2" -Singular_jll = "~403.216.1603" +Singular_jll = "~404.000.100" Statistics = "1.6" julia = "1.6" lib4ti2_jll = "1.6.10" -libsingular_julia_jll = "=0.44.3" +libsingular_julia_jll = "~0.45.0" diff --git a/deps/src/caller.cpp b/deps/src/caller.cpp index bf58f2aae..f99f984f4 100644 --- a/deps/src/caller.cpp +++ b/deps/src/caller.cpp @@ -5,6 +5,8 @@ #include #include #include +#include + using jlcxx::jlcxx_array_data; @@ -303,7 +305,9 @@ jl_value_t * call_singular_library_procedure(std::string s, } BOOLEAN err; jl_value_t * retObj; + si_set_signals(); leftv ret = ii_CallLibProcM(s.c_str(), args, argtypes, r, err); + si_reset_signals(); if (err) { inerror = 0;