Skip to content

Conversation

fuhlig1
Copy link
Member

@fuhlig1 fuhlig1 commented Sep 8, 2025

No description provided.

fuhlig1 added 26 commits April 9, 2025 11:02
Fix build system for CMake 4.0.1
Fix build for gcc15

The C code is to old to be compiled using the C standard 23 which is
new default for gcc15.
Use the C standard 17 when compiling geant3.
VecGeom is a parllelized geometry modeller library. It can be used by
ROOT and Geant4.
Pythia6 isn't supported by ROOT any longer.
One of the installed cmake scripts of vecgeom has a runtime dependency
of CMake 3.24. To fix the issues that this breaks when using
CMake < 3.24 during configuration of ROOT we don't allow CMake < 3.24
from the beginning.
With this commit the correct RPATH information is added to the shared
libraries and binaries of all installed packages. For packages not
adding the info already properly we add some CMake variables in our
meta build system to pass the needed information to the CMake based
build system of the individual packages.
With this change the FairSoft installtion is definitely not relocatable
any longer, but it is not clear if it was before.
With the changes the environment varaible (DY)LD_LIBRARY_PATH shouldn't
be needed any longer. But this fact still has to be tested.

This PR fixes FairRootGroup#535
In contrast to the default packages onnxruntime needs newer versions of
CMake (cmake >=3.28) and the compiler (gcc >= 11.1).
For the optional package this is tolerated. The error messages are
meaningful and point to the problem of insufficient versions

Fixes FairRootGroup#510
On some systems the default compiler is to old to compile FairSoft.
Allow using a newer non system compiler by using CMAKE variables which
are properly passed to the package build systems.
Add a patch such that rootcling also uses the specified SDK if defined
with -DCMAKE_OSX_SYSROOT. This allows in some cases to compile older
ROOT versions with newer compiler versions. For example it becomes
possible to compile ROOT 6.30 with Apple Clang 17 on macosx 15.6.
All projects depending on ROOT need also to set CMAKE_OSX_SYSROOT to the
same value used when building ROOT. Otherwise the dictionary generation
may fail. Currently there is no way to automatically extract the
information from the ROOT CMake configuration.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant