File tree Expand file tree Collapse file tree 2 files changed +4
-14
lines changed Expand file tree Collapse file tree 2 files changed +4
-14
lines changed Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ cmake_minimum_required(VERSION 3.15)
3
3
project (is_utf8
4
4
DESCRIPTION "Fast UTF-8 Validation"
5
5
LANGUAGES CXX
6
- VERSION 1.3.0
6
+ VERSION 1.3.1
7
7
)
8
8
9
9
include (GNUInstallDirs )
@@ -25,8 +25,8 @@ set(CMAKE_CXX_STANDARD_REQUIRED ON)
25
25
set (CMAKE_CXX_EXTENSIONS OFF )
26
26
set (CMAKE_MACOSX_RPATH OFF )
27
27
28
- set (IS_UTF8_LIB_VERSION "1.3.0 " CACHE STRING "is_utf8 library version" )
29
- set (IS_UTF8_LIB_SOVERSION "2 " CACHE STRING "is_utf8 library soversion" )
28
+ set (IS_UTF8_LIB_VERSION "1.3.1 " CACHE STRING "is_utf8 library version" )
29
+ set (IS_UTF8_LIB_SOVERSION "1 " CACHE STRING "is_utf8 library soversion" )
30
30
31
31
set (IS_UTF8_SOURCE_DIR ${CMAKE_CURRENT_SOURCE_DIR} /src )
32
32
add_subdirectory (src )
Original file line number Diff line number Diff line change @@ -529,22 +529,12 @@ static inline uint32_t detect_supported_architectures() {
529
529
return instruction_set::ALTIVEC;
530
530
}
531
531
532
- #elif defined(__arm__) || defined(__aarch64__) // incl. armel, armhf, arm64
533
-
534
- #if defined(__ARM_NEON)
532
+ #elif defined(__aarch64__) || defined(_M_ARM64)
535
533
536
534
static inline uint32_t detect_supported_architectures() {
537
535
return instruction_set::NEON;
538
536
}
539
537
540
- #else // ARM without NEON
541
-
542
- static inline uint32_t detect_supported_architectures() {
543
- return instruction_set::DEFAULT;
544
- }
545
-
546
- #endif
547
-
548
538
#elif defined(__x86_64__) || defined(_M_AMD64) // x64
549
539
550
540
namespace {
You can’t perform that action at this time.
0 commit comments