Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ConditionFormats/Serialization: Update eos portable archive to work with boost 1.69.0+ #28893

Conversation

gartung
Copy link
Member

@gartung gartung commented Feb 7, 2020

PR description:

Update eos portable archive to work with boost 1.69.0+
Taken from daldegam/eos-portable-archive#2
This replaces include path to fpclassify.hpp and endian.hpp for changes in 1.69.00 and changes the functions called based on boost version or boost header settings.

PR validation:

ConditionFormats tests?

NB. Updating to boost 1.69.0 also changes the signals interface which breaks the build because libboost_signals is no longer built.

@cmsbuild
Copy link
Contributor

cmsbuild commented Feb 7, 2020

The code-checks are being triggered in jenkins.

@gartung gartung changed the title ConditionFormats/Serialization" Update eos portable archive to work with boost 1.69.0+ ConditionFormats/Serialization: Update eos portable archive to work with boost 1.69.0+ Feb 7, 2020
@cmsbuild
Copy link
Contributor

cmsbuild commented Feb 7, 2020

-code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-28893/13673

  • This PR adds an extra 20KB to repository

Code check has found code style and quality issues which could be resolved by applying following patch(s)

@cmsbuild
Copy link
Contributor

cmsbuild commented Feb 7, 2020

The code-checks are being triggered in jenkins.

@smuzaffar
Copy link
Contributor

thanks @gartung , did not know that it was taken from https://github.com/daldegam/eos-portable-archive . Are there any cms changes on top of daldegam/eos-portable-archive ? How about moving it to external?

FYI @ggovi

@cmsbuild
Copy link
Contributor

cmsbuild commented Feb 7, 2020

+code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-28893/13674

  • This PR adds an extra 24KB to repository

@cmsbuild
Copy link
Contributor

cmsbuild commented Feb 7, 2020

A new Pull Request was created by @gartung (Patrick Gartung) for master.

It involves the following packages:

CondFormats/Serialization

@ggovi, @cmsbuild can you please review it and eventually sign? Thanks.
@mmusich, @seemasharmafnal this is something you requested to watch as well.
@davidlange6, @silviodonato, @fabiocos you are the release manager for this.

cms-bot commands are listed here

@gartung
Copy link
Member Author

gartung commented Feb 7, 2020

I don't know that this was taken from there. I searched github for the error message I am getting trying to build with boost 1.70.0 and found that pull request.

A search of github shows many copies of eos header names.

There are build errors in
CondFormats/Serialization/src/templateInstantiations.cc
that I am trying to understand.

@gartung
Copy link
Member Author

gartung commented Feb 7, 2020

There are two repos on github for eos-portable-archive that have pr's with the update

https://github.com/search?q=eos-portable-archive&type=Repositories

duncanka/eos-portable-archive#2

The second repo at least links to the original project page:

https://archive.codeplex.com/?p=epa

which has a link to the original archive.

My web browser generated a warning about the website though.

@gartung
Copy link
Member Author

gartung commented Feb 7, 2020

The errors I am seeing are for duplicate instantiations which seems to be related to this change

commit 8369ace830dbadbaef3969d4d1f60b466bd560ba
Author: Andreas Pfeiffer <andreas.pfeiffer@cern.ch>
Date:   Fri Oct 3 09:43:36 2014 +0200

    moved template instantiation out of eos files into CondFormats/Serialization lib, added usage of CondFormats/Serialization to BuildFiles who need the lib

@cmsbuild
Copy link
Contributor

cmsbuild commented Feb 7, 2020

The code-checks are being triggered in jenkins.

@cmsbuild
Copy link
Contributor

cmsbuild commented Feb 7, 2020

+code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-28893/13676

  • This PR adds an extra 32KB to repository

@smuzaffar
Copy link
Contributor

@ggovi changes in CondFormats/Serialization looks good and they only effect boost version >= 1.69 which we do not have yet in cmssw. So this PR is safe to go in with boost 1.67 (which is what we have in cmssw).

We have tested these changes with boost version 1.72 ( #28893 (comment) ) and it does not break any thing. I would suggest to merge this in CMSSW and start testing boost 1.72 in DEVEL IB.

@ggovi
Copy link
Contributor

ggovi commented Feb 12, 2020

@smuzaffar
sounds good, thanks!

@ggovi
Copy link
Contributor

ggovi commented Feb 12, 2020

+1

@@ -7,6 +7,7 @@
#include <sstream>
#include <iostream>
#include <memory>
#include <cassert>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@franzoni , @pohsun , @tlampen , @tocheng , @christopheralanwest can you please sign this change for alca?

@@ -1,6 +1,8 @@
#ifndef L1TMuonBarrelParamsAllPublic_h
#define L1TMuonBarrelParamsAllPublic_h

#include <cassert>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@benkrikler, @rekovic can you please sign this ( and https://github.com/cms-sw/cmssw/pull/28893/files#diff-d0dc19617f53a94d299fd1f591d10c6fR10 ) for l1 so that we can proceed with boost 1.72 testing in DEVEL IBs?

@christopheralanwest
Copy link
Contributor

+1

@smuzaffar
Copy link
Contributor

@silviodonato , can we get ths in now? This will help testing boost 1.72 in DEVEL IBs.

@smuzaffar
Copy link
Contributor

@silviodonato , can we get this in? only L1 signatures are missing and changes for L1 are trivial (included just assert header)

@rekovic
Copy link
Contributor

rekovic commented Feb 17, 2020

+1

@cmsbuild
Copy link
Contributor

This pull request is fully signed and it will be integrated in one of the next master IBs (tests are also fine). This pull request will now be reviewed by the release team before it's merged. @davidlange6, @silviodonato, @fabiocos (and backports should be raised in the release meeting by the corresponding L2)

@silviodonato
Copy link
Contributor

+1

@cmsbuild cmsbuild merged commit e1296c0 into cms-sw:master Feb 17, 2020
@gartung gartung deleted the gartung-ConditionFormatSerializartion-update-eos-portable-archive-boost169_ branch March 16, 2020 20:11
bartoszek pushed a commit to bartoszek/eos-portable-archive that referenced this pull request Apr 26, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants