[arch-commits] Commit in root/trunk (PKGBUILD fix-missing-header.patch)

Konstantin Gizdov kgizdov at gemini.archlinux.org
Tue May 17 20:46:44 UTC 2022


    Date: Tuesday, May 17, 2022 @ 20:46:44
  Author: kgizdov
Revision: 1207730

cuda 11.7

Added:
  root/trunk/fix-missing-header.patch
Modified:
  root/trunk/PKGBUILD

--------------------------+
 PKGBUILD                 |   13 ++++++++-----
 fix-missing-header.patch |   11 +++++++++++
 2 files changed, 19 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2022-05-17 20:15:14 UTC (rev 1207729)
+++ PKGBUILD	2022-05-17 20:46:44 UTC (rev 1207730)
@@ -7,7 +7,7 @@
 pkgbase=root
 pkgname=('root' 'root-cuda')
 pkgver=6.26.02
-pkgrel=1
+pkgrel=2
 pkgdesc='C++ data analysis framework and interpreter from CERN'
 arch=('x86_64')
 url='https://root.cern'
@@ -22,6 +22,7 @@
     'cuda'
     'cudnn'
     'gcc-fortran'
+    'gcc11-fortran'
     'git'
     'go'
     'libxml2'
@@ -97,6 +98,7 @@
     'settings-cuda.cmake'
     'jupyter_notebook_config.py'
     'nbman-for-arch.patch'
+    'fix-missing-header.patch'
     'thisroot.fail'
 )
 sha512sums=('593022ecac14dc057f69ca18ebffef610f5c6064d6c4a7b658cffd26110110f66da2f11cc935b03eca5e557f18cded43f43bdee984660b4f4db1dbe1787bba9f'
@@ -107,6 +109,7 @@
             '9fe8fe72a2c1e86e75f901d80abd184785229949beaa4c7fd3da7ae5aa1e20615b620945f37efeb41377a3641e750be363517871ef35f5826cc0a2a279540bb9'
             '1c905ee7a3f8f5f3f567d957f9be6b503a8631565d4d9b9bfea5e496ef86865c5a8be1a1f8c7842754029879cf0afd2465249f532a116cc43660aa2e460ae682'
             '08037f68fa816debc4e9c16a26c862bc026c8e6ceaf2f5131d1493470599b4eb2b2efeef35249f15392aeff0c22bff59264e8a4ac6c73e4f195046be9d185724'
+            'adc2f07f0df9b001259d19125061bcc129896ce63df68b837ffc160a24839747d0d91959ffc91040669bd41e0998aed34e9c72ea92618086016441eb8f8b1801'
             '3b9e382480b28f60af0b096ac9a42e6ba611b899717988bdebffd5aeabab054e37a28a7421f4a0f39198638c31f56a657a8a9ccc3db54a87daf50d43d35b1ca9')
 
 get_pyver () {
@@ -171,9 +174,9 @@
     mkdir -p "${srcdir}/build-cuda"
     cd "${srcdir}/build-cuda"
 
-    CC=/usr/bin/gcc \
-    CXX=/usr/bin/g++ \
-    FC=/usr/bin/f95 \
+    CC=/usr/bin/gcc-11 \
+    CXX=/usr/bin/g++-11 \
+    FC=/usr/bin/f95-11 \
     cmake -C "${srcdir}/settings-cuda.cmake" \
         ${CUSTOM_CMAKE_FLAGS} \
         ${CUSTOM_CUDA_ARCH} \
@@ -292,6 +295,6 @@
     provides=('root')
     conflicts=('root')
     depends+=('cuda' 'cudnn')
-    optdepends+=('gcc-fortran: Enable the Fortran components of ROOT')
+    optdepends+=('gcc11-fortran: Enable the Fortran components of ROOT')
     _package build-cuda
 }

Added: fix-missing-header.patch
===================================================================
--- fix-missing-header.patch	                        (rev 0)
+++ fix-missing-header.patch	2022-05-17 20:46:44 UTC (rev 1207730)
@@ -0,0 +1,11 @@
+diff --color -aur root-6.26.02-old/tmva/sofie/inc/TMVA/SOFIE_common.hxx root-6.26.02-new/tmva/sofie/inc/TMVA/SOFIE_common.hxx
+--- root-6.26.02-old/tmva/sofie/inc/TMVA/SOFIE_common.hxx	2022-05-17 16:47:05.503723641 +0300
++++ root-6.26.02-new/tmva/sofie/inc/TMVA/SOFIE_common.hxx	2022-05-17 16:47:41.023722760 +0300
+@@ -6,6 +6,7 @@
+ 
+ #include <type_traits>
+ #include <cstdint>
++#include <cstring>
+ #include <string>
+ #include <vector>
+ #include <memory>



More information about the arch-commits mailing list