Auto-update simdutf to v5.2.2 (#3695)

* Update simdutf to v5.2.2

* change to v5.2.3

* remove /WX

---------

Co-authored-by: star9029 <hengxings783@gmail.com>
pull/3708/head
ruki 8 months ago committed by GitHub
parent ed8293839d
commit 85d0b51bec
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 4
      packages/s/simdutf/xmake.lua

@ -6,8 +6,9 @@ package("simdutf")
add_urls("https://github.com/simdutf/simdutf/archive/refs/tags/$(version).tar.gz",
"https://github.com/simdutf/simdutf.git")
add_versions("v3.2.17", "c24e3eec1e08522a09b33e603352e574f26d367a7701bf069a65881f64acd519")
add_versions("v5.2.3", "dfa55d85c3ee51e9b52e55c02701b16f83dcf1921e1075b67f99b1036df5adb8")
add_versions("v4.0.9", "599e6558fc8d06f8346e5f210564f8b18751c93d83bce1a40a0e6a326c57b61e")
add_versions("v3.2.17", "c24e3eec1e08522a09b33e603352e574f26d367a7701bf069a65881f64acd519")
add_configs("iconv", {description = "Whether to use iconv as part of the CMake build if available.", default = false, type = "boolean"})
@ -25,6 +26,7 @@ package("simdutf")
table.insert(configs, "-DBUILD_SHARED_LIBS=" .. (package:config("shared") and "ON" or "OFF"))
table.insert(configs, "-DSIMDUTF_ICONV=" .. (package:config("iconv") and "ON" or "OFF"))
io.replace("CMakeLists.txt", "add_subdirectory(singleheader)", "", {plain = true})
io.replace("src/CMakeLists.txt", "/WX", "", {plain = true})
import("package.tools.cmake").install(package, configs)
end)

Loading…
Cancel
Save