diff --git a/ports/stringzilla/portfile.cmake b/ports/stringzilla/portfile.cmake new file mode 100644 index 0000000000..2e4324d702 --- /dev/null +++ b/ports/stringzilla/portfile.cmake @@ -0,0 +1,13 @@ +# Header-only library + +vcpkg_from_github( + OUT_SOURCE_PATH SOURCE_PATH + REPO ashvardanian/StringZilla + REF "v${VERSION}" + SHA512 b42acd6f1a06f8c5519f3093ac155b6caea95ca4a5618bfc24b9028353c78ae47c53f37cd498ce9d652ede323b96d38d044faa45f6c4ef58d71d748c071cbd21 + HEAD_REF master +) + +file(COPY "${SOURCE_PATH}/include" DESTINATION "${CURRENT_PACKAGES_DIR}") + +vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE") diff --git a/ports/stringzilla/vcpkg.json b/ports/stringzilla/vcpkg.json new file mode 100644 index 0000000000..684c9c0226 --- /dev/null +++ b/ports/stringzilla/vcpkg.json @@ -0,0 +1,8 @@ +{ + "name": "stringzilla", + "version": "3.7.0", + "description": "StringZilla is the GodZilla of string libraries, using SIMD and SWAR to accelerate string operations on modern CPUs.", + "homepage": "https://github.com/ashvardanian/StringZilla", + "license": "Apache-2.0", + "supports": "!x86" +} diff --git a/versions/baseline.json b/versions/baseline.json index 45e7379695..d54186ea41 100644 --- a/versions/baseline.json +++ b/versions/baseline.json @@ -8420,6 +8420,10 @@ "baseline": "1.7.0", "port-version": 1 }, + "stringzilla": { + "baseline": "3.7.0", + "port-version": 0 + }, "strong-type": { "baseline": "14", "port-version": 0 diff --git a/versions/s-/stringzilla.json b/versions/s-/stringzilla.json new file mode 100644 index 0000000000..288c7cf7f3 --- /dev/null +++ b/versions/s-/stringzilla.json @@ -0,0 +1,9 @@ +{ + "versions": [ + { + "git-tree": "6acf96d1a37889967709ff6e334922689171f10e", + "version": "3.7.0", + "port-version": 0 + } + ] +}