update fast_float and fast_double_parser (#1932)

* update fast_float

* update fast_double_parser
pull/1936/head
Hoildkv 2 years ago committed by GitHub
parent 087126f45f
commit bac142ecca
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      packages/f/fast_double_parser/xmake.lua
  2. 4
      packages/f/fast_float/xmake.lua

@ -8,6 +8,7 @@ package("fast_double_parser")
add_urls("https://github.com/lemire/fast_double_parser/archive/refs/tags/$(version).tar.gz",
"https://github.com/lemire/fast_double_parser.git")
add_versions("v0.5.0", "afbd2d42facd037bf3859856a8fe4112e4d7ded942255f6c0e6c17689d41f645")
add_versions("v0.7.0", "eb80a1d9c406bbe8cb22fffd3c007651f716abd03225009302d8aba8e9c4df77")
on_install("windows|x64", "macosx", "linux", "mingw", "android", function (package)
os.cp("include", package:installdir())

@ -8,13 +8,15 @@ package("fast_float")
"https://github.com/fastfloat/fast_float.git")
add_versions("v3.5.1", "8558bf9c66ccd2f7d03c94461a107f49ad9cf6e4f6c0c84e148fec0aa32b4dd9")
add_versions("v3.4.0", "a242877d2fae81ca412033f5ebf5dbc43cb029c56b4af78e33106b9a69f8f58e")
add_versions("v3.10.1", "d162c21c1dc538dbc6b3bb6d1317a7808f2eccef78638445630533f5bed902ee")
if is_plat("wasm") then
add_patches("v3.4.0", path.join(os.scriptdir(), "patches", "emscripten_fix.patch"), "482705431f67e6f0a375ed7bfe87d6856e7d13f071db6157e1d5659834b0eb50")
end
add_deps("cmake")
on_install(function (package)
os.vcp("include/fast_float", package:installdir("include"))
import("package.tools.cmake").install(package)
end)
on_test(function (package)

Loading…
Cancel
Save