From 78e8ba9c235172ebe0377f90cc5943aadb12c40a Mon Sep 17 00:00:00 2001 From: Redbeanw44602 Date: Sun, 21 Sep 2025 14:33:43 +0800 Subject: [PATCH 1/2] mkl: fix bundle name. --- packages/m/mkl/xmake.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/m/mkl/xmake.lua b/packages/m/mkl/xmake.lua index 7d30366e210..532d0a5a3bd 100644 --- a/packages/m/mkl/xmake.lua +++ b/packages/m/mkl/xmake.lua @@ -200,7 +200,7 @@ package("mkl") os.tryrm(archivefile) end -- support for xmake 3.0.2 - os.trycp("../" .. package:name() .. "-" .. package:version_str(), "../" .. lib_filename .. ".conda") + os.trycp("../" .. package:name() .. "-" .. package:version_str() .. ".conda", "../" .. lib_filename .. ".conda") -- Process library files extract_conda("../" .. lib_filename .. ".conda") -- Process header files From 7709f91bb178baff4e7ddcf71a244061122d69a6 Mon Sep 17 00:00:00 2001 From: star9029 Date: Mon, 22 Sep 2025 11:47:55 +0800 Subject: [PATCH 2/2] Improve --- packages/m/mkl/xmake.lua | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/packages/m/mkl/xmake.lua b/packages/m/mkl/xmake.lua index 532d0a5a3bd..ff51c4340bc 100644 --- a/packages/m/mkl/xmake.lua +++ b/packages/m/mkl/xmake.lua @@ -200,7 +200,11 @@ package("mkl") os.tryrm(archivefile) end -- support for xmake 3.0.2 - os.trycp("../" .. package:name() .. "-" .. package:version_str() .. ".conda", "../" .. lib_filename .. ".conda") + os.trycp( + format("../%s-%s.conda", package:name(), package:version_str()), + format("../%s.conda", lib_filename) + ) + os.trycp("../" .. package:name() .. "-" .. package:version_str(), "../" .. lib_filename .. ".conda") -- Process library files extract_conda("../" .. lib_filename .. ".conda") -- Process header files