Skip to content

Commit

Permalink
Merge branch 'main' into feat/mat-deco-python
Browse files Browse the repository at this point in the history
  • Loading branch information
kodiakhq[bot] authored Nov 12, 2024
2 parents 89d5203 + ce00e40 commit 457154a
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 3 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
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 457154a

Please sign in to comment.