Skip to content

Commit

Permalink
[deps] Update is_utf8 to version 1.3.1
Browse files Browse the repository at this point in the history
  • Loading branch information
lpinca committed Feb 24, 2023
1 parent a1c67cb commit bf39850
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 14 deletions.
6 changes: 3 additions & 3 deletions deps/is_utf8/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ cmake_minimum_required(VERSION 3.15)
project(is_utf8
DESCRIPTION "Fast UTF-8 Validation"
LANGUAGES CXX
VERSION 1.3.0
VERSION 1.3.1
)

include(GNUInstallDirs)
Expand All @@ -25,8 +25,8 @@ set(CMAKE_CXX_STANDARD_REQUIRED ON)
set(CMAKE_CXX_EXTENSIONS OFF)
set(CMAKE_MACOSX_RPATH OFF)

set(IS_UTF8_LIB_VERSION "1.3.0" CACHE STRING "is_utf8 library version")
set(IS_UTF8_LIB_SOVERSION "2" CACHE STRING "is_utf8 library soversion")
set(IS_UTF8_LIB_VERSION "1.3.1" CACHE STRING "is_utf8 library version")
set(IS_UTF8_LIB_SOVERSION "1" CACHE STRING "is_utf8 library soversion")

set(IS_UTF8_SOURCE_DIR ${CMAKE_CURRENT_SOURCE_DIR}/src)
add_subdirectory(src)
Expand Down
12 changes: 1 addition & 11 deletions deps/is_utf8/src/is_utf8.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -529,22 +529,12 @@ static inline uint32_t detect_supported_architectures() {
return instruction_set::ALTIVEC;
}
#elif defined(__arm__) || defined(__aarch64__) // incl. armel, armhf, arm64
#if defined(__ARM_NEON)
#elif defined(__aarch64__) || defined(_M_ARM64)
static inline uint32_t detect_supported_architectures() {
return instruction_set::NEON;
}
#else // ARM without NEON
static inline uint32_t detect_supported_architectures() {
return instruction_set::DEFAULT;
}
#endif
#elif defined(__x86_64__) || defined(_M_AMD64) // x64
namespace {
Expand Down

0 comments on commit bf39850

Please sign in to comment.