root: 6.34.02 -> 6.34.04 (#367549)

This commit is contained in:
Dmitry Kalinkin 2025-02-18 00:43:30 -05:00 committed by GitHub
commit 4060243d40
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -11,18 +11,14 @@
coreutils, coreutils,
git, git,
davix, davix,
fftw,
ftgl, ftgl,
gl2ps, gl2ps,
glew, glew,
gnugrep, gnugrep,
gnused, gnused,
gsl, gsl,
gtest,
lapack, lapack,
libX11,
libXpm,
libXft,
libXext,
libGLU, libGLU,
libGL, libGL,
libxcrypt, libxcrypt,
@ -30,6 +26,7 @@
llvm_18, llvm_18,
lsof, lsof,
lz4, lz4,
xorg,
xz, xz,
man, man,
openblas, openblas,
@ -56,7 +53,7 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "root"; pname = "root";
version = "6.34.02"; version = "6.34.04";
passthru = { passthru = {
tests = import ./tests { inherit callPackage; }; tests = import ./tests { inherit callPackage; };
@ -64,7 +61,7 @@ stdenv.mkDerivation rec {
src = fetchurl { src = fetchurl {
url = "https://root.cern.ch/download/root_v${version}.source.tar.gz"; url = "https://root.cern.ch/download/root_v${version}.source.tar.gz";
hash = "sha256-FmvsVi5CDhd6rzEz+j+wn4Ls3avoouGQY0W61EJRP5Q="; hash = "sha256-4yDFNzqOh7sptygJVMqDVa2MQpXPSSNWBvDIsgCss3Q=";
}; };
clad_src = fetchgit { clad_src = fetchgit {
@ -87,12 +84,12 @@ stdenv.mkDerivation rec {
buildInputs = buildInputs =
[ [
davix davix
fftw
ftgl ftgl
giflib giflib
gl2ps gl2ps
glew glew
gsl gsl
gtest
lapack lapack
libjpeg libjpeg
libpng libpng
@ -117,12 +114,12 @@ stdenv.mkDerivation rec {
] ]
++ lib.optionals stdenv.hostPlatform.isDarwin [ apple-sdk.privateFrameworksHook ] ++ lib.optionals stdenv.hostPlatform.isDarwin [ apple-sdk.privateFrameworksHook ]
++ lib.optionals (!stdenv.hostPlatform.isDarwin) [ ++ lib.optionals (!stdenv.hostPlatform.isDarwin) [
libX11
libXpm
libXft
libXext
libGLU libGLU
libGL libGL
xorg.libX11
xorg.libXpm
xorg.libXft
xorg.libXext
]; ];
preConfigure = preConfigure =
@ -135,9 +132,6 @@ stdenv.mkDerivation rec {
substituteInPlace cmake/modules/SearchInstalledSoftware.cmake \ substituteInPlace cmake/modules/SearchInstalledSoftware.cmake \
--replace-fail 'set(lcgpackages ' '#set(lcgpackages ' --replace-fail 'set(lcgpackages ' '#set(lcgpackages '
# Make sure that clad is not downloaded when building
substituteInPlace interpreter/cling/tools/plugins/clad/CMakeLists.txt \
--replace-fail 'UPDATE_COMMAND ""' 'DOWNLOAD_COMMAND "" UPDATE_COMMAND ""'
# Make sure that clad is finding the right llvm version # Make sure that clad is finding the right llvm version
substituteInPlace interpreter/cling/tools/plugins/clad/CMakeLists.txt \ substituteInPlace interpreter/cling/tools/plugins/clad/CMakeLists.txt \
--replace-fail '-DLLVM_DIR=''${LLVM_BINARY_DIR}' '-DLLVM_DIR=''${LLVM_CMAKE_PATH}' --replace-fail '-DLLVM_DIR=''${LLVM_BINARY_DIR}' '-DLLVM_DIR=''${LLVM_CMAKE_PATH}'
@ -151,6 +145,9 @@ stdenv.mkDerivation rec {
# Eliminate impure reference to /System/Library/PrivateFrameworks # Eliminate impure reference to /System/Library/PrivateFrameworks
substituteInPlace core/macosx/CMakeLists.txt \ substituteInPlace core/macosx/CMakeLists.txt \
--replace-fail "-F/System/Library/PrivateFrameworks " "" --replace-fail "-F/System/Library/PrivateFrameworks " ""
# Just like in libpng/12.nix to build the builtin libpng on macOS
substituteInPlace graf2d/asimage/src/libAfterImage/libpng/pngpriv.h \
--replace-fail '<fp.h>' '<math.h>'
'' ''
+ +
lib.optionalString lib.optionalString
@ -167,6 +164,7 @@ stdenv.mkDerivation rec {
"-DCMAKE_INSTALL_LIBDIR=lib" "-DCMAKE_INSTALL_LIBDIR=lib"
"-Dbuiltin_llvm=OFF" "-Dbuiltin_llvm=OFF"
"-Dfail-on-missing=ON" "-Dfail-on-missing=ON"
"-Dfftw3=ON"
"-Dfitsio=OFF" "-Dfitsio=OFF"
"-Dgnuinstall=ON" "-Dgnuinstall=ON"
"-Dmathmore=ON" "-Dmathmore=ON"