Skip to content

[compiler-rt][MSVC] Conditionally remove emupac.cpp for msvc #149823

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 22, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion compiler-rt/lib/builtins/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -591,10 +591,14 @@ set(aarch64_SOURCES
${GENERIC_TF_SOURCES}
${GENERIC_SOURCES}
cpu_model/aarch64.c
aarch64/emupac.cpp
aarch64/fp_mode.c
)

# Append sources specific to AArch64 targets that aren't supported by MSVC.
if(NOT MSVC)
list(APPEND aarch64_SOURCES aarch64/emupac.cpp)
endif()

set(COMPILER_RT_AARCH64_FMV_USES_GLOBAL_CONSTRUCTOR NOT(FUCHSIA OR APPLE))

if (COMPILER_RT_HAS_AARCH64_SME)
Expand Down
Loading