mirror of
https://github.com/Vita3K/Vita3K.git
synced 2026-07-11 01:34:23 +02:00
Revert "vita3k: Enable AVX for the compiler"
This reverts commit 7f67d1cdcd.
This commit is contained in:
@@ -31,19 +31,6 @@ endif()
|
||||
|
||||
enable_testing()
|
||||
|
||||
# Define the Architecture variable, right now it should only contain "x86_64" or "arm64"
|
||||
include("external/dynarmic/CMakeModules/DetectArchitecture.cmake")
|
||||
# Enable AVX on x86_64
|
||||
if(ARCHITECTURE STREQUAL "x86_64")
|
||||
if(MSVC)
|
||||
string(APPEND CMAKE_C_FLAGS " /arch:AVX")
|
||||
string(APPEND CMAKE_CXX_FLAGS " /arch:AVX")
|
||||
else()
|
||||
string(APPEND CMAKE_C_FLAGS " -mavx -mf16c")
|
||||
string(APPEND CMAKE_CXX_FLAGS " -mavx -mf16c")
|
||||
endif()
|
||||
endif()
|
||||
|
||||
############################
|
||||
########## Boost ###########
|
||||
############################
|
||||
|
||||
Vendored
+3
@@ -38,6 +38,9 @@ if(NOT CMAKE_INSTALL_PREFIX_INITIALIZED_TO_DEFAULT)
|
||||
endif()
|
||||
endif()
|
||||
|
||||
# Define the Architecture variable, right now it should only contain "x86_64" or "arm64"
|
||||
include("dynarmic/CMakeModules/DetectArchitecture.cmake")
|
||||
|
||||
option(CAPSTONE_BUILD_SHARED "Build shared library" OFF)
|
||||
option(CAPSTONE_BUILD_TESTS "Build tests" OFF)
|
||||
option(CAPSTONE_BUILD_CSTOOL "Build cstool" OFF)
|
||||
|
||||
Reference in New Issue
Block a user