Skip to content

Commit

Permalink
Merge branch 'main' into ClangFixes-main-20241111
Browse files Browse the repository at this point in the history
  • Loading branch information
kodiakhq[bot] authored Nov 12, 2024
2 parents e7aeabd + b19011b commit 347a720
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 4 deletions.
6 changes: 5 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -290,8 +290,12 @@ if(ACTS_SETUP_BOOST)
endif()

if(Boost_VERSION VERSION_EQUAL "1.85.0")
set(_boost_version_severity WARNING)
if(ACTS_BUILD_EXAMPLES)
set(_boost_version_severity FATAL_ERROR)
endif()
message(
WARNING
${_boost_version_severity}
"Boost 1.85.0 is known to be broken (https://github.com/boostorg/container/issues/273). Please use a different version."
)
endif()
Expand Down
4 changes: 3 additions & 1 deletion Examples/Python/src/Material.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,9 @@ void addMaterial(Context& ctx) {
{
py::class_<Acts::IMaterialDecorator,
std::shared_ptr<Acts::IMaterialDecorator>>(m,
"IMaterialDecorator");
"IMaterialDecorator")
.def("decorate", py::overload_cast<Surface&>(
&Acts::IMaterialDecorator::decorate, py::const_));
}

{
Expand Down
6 changes: 4 additions & 2 deletions Tests/UnitTests/Core/Surfaces/SurfaceBoundsTests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,15 @@ class SurfaceBoundsStub : public SurfaceBounds {
std::iota(m_values.begin(), m_values.end(), 0);
}

#if defined(__GNUC__) && __GNUC__ == 13 && !defined(__clang__)
#if defined(__GNUC__) && (__GNUC__ == 13 || __GNUC__ == 14) && \
!defined(__clang__)
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Warray-bounds"
#pragma GCC diagnostic ignored "-Wstringop-overflow"
#endif
SurfaceBoundsStub(const SurfaceBoundsStub& other) = default;
#if defined(__GNUC__) && __GNUC__ == 13 && !defined(__clang__)
#if defined(__GNUC__) && (__GNUC__ == 13 || __GNUC__ == 14) && \
!defined(__clang__)
#pragma GCC diagnostic pop
#endif

Expand Down
3 changes: 3 additions & 0 deletions cmake/setup_withdeps.sh.in
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,9 @@ if [[ -d "@Geant4_DIR@" ]]; then
fi
if [[ -d "@DD4hep_DIR@" ]]; then
. @DD4hep_INCLUDE_DIRS@/../bin/thisdd4hep.sh
# Without this, DD4hep's Xerces-C XML parsing fails with:
# > Could not load a transcoding service
export LC_ALL=C
fi
if [[ -d "@podio_DIR@" ]]; then
export LD_LIBRARY_PATH="@podio_LIBRARY_DIR@:${LD_LIBRARY_PATH}"
Expand Down

0 comments on commit 347a720

Please sign in to comment.