-
Notifications
You must be signed in to change notification settings - Fork 2
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
Update OS to Ubuntu 24.04 and ROOT to 6.34.02 #103
base: main
Are you sure you want to change the base?
Conversation
Now that the TS stuff is fixed, I'm looking at this again. I see in the log that
I dont know what |
I have never seen this before either. It may be caused by our custom runner at UMN shutting down? I'm not sure, you can try to see if it works after trying again. |
Ah I guess so Anyway, I'll re-try again |
There is precedence for not supporting older ldmx-sw versions with newer development container images; however, this is not enforced anywhere. Instead it is simply documented online: https://ldmx-software.github.io/developing/compatibility.html We could do something similar here. Cut a new major version of the development image and point out that you need to use a newer ldmx-sw with the newer development image.
Edit: nevermind, it looks like ldmx-sw just needs some patches after we update the compiler. This makes sense and has been required before. Similar to the linked documentation online, I'd like there to be some detail on why older ldmx-sw versions can't be compiled just in case someone wants to go backward. |
I thought about this a bit over the weekend and I have two more thoughts. I would really like to keep the CI testing back to v4.0 at least, so I would request that you focus on figuring out the necessary patch for v4.0.0 (the easiest case is that its the same patch necessary to get I don't like how I originally implemented by backport solution (basically just using |
Unfortunately, we might need to drop back to building ROOT ourselves :/ We need C++20 for acts but ROOT's build of 6.32.04 uses C++17 which leads to a pile of compilation warnings. For example:
|
I got to the point where ROOT was successfully being configured so I'm pushing my work now. Hopefully it builds successfully. |
I'm getting close to putting this onto main but not making a new release while we test and update ldmx-sw. This would then mean (for a short time), a the OS update would be available under ldmx-sw UpdatesFirst pass, building without additional warnings/checks enabled ( NecessaryIn order to compile, we need only a few more includes. diff --git a/Conditions/include/Conditions/SimpleTableCondition.h b/Conditions/include/Conditions/SimpleTableCondition.h
index d34d930d..b69f81c7 100644
--- a/Conditions/include/Conditions/SimpleTableCondition.h
+++ b/Conditions/include/Conditions/SimpleTableCondition.h
@@ -8,6 +8,7 @@
#include <ostream>
#include <vector>
+#include <cstdint>
#include "Framework/ConditionsObject.h"
#include "Framework/Exception/Exception.h"
diff --git a/TrigScint/src/TrigScint/Firmware/clusterproducer_sw.cxx b/TrigScint/src/TrigScint/Firmware/clusterproducer_sw.cxx
index 140011d9..e3129f1c 100644
--- a/TrigScint/src/TrigScint/Firmware/clusterproducer_sw.cxx
+++ b/TrigScint/src/TrigScint/Firmware/clusterproducer_sw.cxx
@@ -1,5 +1,5 @@
#include <stdio.h>
-
+#include <array>
#include <iostream>
#include "TrigScint/Firmware/clusterproducer.h" WarningsRemember, these are the ones that are present without additional warnings enabled.
Additional WarningsJust copied from prior notes, not sure if still relevant.
|
not sure if this will work, but I'm hoping it does
8bbe76a
to
b46aba5
Compare
The current build is failing because of a typo I made, but after I fix that typo and attempt to build locally, it still fails because GENIE requires
Given the name of the header and @wesketchum comments about requiring ROOT to be built with Pythia6 wrappers, I think this means that this version of GENIE requires not only Pythia6 but a ROOT-wrapped Pythia6. This would mean we would be limited to ROOT 6.30 or earlier1 which I do not want to consider as an option since I want to have a ROOT version that has a standardized RNTuple which I am now realizing is ROOT 6.34.002 so I need to update it again. @wesketchum What do you want to do here? It looks like Pythia6 is still used within the latest GENIE3 but it does look like it is guarded by enable/disable checks. From my perspective there are a few options.
Footnotes
|
drop GENIE and its dep LHAPDF (for now), trying to get a build on DockerHub so its easier to test run the new OS and updated ROOT on other computers
I am adding a new package to the container, here are the details.
Resolves #102
What new packages does this PR add to the development container?
Check List
works nicely.
This fails, but with the problem already known in LDMX-Software/ldmx-sw#1470
Accept that now even with the minimal compiler settings it fails.
--> So I'm blocked here