From 0ee5b4929650fd8d52c1bcfd16e2656d0cf55736 Mon Sep 17 00:00:00 2001 From: saganatt <8majak8@gmail.com> Date: Thu, 21 Apr 2022 11:55:08 +0200 Subject: [PATCH] Hardcode O2 and O2Physics to always compile in DEBUG mode --- o2.sh | 2 ++ o2physics.sh | 2 ++ 2 files changed, 4 insertions(+) diff --git a/o2.sh b/o2.sh index 1dc7f61df5..dda15f73c6 100644 --- a/o2.sh +++ b/o2.sh @@ -138,6 +138,8 @@ valid_defaults: #!/bin/sh export ROOTSYS=$ROOT_ROOT +CMAKE_BUILD_TYPE=DEBUG + # Making sure people do not have SIMPATH set when they build fairroot. # Unfortunately SIMPATH seems to be hardcoded in a bunch of places in # fairroot, so this really should be cleaned up in FairRoot itself for diff --git a/o2physics.sh b/o2physics.sh index 6e14b0c35b..56fcdf6682 100644 --- a/o2physics.sh +++ b/o2physics.sh @@ -19,6 +19,8 @@ incremental_recipe: | --- #!/bin/sh +CMAKE_BUILD_TYPE=DEBUG + # When O2 is built against Gandiva (from Arrow), then we need to use # -DLLVM_ROOT=$CLANG_ROOT, since O2's CMake calls into Gandiva's # -CMake, which requires it.