Skip to content
Snippets Groups Projects
Commit 7c93a4a2 authored by Dmitri Konstantinov's avatar Dmitri Konstantinov Committed by Dmitri Konstantinov
Browse files

Add temporary(solution) for ROOT internal unuran pacthcing it in not that elegant way

parent 6bfbce93
No related branches found
No related tags found
1 merge request!2932Fixes and updates for gcc-15.1 (SPI-2722)
...@@ -172,6 +172,9 @@ if(ROOT_native_version) ...@@ -172,6 +172,9 @@ if(ROOT_native_version)
IF LCG_TARGET MATCHES mac13 THEN IF LCG_TARGET MATCHES mac13 THEN
-D CLING_CXX_HEADERS=/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1 -D CLING_CXX_HEADERS=/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1
ENDIF ENDIF
BUILD_COMMAND echo "ROOT Build Step"
COMMAND patch -l -p0 -b -i ${CMAKE_CURRENT_SOURCE_DIR}/patches/unuran-1.8.0-root.patch
COMMAND ${MAKE}
DEPENDS Python fftw GSL xrootd numpy tbb blas zlib libxml2 vdt xz gl2ps cfitsio DEPENDS Python fftw GSL xrootd numpy tbb blas zlib libxml2 vdt xz gl2ps cfitsio
IF DEFINED mysql_native_version AND ${ROOT_version} VERSION_LESS 6.34 THEN IF DEFINED mysql_native_version AND ${ROOT_version} VERSION_LESS 6.34 THEN
mysql mysql
......
--- math/unuran/unuran-1.8.0-root/src/methods/pinv.c.orig 2025-04-28 19:35:55.636396517 +0200
+++ math/unuran/unuran-1.8.0-root/src/methods/pinv.c 2025-04-28 19:36:40.540877173 +0200
@@ -76,7 +76,7 @@
double *xval, int use_linear);
static int _unur_pinv_newton_testpoints (double *utest, double ui[], int order);
static int _unur_pinv_linear_testpoints (double *utest, double *ui, int order);
-static int _unur_pinv_cubic_hermite_is_monotone();
+static int _unur_pinv_cubic_hermite_is_monotone(struct unur_gen *gen, double *ui, double *zi, double *xval);
static int _unur_pinv_interval( struct unur_gen *gen, int i, double x, double cdfx );
static int _unur_pinv_lastinterval( struct unur_gen *gen );
#ifdef UNUR_ENABLE_LOGGING
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment