Skip to content

Commit

Permalink
[LibWebRTC] Unreviewed build fix after 265790@main
Browse files Browse the repository at this point in the history
https://bugs.webkit.org/show_bug.cgi?id=258708

Compiler flags were not applied to the list of AVX2 source files because
'webrtc_avx_SOURCES' needs to be evaluated.

* Source/ThirdParty/libwebrtc/CMakeLists.txt:

Canonical link: https://commits.webkit.org/265832@main
  • Loading branch information
dpino authored and jacek-manko-red committed Jul 30, 2024
1 parent d891f8a commit b11c854
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/ThirdParty/libwebrtc/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1866,7 +1866,7 @@ if (WTF_CPU_X86_64 OR WTF_CPU_X86)
Source/webrtc/modules/audio_processing/aec3/vector_math_avx2.cc
Source/webrtc/modules/audio_processing/agc2/rnn_vad/vector_math_avx2.cc
)
set_source_files_properties(webrtc_avx_SOURCES PROPERTIES COMPILE_OPTIONS "-mavx2;-mfma")
set_source_files_properties(${webrtc_avx_SOURCES} PROPERTIES COMPILE_OPTIONS "-mavx2;-mfma")
list(APPEND webrtc_SOURCES ${webrtc_avx_SOURCES})
add_definitions(-DWEBRTC_ENABLE_AVX2)
endif()
Expand Down

0 comments on commit b11c854

Please sign in to comment.