Skip to content

Turn soversion ON by default #18861

@lmoureaux

Description

@lmoureaux

Explain what you would like to see improved and how.

ROOT binary distributions don't always enable the soversion option even though it has always been recommended.

ROOT_BUILD_OPTION(soversion OFF "Set version number in sonames (recommended)")

For instance, Conda enables it explicitly and LCG doesn't.

Since this option is recommended and can help prevent subtle bugs caused by version mismatches, it should be enabled by default. Versioning libraries is in any case good practice.

ROOT version

ROOT 6.34.04 from /cvmfs/sft.cern.ch/lcg/releases/ROOT/6.34.04-2bf94/x86_64-el9-gcc14-opt/.
ROOT 6.32.02 from conda-forge.
Own build with last shared commit at cd80527.

Installation method

conda, LCG, source build

Operating system

Linux (all)

Additional context

No response

Metadata

Metadata

Assignees

Type

No type

Projects

Status

Issues

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions