From 935df1f2793fb2e9d2a4325e485e71cbe08ac2ba Mon Sep 17 00:00:00 2001 From: Malik Shahzad Muzaffar Date: Mon, 2 Jun 2025 08:57:18 +0200 Subject: [PATCH 1/3] [Do not merge] Testing debug root for ASAN --- root.spec | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/root.spec b/root.spec index a5784445aca..01ce797beed 100644 --- a/root.spec +++ b/root.spec @@ -45,12 +45,8 @@ export CXXFLAGS="${CXXFLAGS} %{arch_build_flags}" cmake ../%{n}-%{realversion} \ -G Ninja \ - -DCMAKE_BUILD_TYPE=%{cmake_build_type} \ -%if %{is_debug_build root/llvm} + -DCMAKE_BUILD_TYPE=Debug \ -DLLVM_BUILD_TYPE=Debug \ -%else - -DLLVM_BUILD_TYPE=Release \ -%endif -DCMAKE_INSTALL_PREFIX="%{i}" \ -DCMAKE_C_COMPILER=gcc \ -DCMAKE_CXX_COMPILER=g++ \ From 8a93b16481faf4b38982ec8e1592d405e0669fa7 Mon Sep 17 00:00:00 2001 From: Malik Shahzad Muzaffar Date: Mon, 2 Jun 2025 14:34:11 +0200 Subject: [PATCH 2/3] Update root.spec --- root.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/root.spec b/root.spec index 01ce797beed..dd9c751455f 100644 --- a/root.spec +++ b/root.spec @@ -46,7 +46,7 @@ export CXXFLAGS="${CXXFLAGS} %{arch_build_flags}" cmake ../%{n}-%{realversion} \ -G Ninja \ -DCMAKE_BUILD_TYPE=Debug \ - -DLLVM_BUILD_TYPE=Debug \ + -DLLVM_BUILD_TYPE=Release \ -DCMAKE_INSTALL_PREFIX="%{i}" \ -DCMAKE_C_COMPILER=gcc \ -DCMAKE_CXX_COMPILER=g++ \ From adcc828f23f5e75aab909139b0c63d375e3bf555 Mon Sep 17 00:00:00 2001 From: Malik Shahzad Muzaffar Date: Mon, 2 Jun 2025 21:45:45 +0200 Subject: [PATCH 3/3] Update root.spec --- root.spec | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/root.spec b/root.spec index dd9c751455f..9d365dcccc7 100644 --- a/root.spec +++ b/root.spec @@ -46,7 +46,7 @@ export CXXFLAGS="${CXXFLAGS} %{arch_build_flags}" cmake ../%{n}-%{realversion} \ -G Ninja \ -DCMAKE_BUILD_TYPE=Debug \ - -DLLVM_BUILD_TYPE=Release \ + -DLLVM_BUILD_TYPE=Debug \ -DCMAKE_INSTALL_PREFIX="%{i}" \ -DCMAKE_C_COMPILER=gcc \ -DCMAKE_CXX_COMPILER=g++ \ @@ -176,9 +176,9 @@ export ROOTSYS="%{i}" ninja -v %{makeprocesses} install # Generate cuda.pcm if CUDA is available -%if 0%{!?without_cuda:1} -echo '#include ' | %{i}/bin/root -b -n -l -%endif +#if 0%{!?without_cuda:1} +#echo '#include ' | %{i}/bin/root -b -n -l +#endif find %{i} -type f -name '*.py' | xargs chmod -x grep -rlI '#!.*python' %{i} | xargs chmod +x