-
Notifications
You must be signed in to change notification settings - Fork 580
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
Sacado/ShyLU: Upgrade to Googletest v16 #13849
base: develop
Are you sure you want to change the base?
Conversation
Here is exactly what I did: ``` cd packages/sacado/test/GTestSuite wget https://github.com/google/googletest/archive/refs/tags/v1.16.0.tar.gz tar -xzf v1.16.0.tar.gz rm -rf googletest mv googletest-1.16.0 googletest ``` Signed-off-by: Samuel E. Browne <[email protected]>
Two main differences: 1. Rename `gtest` target to `sacado-gtest` to avoid name collisions 2. Set `gtest_SOURCE_DIR`. Seems to be a bug in googletest, but not 100% sure. Otherwise will get compile errors in gtest, and possible downstream compile errors about type issues within function calls to gtest. Signed-off-by: Samuel E. Browne <[email protected]>
What we _should_ do is to extract this to an included TPL type thing (I believe in the past we tried to put it in commonTools), but that's more work. This is better than it was, as long as the symbolic link doesn't cause issues on any certain types of builds (e.g. Windows). Signed-off-by: Samuel E. Browne <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me.
Status Flag 'Pre-Test Inspection' - Auto Inspected - Inspection is Not Necessary for this Pull Request. |
Status Flag 'Pull Request AutoTester' - Failure: Job PR_aue_srn_at1 on Jenkins server at https://do.sandia.gov/trilinos-ci Does Not Exist
|
Status Flag 'Pull Request AutoTester' - User Requested Retest - Label AT: RETEST will be reset after testing. |
Status Flag 'Pull Request AutoTester' - Testing Jenkins Projects: Pull Request Auto Testing STARTING (click to expand)Build InformationTest Name: PR_gcc-openmpi-openmp
Jenkins Parameters
Build InformationTest Name: PR_aue_srn_at1
Jenkins Parameters
Build InformationTest Name: PR_gcc-openmpi_debug
Jenkins Parameters
Build InformationTest Name: PR_clang
Jenkins Parameters
Build InformationTest Name: PR_cuda
Jenkins Parameters
Build InformationTest Name: PR_intel
Jenkins Parameters
Build InformationTest Name: PR_cuda-uvm
Jenkins Parameters
Using Repos:
Pull Request Author: sebrowne |
@trilinos/sacado
@trilinos/shylu
Motivation
There are configure warnings from the (old) Googletest in Sacado in some CI builds. Want to clean these up where possible to keep our dashboards as relevant as possible.
Testing
I configured, built, and ran the tests for the two packages in question with GCC + OpenMPI.
Additional Information
I pointed the source from ShyLU_NodeTacho into the Sacado snapshot via a symlink to avoid duplication and save repository space. Also of note, I split the commits up such that the modifications to Googletest that are needed to put it into Trilinos are very explicit and obvious.