File tree Expand file tree Collapse file tree 1 file changed +0
-22
lines changed
Expand file tree Collapse file tree 1 file changed +0
-22
lines changed Original file line number Diff line number Diff line change 6464 echo " forcing."
6565fi
6666
67- # This is a dev release, enable some debug cmake configs. Note: it has been
68- # this way since at least 35e1a715. It's difficult to tell when or even if ceph
69- # was ever properly built with debugging configurations for QA as there are
70- # corresponding changes in ceph with the switch to cmake which makes this
71- # challenging to evaluate.
72- #
73- # It's likely that it was wrongly assumed that cmake would set the build type
74- # to Debug because the ".git" directory would be present. This is not the case
75- # because the "make-dist" script (executed below) creates a git tarball that is
76- # used for the actual untar/build. See also:
77- #
78- # https://github.com/ceph/ceph/pull/53800
79- #
80- # Addendum and possibly temporary restriction: only enable these for branches
81- # ending in "-debug".
82- if [[ " $BRANCH " == * -debug ]]; then
83- CEPH_EXTRA_CMAKE_ARGS+=" -DCMAKE_BUILD_TYPE=Debug -DWITH_CEPH_DEBUG_MUTEX=ON"
84- printf ' Added debug cmake configs to branch %s. CEPH_EXTRA_CMAKE_ARGS: %s\n' " $BRANCH " " $CEPH_EXTRA_CMAKE_ARGS "
85- else
86- printf ' No cmake debug options added to branch %s.\n' " $BRANCH "
87- fi
88-
8967# Tentacle is the last release that needs dedicated Crimson builds,
9068# Later releases are able to use Crimson with the default build.
9169# As the "Crimson flavor" is no longer available, we need a *temporary* way
You can’t perform that action at this time.
0 commit comments