mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 14:41:17 +00:00
root: 6.04.18 -> 6.08.02
This relies on
e9d60c56
('libc++3.7: fix to use with modern compilers')
This commit is contained in:
parent
e9d60c5636
commit
c7bcb99ff2
|
@ -3,11 +3,11 @@
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "root-${version}";
|
name = "root-${version}";
|
||||||
version = "6.04.18";
|
version = "6.08.02";
|
||||||
|
|
||||||
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";
|
||||||
sha256 = "00f3v3l8nimfkcxpn9qpyh3h23na0mi4wkds2y5gwqh8wh3jryq9";
|
sha256 = "0530v1r4rvds52hgb13f00l3phhn76z6vii550mwv8bj3sl5070k";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ cmake pcre pkgconfig python2 zlib lzma gsl ]
|
buildInputs = [ cmake pcre pkgconfig python2 zlib lzma gsl ]
|
||||||
|
@ -16,10 +16,6 @@ stdenv.mkDerivation rec {
|
||||||
;
|
;
|
||||||
|
|
||||||
patches = [
|
patches = [
|
||||||
(fetchpatch {
|
|
||||||
url = "https://github.com/root-mirror/root/commit/ee9964210c56e7c1868618a4434c5340fef38fe4.patch";
|
|
||||||
sha256 = "186i7ni75yvjydy6lpmaplqxfb5z2019bgpbhff1n6zn2qlrff2r";
|
|
||||||
})
|
|
||||||
./sw_vers.patch
|
./sw_vers.patch
|
||||||
|
|
||||||
# this prevents thisroot.sh from setting $p, which interferes with stdenv setup
|
# this prevents thisroot.sh from setting $p, which interferes with stdenv setup
|
||||||
|
|
|
@ -42,12 +42,12 @@ diff --git a/cmake/modules/SetUpMacOS.cmake b/cmake/modules/SetUpMacOS.cmake
|
||||||
@@ -38,27 +24,6 @@ if (CMAKE_SYSTEM_NAME MATCHES Darwin)
|
@@ -38,27 +24,6 @@ if (CMAKE_SYSTEM_NAME MATCHES Darwin)
|
||||||
SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -m64")
|
SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -m64")
|
||||||
SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -m64")
|
SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -m64")
|
||||||
SET(CMAKE_FORTRAN_FLAGS "${CMAKE_FORTRAN_FLAGS} -m64")
|
SET(CMAKE_Fortran_FLAGS "${CMAKE_Fortran_FLAGS} -m64")
|
||||||
- else(${SYSCTL_OUTPUT} MATCHES 64)
|
- else(${SYSCTL_OUTPUT} MATCHES 64)
|
||||||
- MESSAGE(STATUS "Found a 32bit system")
|
- MESSAGE(STATUS "Found a 32bit system")
|
||||||
- SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -m32")
|
- SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -m32")
|
||||||
- SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -m32")
|
- SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -m32")
|
||||||
- SET(CMAKE_FORTRAN_FLAGS "${CMAKE_FORTRAN_FLAGS} -m32")
|
- SET(CMAKE_Fortran_FLAGS "${CMAKE_Fortran_FLAGS} -m32")
|
||||||
- endif(${SYSCTL_OUTPUT} MATCHES 64)
|
- endif(${SYSCTL_OUTPUT} MATCHES 64)
|
||||||
- endif()
|
- endif()
|
||||||
-
|
-
|
||||||
|
|
Loading…
Reference in a new issue