-
Notifications
You must be signed in to change notification settings - Fork 94
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 GTEST to fix gcc 11.2 issues #914
Conversation
The current GTest version is incompatible with gcc 11.2, which has already been mentioned somewhere, see also [2](google/googletest#3219). Since GTest now also follows abseil's live at head philosophy (see [2](https://abseil.io/about/philosophy#upgrade-support)), they advise using the latest commit in master. If we decide against that, we should update to the latest release v1.11.0 with `e2239ee6043f73722e7aa812a459f54a28552929`.
The issue may not be solved in MSVC google/googletest#3311 |
No matter what they say, I'm not sure if I would trust them as we also use GTest in many environments which have proven to create several issues in the past (CUDA, MSVC, and other compilers). I'm fine with updating to the latest version, or the SHA of the current master if it works as expected, though. |
If it works right now, perhaps we could give "live at head" another shot, I'm for that. I'm don't know what can be done about the MSVC issue though. Also, the GTest Github page says they'll soon be adding a dependency on Abseil. I guess that means we'll sooner or later be dependent on it too. |
As Mike says, as recently as 2 months ago I wasn't able to bump GTest to a more recent version due to the MSVC issues. |
To keep all things together. |
What is the reason for using ranlux and not default_random_engine anyways? |
No idea, I use ranlux as copy-paste from some existing ginkgo code |
Same for me, I don't know the reason why we use |
Not sure we should expect any reproducibility qualities from the standard library RNGs, see https://codingnest.com/generating-random-numbers-using-c-standard-library-the-problems/#distributionsarenonportable |
The current GTest version is incompatible with gcc 11.2, which has already been mentioned somewhere, see also [1].
Since GTest now also follows abseil's live at head philosophy (see [2]), they advise using the latest commit in master.
If we decide against that, we should update to the latest release v1.11.0 with
e2239ee6043f73722e7aa812a459f54a28552929
.