Skip to content
Snippets Groups Projects
Commit 175bec5f authored by Marco Clemencic's avatar Marco Clemencic
Browse files

Fixed manifest.xml generation for external tcmalloc for LCG >= 84

Fixed project_manifest.py to map dependency to tcmalloc (still used in
CMT config) to the new name of the package (gperftools).
This is a temporary hack needed to generate the RPM dependencies
correctly.

See merge request !180
parents 37357379 762985cb
No related branches found
No related tags found
1 merge request!180Fixed manifest.xml generation for external tcmalloc for LCG >= 84
Pipeline #
......@@ -184,6 +184,12 @@ if __name__ == '__main__':
# mapping between LCG_Interface name and RPM name for special cases
rpm_names = {'Expat': 'expat'}
# Hack alert: tcmalloc LCG_interface corresponds to gperftools
# as from LCG 84. We rename the external in that case...
if int(filter(str.isdigit, lcg_version)) >= 84:
rpm_names['tcmalloc'] = 'gperftools'
fix_rpm_name = lambda n: rpm_names.get(n, n)
packages = ET.Element('packages')
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment