This is an archive of the discontinued LLVM Phabricator instance.

Compiler-rt: Fix MIPS CMake variables set
ClosedPublic

Authored by wzssyqa on Aug 14 2023, 9:58 AM.

Details

Summary

Move the code which set CMake variables for MIPS to
compiler-rt/cmake/base-config-ix.cmake from compiler-rt/CMakeLists.txt.

compiler-rt/CMakeLists.txt includes compiler-rt/cmake/base-config-ix.cmake
very early. If the variables are set in compiler/CMakeLists.txt,
compiler-rt/cmake/base-config-ix.cmake cannot use them.

Diff Detail

Event Timeline

wzssyqa created this revision.Aug 14 2023, 9:58 AM
Herald added a project: Restricted Project. · View Herald TranscriptAug 14 2023, 9:58 AM
wzssyqa requested review of this revision.Aug 14 2023, 9:58 AM
wzssyqa added reviewers: brad, jrtc27, MaskRay.
MaskRay accepted this revision.Aug 20 2023, 9:36 PM
This revision is now accepted and ready to land.Aug 20 2023, 9:36 PM
This revision was automatically updated to reflect the committed changes.
Herald added a project: Restricted Project. · View Herald TranscriptAug 23 2023, 2:06 PM
Herald added a subscriber: Restricted Project. · View Herald Transcript