[build] ci: fix platform build regressions

Correct the clean IDD MsQuic archive lookup and enable XSAVE
for MinGW CPU probing.

Compile audio transports with precise floating-point semantics so
finite-value validation remains valid under Clang. Install the OBS
samplerate development dependency.
This commit is contained in:
Geoffrey McRae
2026-11-06 19:46:25 +11:00
parent 8bbf9c3056
commit 4753b3a5c6
5 changed files with 28 additions and 2 deletions

View File

@@ -17,6 +17,16 @@ endif()
if(ENABLE_AUDIO)
list(APPEND TRANSPORT_LGMP_SOURCES audio.c)
if(MSVC)
set_source_files_properties(audio.c PROPERTIES
COMPILE_OPTIONS "/fp:precise"
)
elseif(CMAKE_C_COMPILER_ID MATCHES "GNU|Clang")
set_source_files_properties(audio.c PROPERTIES
COMPILE_OPTIONS "-fno-fast-math"
)
endif()
endif()
add_library(transport_LGMP STATIC ${TRANSPORT_LGMP_SOURCES})

View File

@@ -20,6 +20,16 @@ set(TRANSPORT_NETWORK_SOURCES
video/pyrowave.c
)
if(MSVC)
set_source_files_properties(audio.c PROPERTIES
COMPILE_OPTIONS "/fp:precise"
)
elseif(CMAKE_C_COMPILER_ID MATCHES "GNU|Clang")
set_source_files_properties(audio.c PROPERTIES
COMPILE_OPTIONS "-fno-fast-math"
)
endif()
if(WIN32)
list(APPEND TRANSPORT_NETWORK_SOURCES
platform/windows/auth_crypto.c