early-access version 2853

This commit is contained in:
pineappleEA
2022-07-23 03:01:36 +02:00
parent 1f2b5081b5
commit 1f111bb69c
8955 changed files with 418777 additions and 999 deletions

View File

@@ -0,0 +1,22 @@
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 5453644..d3f2869 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -14,17 +14,10 @@ include(cmake/simdutf-flags.cmake)
set(SIMDUTF_SOURCE_DIR ${CMAKE_CURRENT_SOURCE_DIR})
-enable_testing()
add_subdirectory(src)
-add_subdirectory(tests)
-if(CMAKE_CXX_COMPILER_ID MATCHES GNU AND CMAKE_CXX_COMPILER_VERSION VERSION_LESS 8.0)
- message(STATUS "The benchmark tool requires GCC 8.0 or better.")
-else()
- add_subdirectory(benchmarks)
-endif()
# ---- Install rules ----

20
externals/vcpkg/ports/simdutf/portfile.cmake vendored Executable file
View File

@@ -0,0 +1,20 @@
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO simdutf/simdutf
REF v1.0.0
SHA512 3ab09aa61cb9765bf1a77de59c5b823ee58ae5e4badfd5dd70e511fd4f378f8d3917a5b577e7f275720b975740344968132ce0b3f628452bde67f2ab6cc82337
HEAD_REF master
PATCHES
disable-tests-and-benchmarks.patch
)
vcpkg_cmake_configure(
SOURCE_PATH "${SOURCE_PATH}"
)
vcpkg_cmake_install()
vcpkg_cmake_config_fixup(CONFIG_PATH lib/cmake/${PORT})
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
file(INSTALL "${SOURCE_PATH}/LICENSE-APACHE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)

17
externals/vcpkg/ports/simdutf/vcpkg.json vendored Executable file
View File

@@ -0,0 +1,17 @@
{
"name": "simdutf",
"version-semver": "1.0.0",
"port-version": 1,
"description": "Unicode validation and transcoding at billions of characters per second",
"homepage": "https://github.com/simdutf/simdutf",
"dependencies": [
{
"name": "vcpkg-cmake",
"host": true
},
{
"name": "vcpkg-cmake-config",
"host": true
}
]
}