diff options
Diffstat (limited to 'sci-physics/root/files')
-rw-r--r-- | sci-physics/root/files/root-6.00.01-llvm.patch | 13 | ||||
-rw-r--r-- | sci-physics/root/files/root-6.00.01-nobyte-compile.patch | 33 | ||||
-rw-r--r-- | sci-physics/root/files/root-6.02.05-xrootd4.patch | 11 | ||||
-rw-r--r-- | sci-physics/root/files/root-6.04.06-gsl2.patch | 58 | ||||
-rw-r--r-- | sci-physics/root/files/root-6.04.06-prop-flags.patch | 22 | ||||
-rw-r--r-- | sci-physics/root/files/root-6.12.04-find-oracle-12.patch | 34 | ||||
-rw-r--r-- | sci-physics/root/files/root-6.12.04-no-ocaml.patch | 49 | ||||
-rw-r--r-- | sci-physics/root/files/root-6.12.04-z3.patch | 39 |
8 files changed, 122 insertions, 137 deletions
diff --git a/sci-physics/root/files/root-6.00.01-llvm.patch b/sci-physics/root/files/root-6.00.01-llvm.patch deleted file mode 100644 index c6abb353ee64..000000000000 --- a/sci-physics/root/files/root-6.00.01-llvm.patch +++ /dev/null @@ -1,13 +0,0 @@ -diff --git a/interpreter/llvm/src/Makefile.config.in b/interpreter/llvm/src/Makefile.config.in -index 7633be2..c8756b1 100644 ---- a/interpreter/llvm/src/Makefile.config.in -+++ b/interpreter/llvm/src/Makefile.config.in -@@ -170,6 +170,8 @@ CXXFLAGS += @CXXFLAGS@ - - # Linker flags. - LDFLAGS += @LDFLAGS@ -+NOUNDEF := -Wl,--no-undefined -+LDFLAGS := $(filter-out $(NOUNDEF),$(LDFLAGS)) - - # Path to the library archiver program. - AR_PATH = @AR@ diff --git a/sci-physics/root/files/root-6.00.01-nobyte-compile.patch b/sci-physics/root/files/root-6.00.01-nobyte-compile.patch deleted file mode 100644 index aa58f20686dc..000000000000 --- a/sci-physics/root/files/root-6.00.01-nobyte-compile.patch +++ /dev/null @@ -1,33 +0,0 @@ -diff -Naur root.as-needed/bindings/pyroot/Module.mk root/bindings/pyroot/Module.mk ---- root.as-needed/bindings/pyroot/Module.mk 2011-07-10 10:42:48.991561304 +0400 -+++ root/bindings/pyroot/Module.mk 2011-07-10 10:43:21.493339703 +0400 -@@ -48,8 +48,6 @@ - ROOTPY := $(subst $(MODDIR),$(LPATH),$(ROOTPYS)) - $(LPATH)/%.py: $(MODDIR)/%.py; cp $< $@ - endif --ROOTPYC := $(ROOTPY:.py=.pyc) --ROOTPYO := $(ROOTPY:.py=.pyo) - - # used in the main Makefile - ALLHDRS += $(patsubst $(MODDIRI)/%.h,include/%.h,$(PYROOTH)) -@@ -68,10 +66,8 @@ - include/%.h: $(PYROOTDIRI)/%.h - cp $< $@ - --%.pyc: %.py; python -c 'import py_compile; py_compile.compile( "$<" )' --%.pyo: %.py; python -O -c 'import py_compile; py_compile.compile( "$<" )' - --$(PYROOTLIB): $(PYROOTO) $(PYROOTDO) $(ROOTPY) $(ROOTPYC) $(ROOTPYO) \ -+$(PYROOTLIB): $(PYROOTO) $(PYROOTDO) $(ROOTPY) \ - $(ROOTLIBSDEP) $(PYTHONLIBDEP) - @$(MAKELIB) $(PLATFORM) $(LD) "$(LDFLAGS)" \ - "$(SOFLAGS)" libPyROOT.$(SOEXT) $@ \ -@@ -113,7 +109,7 @@ - - distclean-$(MODNAME): clean-$(MODNAME) - @rm -f $(PYROOTDEP) $(PYROOTDS) $(PYROOTDH) $(PYROOTLIB) \ -- $(ROOTPY) $(ROOTPYC) $(ROOTPYO) $(PYROOTMAP) \ -+ $(ROOTPY) $(PYROOTMAP) \ - $(PYROOTPYD) $(PYTHON64DEP) $(PYTHON64) - - distclean:: distclean-$(MODNAME) diff --git a/sci-physics/root/files/root-6.02.05-xrootd4.patch b/sci-physics/root/files/root-6.02.05-xrootd4.patch deleted file mode 100644 index 0b4a4bef0f2e..000000000000 --- a/sci-physics/root/files/root-6.02.05-xrootd4.patch +++ /dev/null @@ -1,11 +0,0 @@ -https://sft.its.cern.ch/jira/browse/ROOT-6998 ---- root-6.02.05/net/netxng/src/TNetXNGFile.cxx.orig 2015-02-09 11:59:47.000000000 +0300 -+++ root-6.02.05/net/netxng/src/TNetXNGFile.cxx 2015-04-05 11:32:31.893127758 +0300 -@@ -28,6 +28,7 @@ - #include <XrdCl/XrdClFile.hh> - #include <XrdCl/XrdClXRootDResponses.hh> - #include <XrdCl/XrdClDefaultEnv.hh> -+#include <XrdVersion.hh> - #include <iostream> - - //------------------------------------------------------------------------------ diff --git a/sci-physics/root/files/root-6.04.06-gsl2.patch b/sci-physics/root/files/root-6.04.06-gsl2.patch deleted file mode 100644 index 5d9fb102b73c..000000000000 --- a/sci-physics/root/files/root-6.04.06-gsl2.patch +++ /dev/null @@ -1,58 +0,0 @@ -commit ee9964210c56e7c1868618a4434c5340fef38fe4 -Author: Pere Mato <pere.mato@cern.ch> -Date: Tue Dec 15 11:58:24 2015 +0100 - - Fix for ROOT-7776 - Integrate GSL 2.0 in ROOT. Changed the version used when option builtin_gsl=ON to 2.1 (latest production). - -diff --git a/cmake/modules/SearchInstalledSoftware.cmake b/cmake/modules/SearchInstalledSoftware.cmake -index 6f04dad..309a8de 100644 ---- a/cmake/modules/SearchInstalledSoftware.cmake -+++ b/cmake/modules/SearchInstalledSoftware.cmake -@@ -332,7 +332,7 @@ if(mathmore OR builtin_gsl) - endif() - endif() - else() -- set(gsl_version 1.15) -+ set(gsl_version 2.1) - message(STATUS "Downloading and building GSL version ${gsl_version}") - ExternalProject_Add( - GSL -diff --git a/math/mathmore/src/GSLMultiFit.h b/math/mathmore/src/GSLMultiFit.h -index 1d86da5..5b5a887 100644 ---- a/math/mathmore/src/GSLMultiFit.h -+++ b/math/mathmore/src/GSLMultiFit.h -@@ -31,6 +31,7 @@ - #include "gsl/gsl_matrix.h" - #include "gsl/gsl_multifit_nlin.h" - #include "gsl/gsl_blas.h" -+#include "gsl/gsl_version.h" - #include "GSLMultiFitFunctionWrapper.h" - - #include "Math/IFunction.h" -@@ -143,7 +144,11 @@ public: - /// gradient value at the minimum - const double * Gradient() const { - if (fSolver == 0) return 0; -+#if GSL_MAJOR_VERSION > 1 -+ fType->gradient(fSolver->state, fVec); -+#else - gsl_multifit_gradient(fSolver->J, fSolver->f,fVec); -+#endif - return fVec->data; - } - -@@ -154,7 +159,14 @@ public: - unsigned int npar = fSolver->fdf->p; - fCov = gsl_matrix_alloc( npar, npar ); - static double kEpsrel = 0.0001; -+#if GSL_MAJOR_VERSION > 1 -+ gsl_matrix* J = gsl_matrix_alloc(npar,npar); -+ gsl_multifit_fdfsolver_jac (fSolver, J); -+ int ret = gsl_multifit_covar(J, kEpsrel, fCov); -+ gsl_matrix_free(J); -+#else - int ret = gsl_multifit_covar(fSolver->J, kEpsrel, fCov); -+#endif - if (ret != GSL_SUCCESS) return 0; - return fCov->data; - } diff --git a/sci-physics/root/files/root-6.04.06-prop-flags.patch b/sci-physics/root/files/root-6.04.06-prop-flags.patch deleted file mode 100644 index 90db15e21f6d..000000000000 --- a/sci-physics/root/files/root-6.04.06-prop-flags.patch +++ /dev/null @@ -1,22 +0,0 @@ - config/Makefile.in | 6 +++--- - 1 file changed, 3 insertions(+), 3 deletions(-) - -diff --git a/config/Makefile.in b/config/Makefile.in -index 9243c90..a23a4d2 100644 ---- a/config/Makefile.in -+++ b/config/Makefile.in -@@ -64,11 +64,11 @@ HOST := @host@ - USECONFIG := @useconfig@ - MKLIBOPTIONS := @mkliboption@ - --EXTRA_CFLAGS := -Iinclude @cflags@ -+EXTRA_CFLAGS := -Iinclude @cflags@ $(CFLAGS) - USERCONF_CFLAGS:= @usercflags@ --EXTRA_CXXFLAGS := -Iinclude @cflags@ -+EXTRA_CXXFLAGS := -Iinclude @cflags@ $(CXXFLAGS) - USERCONF_CXXFLAGS:= @usercxxflags@ --EXTRA_LDFLAGS := @ldflags@ -+EXTRA_LDFLAGS := @ldflags@ $(LDFLAGS) - WERROR := @werror@ - WINRTDEBUG := @winrtdebug@ - CTORSINITARRAY := @ctorsinitarray@ diff --git a/sci-physics/root/files/root-6.12.04-find-oracle-12.patch b/sci-physics/root/files/root-6.12.04-find-oracle-12.patch new file mode 100644 index 000000000000..242e76d09879 --- /dev/null +++ b/sci-physics/root/files/root-6.12.04-find-oracle-12.patch @@ -0,0 +1,34 @@ +From 7aa8aacad80c75b40bb25bdeccc7cacce9a270ca Mon Sep 17 00:00:00 2001 +From: Guilherme Amadio <amadio@cern.ch> +Date: Mon, 18 Dec 2017 13:32:06 +0100 +Subject: [PATCH] Fix FindOracle.cmake to find version 12.x + +--- + cmake/modules/FindOracle.cmake | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/cmake/modules/FindOracle.cmake b/cmake/modules/FindOracle.cmake +index 24031664a6..b7c8cfbb99 100644 +--- a/cmake/modules/FindOracle.cmake ++++ b/cmake/modules/FindOracle.cmake +@@ -12,7 +12,7 @@ set(ORACLE_FOUND 0) + if(ORACLE_INCLUDE_DIR AND ORACLE_LIBRARY_OCCI) + set(ORACLE_FIND_QUIETLY 1) + endif() +-set(ORACLE_HOME $ENV{ORACLE_DIR}) ++set(ORACLE_HOME $ENV{ORACLE_HOME}) + + IF (ORACLE_PATH_INCLUDES) + SET (ORACLE_INCLUDES_LOCATION ${ORACLE_PATH_INCLUDES}) +@@ -55,7 +55,7 @@ FIND_LIBRARY( + ) + FIND_LIBRARY( + ORACLE_LIBRARY_LNNZ +- NAMES libnnz10 nnz10 libnnz11 nnz11 ociw32 ++ NAMES libnnz10 nnz10 libnnz11 nnz11 libnnz12 nnz12 ociw32 + PATHS ${ORACLE_LIB_LOCATION} + ) + +-- +2.15.1 + diff --git a/sci-physics/root/files/root-6.12.04-no-ocaml.patch b/sci-physics/root/files/root-6.12.04-no-ocaml.patch new file mode 100644 index 000000000000..1d91739f01a0 --- /dev/null +++ b/sci-physics/root/files/root-6.12.04-no-ocaml.patch @@ -0,0 +1,49 @@ +From 7405b8848e7c0d5ddcaa1f27b905b6931dc262e2 Mon Sep 17 00:00:00 2001 +From: Guilherme Amadio <amadio@cern.ch> +Date: Mon, 18 Dec 2017 13:08:14 +0100 +Subject: [PATCH] Disable OCaml bindings in LLVM + +--- + interpreter/llvm/src/cmake/config-ix.cmake | 28 ---------------------------- + 1 file changed, 28 deletions(-) + +diff --git a/interpreter/llvm/src/cmake/config-ix.cmake b/interpreter/llvm/src/cmake/config-ix.cmake +index 6fb589cfd3..d1c9a70d10 100644 +--- a/interpreter/llvm/src/cmake/config-ix.cmake ++++ b/interpreter/llvm/src/cmake/config-ix.cmake +@@ -575,32 +575,4 @@ if(CMAKE_HOST_APPLE AND APPLE) + endif() + endif() + +-# Keep the version requirements in sync with bindings/ocaml/README.txt. +-include(FindOCaml) +-include(AddOCaml) +-if(WIN32) +- message(STATUS "OCaml bindings disabled.") +-else() +- find_package(OCaml) +- if( NOT OCAML_FOUND ) +- message(STATUS "OCaml bindings disabled.") +- else() +- if( OCAML_VERSION VERSION_LESS "4.00.0" ) +- message(STATUS "OCaml bindings disabled, need OCaml >=4.00.0.") +- else() +- find_ocamlfind_package(ctypes VERSION 0.4 OPTIONAL) +- if( HAVE_OCAML_CTYPES ) +- message(STATUS "OCaml bindings enabled.") +- find_ocamlfind_package(oUnit VERSION 2 OPTIONAL) +- set(LLVM_BINDINGS "${LLVM_BINDINGS} ocaml") +- +- set(LLVM_OCAML_INSTALL_PATH "${OCAML_STDLIB_PATH}" CACHE STRING +- "Install directory for LLVM OCaml packages") +- else() +- message(STATUS "OCaml bindings disabled, need ctypes >=0.4.") +- endif() +- endif() +- endif() +-endif() +- + string(REPLACE " " ";" LLVM_BINDINGS_LIST "${LLVM_BINDINGS}") +-- +2.15.1 + diff --git a/sci-physics/root/files/root-6.12.04-z3.patch b/sci-physics/root/files/root-6.12.04-z3.patch new file mode 100644 index 000000000000..04f6edf2c6d5 --- /dev/null +++ b/sci-physics/root/files/root-6.12.04-z3.patch @@ -0,0 +1,39 @@ +From 4445e05660493841b5fb683c7e8a8dc6c08564ac Mon Sep 17 00:00:00 2001 +From: Guilherme Amadio <amadio@cern.ch> +Date: Mon, 18 Dec 2017 11:49:55 +0100 +Subject: [PATCH] Only look for Z3 if necessary + +--- + interpreter/llvm/src/tools/clang/CMakeLists.txt | 9 ++------- + 1 file changed, 2 insertions(+), 7 deletions(-) + +diff --git a/interpreter/llvm/src/tools/clang/CMakeLists.txt b/interpreter/llvm/src/tools/clang/CMakeLists.txt +index 2667b1d689..a1559d9b15 100644 +--- a/interpreter/llvm/src/tools/clang/CMakeLists.txt ++++ b/interpreter/llvm/src/tools/clang/CMakeLists.txt +@@ -186,8 +186,6 @@ if (LIBXML2_FOUND) + set(CLANG_HAVE_LIBXML 1) + endif() + +-find_package(Z3 4.5) +- + include(CheckIncludeFile) + check_include_file(sys/resource.h CLANG_HAVE_RLIMITS) + +@@ -381,11 +379,8 @@ if(NOT CLANG_ENABLE_STATIC_ANALYZER AND (CLANG_ENABLE_ARCMT OR CLANG_ANALYZER_BU + endif() + + if(CLANG_ANALYZER_BUILD_Z3) +- if(Z3_FOUND) +- set(CLANG_ANALYZER_WITH_Z3 1) +- else() +- message(FATAL_ERROR "Cannot find Z3 header file or shared library") +- endif() ++ find_package(Z3 4.5 REQUIRED) ++ set(CLANG_ANALYZER_WITH_Z3 1) + endif() + + if(CLANG_ENABLE_ARCMT) +-- +2.15.1 + |