Upgrade googletest to v1.16.0, the last release supporting C++14
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 50/100
- Tipo di issue
- Funzionalità
- Chiarezza
- Specificata chiaramente
- Stato di attività
- Attiva
- Stack tecnologico
- cmake, cpp, github-actions
- Ambito
- build-system, testing
Direzione di ricerca
Start by reading verification/CMakePresets.json and verification/cmake/modules/Findgtest.cmake, then inspect the submodules/googletest pin and its current revision. Move it to v1.16.0, add the stated C++14 compatibility comment, and run all 40 verification presets in ghcr.io/opencyphal/toolshed:ts26.4.5; done means every workflow passes while the C++14 flavours still compile with C++14.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Summary
Upgrade the submodules/googletest pin from v1.15.2 to v1.16.0, and make it the last googletest upgrade while Nunavut verifies C++14 output.
Why this is the last one
googletest v1.17.0 and later require C++17:
| Release | README |
|---|---|
| v1.15.2 (current) | "The 1.15.x branch requires at least C++14." |
| v1.16.0 | "The 1.16.x branch requires at least C++14." |
| v1.17.0 | "The 1.17.x branch requires at least C++17." |
| v1.18.0 | "requires at least C++17" |
The cpp-14 and cetl-14-17 verification flavours compile gtest tests as C++14 (test_serialization, test_bitarray, test_compiles, test_large_bitset, test_unionant, test_unionant_c++14, test_constant, and for cetl-14-17 also test_array_cetl++14-17 and test_unionant_pmr). With googletest 1.17 or newer, those flavours would have to compile their tests as C++17, and Nunavut would no longer verify its C++14 output natively. Only the arm-none-eabi test_armv7m build, which doesn't use gtest, would still compile it as C++14.
v1.16.0 is the newest googletest that still supports C++14. There is no later 1.16.x patch release.
Work
- Move
submodules/googletestto thev1.16.0tag. - Run every verification workflow (
verification/CMakePresets.json, all 40, inghcr.io/opencyphal/toolshed:ts26.4.5) and fix any regressions. - Add a comment next to the googletest submodule, or in
verification/cmake/modules/Findgtest.cmake, saying that 1.16.x is the last C++14-compatible line and must not be upgraded past it while the C++14 flavours exist.
Later
Moving past v1.16.x depends on a separate decision: dropping C++14 verification, or verifying C++14 without gtest.
- Lingua principale
- Python
- Stelle
- 48
- Fork
- 26
- Merge medio
- 1g 18h
- PR unite (30g)
- 9
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Nessun modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di OpenCyphal/nunavut
-
build and test dependencies
Difficoltà 4/5 3-5 giorni Idoneità per principianti 55/100
OpenCyphal/nunavut#419 ·
I maintainer di solito rispondono entro 1 giorno
-
build and test Python
Difficoltà 4/5 3-5 giorni Idoneità per principianti 45/100
OpenCyphal/nunavut#416 ·
I maintainer di solito rispondono entro 1 giorno
-
C C++ Python
Difficoltà 4/5 3-5 giorni Idoneità per principianti 52/100
OpenCyphal/nunavut#414 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
feature under consideration
Difficoltà 5/5 Più di una settimana Idoneità per principianti 32/100
OpenCyphal/nunavut#413 ·
I maintainer di solito rispondono entro 1 giorno
-
Python
Difficoltà 4/5 3-5 giorni Idoneità per principianti 45/100
OpenCyphal/nunavut#412 ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di OpenCyphal/nunavut
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 64/100
cal-itp/data-infra#5887 ·
I maintainer di solito rispondono entro 1 giorno
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
ranacseruet/vaice#139 ·
I maintainer di solito rispondono entro 1 giorno
-
numpy.bytes_ attributes are recorded as a truncated repr instead of their contentForse già presa @JoeyTan21 l’ha presa oggi. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
batocera-linux/batocera.linux#17423 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100