[metrohash] support iOS triplets (#16035)

* [metrohash] ignore arm

* this change will allow android/ios triplets

* [metrohash] update baseline

* [metrohash] check platform variables

* [metrohash] fix wrong git-tee
This commit is contained in:
Park DongHa 2021-02-09 10:54:38 +09:00 committed by GitHub
parent 7ed39c5b95
commit 8317bf972a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 8 additions and 3 deletions

View File

@ -8,7 +8,7 @@ add_library(metrohash
)
list(APPEND metro_headers src/metrohash.h src/metrohash64.h src/metrohash128.h)
if(NOT ANDROID)
if(NOT ANDROID AND NOT IOS)
list(APPEND metro_headers src/metrohash128crc.h)
target_sources(metrohash PRIVATE src/metrohash128crc.cpp)
if(CMAKE_CXX_COMPILER_ID MATCHES Clang)

View File

@ -1,7 +1,7 @@
{
"name": "metrohash",
"version-string": "1.1.3",
"port-version": 2,
"port-version": 3,
"description": "MetroHash is a set of state-of-the-art hash functions for non-cryptographic use cases",
"homepage": "https://github.com/jandrewrogers/MetroHash",
"supports": "!(uwp | arm | x86)"

View File

@ -3742,7 +3742,7 @@
},
"metrohash": {
"baseline": "1.1.3",
"port-version": 2
"port-version": 3
},
"mgnlibs": {
"baseline": "2019-09-29",

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "33078163f0311cfecce47b42c304650b602c9ddf",
"version-string": "1.1.3",
"port-version": 3
},
{
"git-tree": "0c764c9b22fa64b5194e65f69bfb28bc47dc20fc",
"version-string": "1.1.3",