Skip to content

Commit

Permalink
Update re2 to 2024.06.01 (#4512)
Browse files Browse the repository at this point in the history
* Update re2 to 2024.06.01

* Update xmake.lua

* Update xmake.lua

* Update xmake.lua
  • Loading branch information
heheda123123 authored Jun 29, 2024
1 parent 2a04a8a commit 8ccbc0d
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions packages/r/re2/xmake.lua
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,21 @@ package("re2")
add_versions("2023.11.01", "4e6593ac3c71de1c0f322735bc8b0492a72f66ffccfad76e259fa21c41d27d8a")
add_versions("2024.03.01", "7b2b3aa8241eac25f674e5b5b2e23d4ac4f0a8891418a2661869f736f03f57f4")
add_versions("2024.04.01", "3f6690c3393a613c3a0b566309cf04dc381d61470079b653afc47c67fb898198")
add_versions("2024.06.01", "7326c74cddaa90b12090fcfc915fe7b4655723893c960ee3c2c66e85c5504b6c")

add_deps("cmake", "abseil")

if is_plat("linux") then
add_syslinks("pthread")
end

on_load(function (package)
local version = package:version()
if version:eq("2024.06.01") and package:is_plat("mingw") then
package:add("syslinks", "Dbghelp")
end
end)

on_install("macosx", "linux", "windows", "mingw", "cross", function (package)
local configs = {"-DRE2_BUILD_TESTING=OFF"}
table.insert(configs, "-DCMAKE_CXX_STANDARD=17")
Expand Down

0 comments on commit 8ccbc0d

Please sign in to comment.