asmjit: update version (#4193)

* asmjit: update version

* asmtk: enable all platform
pull/4194/head
star9029 9 months ago committed by GitHub
parent e4242b048a
commit e622cc60f3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 14
      packages/a/asmjit/xmake.lua
  2. 4
      packages/a/asmtk/xmake.lua

@ -1,25 +1,25 @@
package("asmjit")
set_homepage("https://asmjit.com/")
set_description("AsmJit is a lightweight library for machine code generation written in C++ language.")
set_license("zlib")
add_urls("https://github.com/asmjit/asmjit.git")
add_versions("2024.05.21", "55c5d6cef59619fb81014531b32f434a793cfb18")
add_versions("2024.03.09", "268bce7952883dec5015ae539906e9e9d7fb65a0")
add_versions("2022.01.18", "9a92d2f97260749f6f29dc93e53c743448f0137a")
add_versions("2021.06.27", "d02235b83434943b52a6d7c57118205c5082de08")
add_deps("cmake")
if is_plat("linux") then
add_syslinks("rt")
if is_plat("linux", "bsd") then
add_syslinks("pthread", "rt", "m")
end
on_load("windows", "macosx", "linux", function (package)
add_deps("cmake")
on_install("!iphoneos", function (package)
if not package:config("shared") then
package:add("defines", "ASMJIT_STATIC")
end
end)
on_install("windows", "macosx", "linux", function (package)
local configs = {}
table.insert(configs, "-DCMAKE_BUILD_TYPE=" .. (package:debug() and "Debug" or "Release"))
table.insert(configs, "-DASMJIT_STATIC=" .. (package:config("shared") and "OFF" or "ON"))

@ -4,11 +4,11 @@ package("asmtk")
set_license("zlib")
set_urls("https://github.com/asmjit/asmtk.git")
add_versions("2023.6.14", "6e25b8983fbd8bf455c01ed7c5dd40c99b789565")
add_versions("2023.07.18", "e2752c85d39da4b0c5c729737a6faa25286b8e0c")
add_deps("asmjit")
on_install("windows", "linux", "macosx", function (package)
on_install("!iphoneos", function (package)
if not package:config("shared") then
package:add("defines", "ASMTK_STATIC")
end

Loading…
Cancel
Save