doxygen update

improve CMake
This commit is contained in:
Erin Catto 2026-10-20 15:09:15 -07:00
commit 983b7f4ade
17 changed files with 713 additions and 250 deletions

View file

@ -24,16 +24,17 @@ jobs:
- name: ubuntu-gcc
os: ubuntu-latest
test: ./bin/test
# Clang jobs pin the image because each Ubuntu image ships a different set of clang versions
- name: ubuntu-clang
os: ubuntu-latest
args: '-DCMAKE_CXX_COMPILER=clang++-18 -DCMAKE_C_COMPILER=clang-18 -DCMAKE_C_FLAGS="-fsanitize=thread -fno-omit-frame-pointer" -DCMAKE_CXX_FLAGS="-fsanitize=thread -fno-omit-frame-pointer" -DCMAKE_EXE_LINKER_FLAGS="-fsanitize=thread"'
os: ubuntu-26.04
args: '-DCMAKE_CXX_COMPILER=clang++-20 -DCMAKE_C_COMPILER=clang-20 -DCMAKE_C_FLAGS="-fsanitize=thread -fno-omit-frame-pointer" -DCMAKE_CXX_FLAGS="-fsanitize=thread -fno-omit-frame-pointer" -DCMAKE_EXE_LINKER_FLAGS="-fsanitize=thread"'
test: ./bin/test
# Runner speed varies about 3x by region and MSan at -O0 can exceed the timeout on the slow ones.
# -O1 is the level MSan recommends and Debug keeps asserts. Line buffering shows per test timing.
- name: ubuntu-clang-msan
os: ubuntu-latest
os: ubuntu-26.04
timeout: 10
args: '-DCMAKE_CXX_COMPILER=clang++-18 -DCMAKE_C_COMPILER=clang-18 -DCMAKE_C_FLAGS="-O1 -fsanitize=memory -fsanitize-memory-track-origins=1 -fno-omit-frame-pointer" -DCMAKE_CXX_FLAGS="-O1 -fsanitize=memory -fsanitize-memory-track-origins=1 -fno-omit-frame-pointer" -DCMAKE_EXE_LINKER_FLAGS="-fsanitize=memory"'
args: '-DCMAKE_CXX_COMPILER=clang++-20 -DCMAKE_C_COMPILER=clang-20 -DCMAKE_C_FLAGS="-O1 -fsanitize=memory -fsanitize-memory-track-origins=1 -fno-omit-frame-pointer" -DCMAKE_CXX_FLAGS="-O1 -fsanitize=memory -fsanitize-memory-track-origins=1 -fno-omit-frame-pointer" -DCMAKE_EXE_LINKER_FLAGS="-fsanitize=memory"'
test: lscpu | grep 'Model name'; nproc; stdbuf -oL ./bin/test
msan-options: abort_on_error=1:halt_on_error=1
- name: macos
@ -45,7 +46,6 @@ jobs:
msvc: true
args: -DBOX3D_SANITIZE=ON
test: ./bin/Debug/test
# Box3D is width-4 SIMD only, so this covers the clang-cl toolchain, not AVX2.
- name: windows-clang-cl
os: windows-latest
msvc: true