Eigen submodule#3320
Conversation
|
One bit of difference between this and our other submodules: the host for Eigen is Gitlab, not Github, so there was no using relative URLs for it. I chose the https over the ssh URL in the hopes that that would be compatible for more people (even if less flexible for some). That doesn't seem to explain why CI isn't finding the headers and my builds are. I'll try a fresh checkout and see if I can replicate. |
c01f89c to
f255250
Compare
|
Well, that's a bit more serious. Eigen 3.4.0 uses |
|
Time to upgrade clang min? |
It's astonishingly hard to get any idea. Searching for "libc++ invoke_result" leads to a mailing list entry with a broken link to https://libcxx.llvm.org/cxx1z_status.html ; https://libcxx.llvm.org/cxx17_status.html isn't there either. https://releases.llvm.org/12.0.0/projects/libcxx/docs/Cxx1zStatus.html is a thing, but it doesn't seem to exist for 11.0.0 or earlier. https://releases.llvm.org/13.0.0/projects/libcxx/docs/Status/Cxx17.html seems complete enough, but it only lists "First released version" numbers for "Papers", whereas for "Issues" (like 2807, which seems to be the most related to our error here) it only lists "Complete" or not. (and of course that URL has no equivalents for 12.0.0 or earlier) I don't have anything older than clang++-11 locally anymore, and even if I did it wouldn't matter because Ubuntu clang is configured to use libstdc++ rather than libc++.
moosebuild has clang/9.0.1 available, and it seems to be using its own libc++; that would be a start ... Or I can dig through their git history. Okay, finally I had a smart idea. It looks like llvm/llvm-project@bcde6e7 added |
f255250 to
103bdd0
Compare
That's the newest release; it's several months old but it at least has the fix that we had to backport to 3.3.9
103bdd0 to
0d9663c
Compare
|
Looks like we're happy, post-clang-upgrade. |
|
Quick thought: what happens with |
Yes, yes, that would be a good idea. Later ... After I've pushed some ... completely unrelated and unimportant changes ... But seriously, thanks for catching that. I'll add something along the lines of what we've got for MetaPhysicL, I'll do the same for poly2tri while I'm at it, and I'll try out "make dist" after unloading each. |
Also give more specific error messages if there's a submodule missing
|
I was building master for the first time since this was merged (way too long... :( ) and I ran into a issue. My build script has |
I almost never am able to get the submodule update to work, and then seem to wind up in a state where I have to do a fresh clone of the full repo. |
There are no other options required as far as I know. I have multiple repos on different machines and the switchover to the Eigen submodule went fine for all of them. There is one command, |
Are you on an unreliable network by any chance? I cannot recall having any issues with submodules that forced me to make a fresh clone, but I haven't had a download fail in the middle of fetching, either. The switch to the eigen submodule requires a relatively large initial download, so the chances of a failure in the middle of that seem like they'd be greater. |
Thanks, I'll try and remember that one
No this is a pretty reliable network and there were no interruptions when I ran my build script (which does the git submodule command before a git pull and then builds) |
OK, that question was mainly for @boyceg, just curious about the nature of his issues with submodules since I have not experienced what he described. |
|
Oh, sorry, I didn't read carefully to whom you were replying. :( |
I am almost surely just guessing the wrong git submodule command. (IIRC, my experience is that |
is what I type every time I pull and notice there are changes to the submodules. |
|
Hrmmm, I must be doing something else wrong. |
Closes #3244 (if it works for others too) and obviates #3245. Our
make checkand MOOSErun_testsseem happy enough with it on my system, but let's see what CI thinks.I'd like to remove 3.3.9 now that we have 3.4.0 via the new submodule, but I notice we still even have 3.2.9 hanging around, and perhaps there's a reason for that.