Auto-update kokkos-kernels to 4.4.00 (#5060)

* Update kokkos-kernels to 4.4.00

* kokkos: add 4.4.00 version

---------

Co-authored-by: star9029 <hengxings783@gmail.com>
pull/5086/head
ruki 3 months ago committed by GitHub
parent 8cd9af9a31
commit beceb831f3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 25
      packages/k/kokkos-kernels/xmake.lua
  2. 1
      packages/k/kokkos/xmake.lua

@ -6,6 +6,7 @@ package("kokkos-kernels")
add_urls("https://github.com/kokkos/kokkos-kernels/archive/refs/tags/$(version).tar.gz",
"https://github.com/kokkos/kokkos-kernels.git")
add_versions("4.4.00", "6559871c091eb5bcff53bae5a0f04f2298971d1aa1b2c135bd5a2dae3f9376a2")
add_versions("4.3.01", "749553a6ea715ba1e56fa0b13b42866bb9880dba7a94e343eadf40d08c68fab8")
add_versions("4.3.00", "03c3226ee97dbca4fa56fe69bc4eefa0673e23c37f2741943d9362424a63950e")
add_versions("4.2.01", "058052b3a40f5d4e447b7ded5c480f1b0d4aa78373b0bc7e43804d0447c34ca8")
@ -17,12 +18,30 @@ package("kokkos-kernels")
add_configs("cuda", {description = "Enable CUDA support.", default = false, type = "boolean"})
add_deps("cmake")
on_load("windows|x64", "macosx|x86_64", "linux", function (package)
if on_check then
on_check("windows", function (package)
local vs_toolset = package:toolchain("msvc"):config("vs_toolset")
if vs_toolset then
local vs_toolset_ver = import("core.base.semver").new(vs_toolset)
local minor = vs_toolset_ver:minor()
assert(minor and minor >= 30, "package(kokkos-kernels) require vs_toolset >= 14.3")
end
end)
end
on_load(function (package)
local kokkos = "kokkos"
local version = package:version()
if version then
kokkos = kokkos .. " " .. version
end
if package:config("cuda") then
package:add("deps", "cuda")
package:add("deps", "kokkos", {configs = {cuda = true}})
package:add("deps", kokkos, {configs = {cuda = true}})
else
package:add("deps", "kokkos")
package:add("deps", kokkos)
end
end)

@ -6,6 +6,7 @@ package("kokkos")
add_urls("https://github.com/kokkos/kokkos/archive/refs/tags/$(version).tar.gz",
"https://github.com/kokkos/kokkos.git")
add_versions("4.4.00", "c638980cb62c34969b8c85b73e68327a2cb64f763dd33e5241f5fd437170205a")
add_versions("4.3.01", "5998b7c732664d6b5e219ccc445cd3077f0e3968b4be480c29cd194b4f45ec70")
add_versions("4.3.00", "53cf30d3b44dade51d48efefdaee7a6cf109a091b702a443a2eda63992e5fe0d")
add_versions("4.2.01", "cbabbabba021d00923fb357d2e1b905dda3838bd03c885a6752062fe03c67964")

Loading…
Cancel
Save