Skip to content
This repository has been archived by the owner on Nov 17, 2023. It is now read-only.

Fix a build bug on aarch64. #17174

Closed
wants to merge 2 commits into from
Closed

Fix a build bug on aarch64. #17174

wants to merge 2 commits into from

Conversation

TsingWei
Copy link

Description

Fix a build bug on aarch64. #16089

Checklist

Essentials

I finished coding on this PR, just a simple fix.

@TsingWei TsingWei requested a review from szha as a code owner December 25, 2019 16:17
CMakeLists.txt Outdated
@@ -143,6 +143,7 @@ else(MSVC)
check_cxx_compiler_flag("-msse2" SUPPORT_MSSE2)
else()
set(SUPPORT_MSSE2 FALSE)
add_definitions(-DMSHADOW_USE_SSE=0)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should be moved to L178-L182?

if(SUPPORT_MSSE3)
    set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -msse3")
elseif(SUPPORT_MSSE2)
    set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -msse2")
else()
    add_definitions(-DMSHADOW_USE_SSE=0)
endif()

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Right.

Following the instruction of @TaoLv
@TsingWei TsingWei closed this Dec 31, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants