From 89c62acac912fffae6b38eebc7179a3e50858cea Mon Sep 17 00:00:00 2001 From: ruki Date: Tue, 16 Jan 2024 18:05:08 +0800 Subject: [PATCH] Auto-update kokkos to 4.2.00 (#3110) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Update kokkos to 4.2.00 * Update xmake.lua --------- Co-authored-by: Jérôme Leclercq --- packages/k/kokkos/xmake.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/k/kokkos/xmake.lua b/packages/k/kokkos/xmake.lua index c200ef916..1a1f31e7d 100644 --- a/packages/k/kokkos/xmake.lua +++ b/packages/k/kokkos/xmake.lua @@ -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.2.00", "ac08765848a0a6ac584a0a46cd12803f66dd2a2c2db99bb17c06ffc589bf5be8") add_versions("4.0.01", "bb942de8afdd519fd6d5d3974706bfc22b6585a62dd565c12e53bdb82cd154f0") if is_plat("windows") then @@ -23,7 +24,7 @@ package("kokkos") end end) - on_install("windows|x64", "macosx", "linux", function (package) + on_install("windows|x64", "macosx|x86_64", "linux", function (package) local configs = {"-DKokkos_ENABLE_SERIAL=ON"} table.insert(configs, "-DCMAKE_BUILD_TYPE=" .. (package:debug() and "Debug" or "Release")) table.insert(configs, "-DBUILD_SHARED_LIBS=" .. (package:config("shared") and "ON" or "OFF"))