Skip to content

Commit

Permalink
always use DEBUG for O2 and O2Physics
Browse files Browse the repository at this point in the history
  • Loading branch information
aalkin committed Jul 17, 2024
1 parent 4a73758 commit 040ff93
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion o2.sh
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ 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
Expand Down
5 changes: 5 additions & 0 deletions o2physics.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,11 @@ incremental_recipe: |
mkdir -p $INSTALLROOT/etc/modulefiles && rsync -a --delete etc/modulefiles/ $INSTALLROOT/etc/modulefiles
---
#!/bin/sh
CMAKE_BUILD_TYPE=DEBUG
if [[ $ALIBUILD_O2PHYSICS_TESTS ]]; then
# Impose extra errors.
CXXFLAGS="${CXXFLAGS} -Werror -Wno-error=deprecated-declarations"
fi

# 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
Expand Down

0 comments on commit 040ff93

Please sign in to comment.