mirror of
https://github.com/microsoft/vcpkg.git
synced 2025-06-07 20:53:09 +08:00
[simdutf] Disable benchmarks and tests. (#19987)
This commit is contained in:
parent
a4d0471091
commit
690f41497a
22
ports/simdutf/disable-tests-and-benchmarks.patch
Normal file
22
ports/simdutf/disable-tests-and-benchmarks.patch
Normal 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 ----
|
@ -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(
|
||||
|
@ -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": [
|
||||
|
@ -5934,7 +5934,7 @@
|
||||
},
|
||||
"simdutf": {
|
||||
"baseline": "1.0.0",
|
||||
"port-version": 0
|
||||
"port-version": 1
|
||||
},
|
||||
"simple-fft": {
|
||||
"baseline": "2020-06-14",
|
||||
|
@ -1,5 +1,10 @@
|
||||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "9d32f4a5bb9643b561a26f555064b2341a93df4b",
|
||||
"version-semver": "1.0.0",
|
||||
"port-version": 1
|
||||
},
|
||||
{
|
||||
"git-tree": "86279d4e90015257171464027e3658544c748342",
|
||||
"version-semver": "1.0.0",
|
||||
|
Loading…
Reference in New Issue
Block a user