[simdutf] Disable benchmarks and tests. (#19987)

This commit is contained in:
Billy O'Neal 2021-09-03 22:16:43 -07:00 committed by GitHub
parent a4d0471091
commit 690f41497a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 32 additions and 2 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 ----

View File

@ -2,8 +2,10 @@ vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO simdutf/simdutf
REF v1.0.0
SHA512 3ab09aa61cb9765bf1a77de59c5b823ee58ae5e4badfd5dd70e511fd4f378f8d3917a5b577e7f275720b975740344968132ce0b3f628452bde67f2ab6cc82337
SHA512 3ab09aa61cb9765bf1a77de59c5b823ee58ae5e4badfd5dd70e511fd4f378f8d3917a5b577e7f275720b975740344968132ce0b3f628452bde67f2ab6cc82337
HEAD_REF master
PATCHES
disable-tests-and-benchmarks.patch
)
vcpkg_cmake_configure(

View File

@ -1,6 +1,7 @@
{
"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": [

View File

@ -5934,7 +5934,7 @@
},
"simdutf": {
"baseline": "1.0.0",
"port-version": 0
"port-version": 1
},
"simple-fft": {
"baseline": "2020-06-14",

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "9d32f4a5bb9643b561a26f555064b2341a93df4b",
"version-semver": "1.0.0",
"port-version": 1
},
{
"git-tree": "86279d4e90015257171464027e3658544c748342",
"version-semver": "1.0.0",