diff options
author | Ben Wiederhake <BenWiederhake.GitHub@gmx.de> | 2022-09-13 20:52:10 +0200 |
---|---|---|
committer | Tim Flynn <trflynn89@pm.me> | 2022-09-18 13:27:24 -0400 |
commit | 8a1e406615fdf4664c006a15671ad7cad0516d22 (patch) | |
tree | abda4415bbe98aa8c0beedb7843038a2141dd6fe /Meta/HeaderCheck | |
parent | 2f7c9915b5870d02f2ca08a34bdde05cf3ab40e1 (diff) | |
download | serenity-8a1e406615fdf4664c006a15671ad7cad0516d22.zip |
HeaderCheck: Disable warning due to LibSoftGPU
Once LibSoftGPU drops this disable, HeaderCheck should remove it, too.
Until then, it is necessary to build at all.
Diffstat (limited to 'Meta/HeaderCheck')
-rw-r--r-- | Meta/HeaderCheck/CMakeLists.txt | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/Meta/HeaderCheck/CMakeLists.txt b/Meta/HeaderCheck/CMakeLists.txt index 86e0d165e1..426bd533de 100644 --- a/Meta/HeaderCheck/CMakeLists.txt +++ b/Meta/HeaderCheck/CMakeLists.txt @@ -1,4 +1,12 @@ execute_process(COMMAND "${CMAKE_CURRENT_SOURCE_DIR}/generate_all.py" "${SERENITY_ARCH}" OUTPUT_VARIABLE SOURCES_STRING) string(REPLACE "\n" ";" SOURCES_LIST ${SOURCES_STRING}) +# TODO: LibSoftGPU does not compile with this warning enabled, so we disable it here. +# Once LibSoftGPU drops this disable, HeaderCheck should remove it, too. In particular, the following error would be generated: +# Userland/Libraries/LibSoftGPU/SIMD.h: In function 'AK::SIMD::f32x4 SoftGPU::ddx(AK::SIMD::f32x4)': +# Userland/Libraries/LibSoftGPU/SIMD.h:71:59: error: SSE vector return without SSE enabled changes the ABI [-Werror=psabi] +# 71 | ALWAYS_INLINE static AK::SIMD::f32x4 ddx(AK::SIMD::f32x4 v) +# | ^ +add_compile_options(-Wno-psabi) + add_library(HeaderCheck OBJECT ${SOURCES_LIST}) |