From 1f4e2351c291fbf19d4f8e0c8df0800df839acb9 Mon Sep 17 00:00:00 2001 From: Anton Pozharskiy Date: Wed, 27 May 2026 08:33:11 +0200 Subject: [PATCH 1/3] make Mad.lib in /lib as expected by msvc --- .github/workflows/build_dist.yml | 4 ++++ .github/workflows/publish.yml | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/.github/workflows/build_dist.yml b/.github/workflows/build_dist.yml index f8d245a..3206c8b 100644 --- a/.github/workflows/build_dist.yml +++ b/.github/workflows/build_dist.yml @@ -60,6 +60,10 @@ jobs: shell: pwsh - name: build libMad run: mkdir build && cd build && mkdir install && cmake .. -DCMAKE_INSTALL_PREFIX="install" && cmake --build . --target INSTALL --config Release + - name: Add interface lib file for MSVC + run: | + cd build/install + cp bin/libMad.imp.lib lib/Mad.lib - name: trim out unnecessary artifacts run: | function quiet_rm($items) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 279e3d9..a04caff 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -72,6 +72,10 @@ jobs: shell: pwsh - name: build libMad run: mkdir build && cd build && mkdir install && cmake .. -DCMAKE_INSTALL_PREFIX="install" && cmake --build . --target INSTALL --config Release + - name: Add interface lib file for MSVC + run: | + cd build/install + cp bin/libMad.imp.lib lib/Mad.lib - name: trim out unnecessary artifacts run: | function quiet_rm($items) From 151d5e48b871cc822c3d36fab389fca16d0c093f Mon Sep 17 00:00:00 2001 From: Anton Pozharskiy Date: Wed, 27 May 2026 13:34:17 +0200 Subject: [PATCH 2/3] updated versions for everything, still not tagged though :( --- Manifest.toml | 451 ++++++++++++++++++++++++++++++++++++++++---------- Project.toml | 35 +++- 2 files changed, 388 insertions(+), 98 deletions(-) diff --git a/Manifest.toml b/Manifest.toml index 7e6b31b..1259362 100644 --- a/Manifest.toml +++ b/Manifest.toml @@ -2,7 +2,7 @@ julia_version = "1.12.4" manifest_format = "2.0" -project_hash = "1840f8eda337f7c418e4bd46c06d0482ce33b1e7" +project_hash = "3bcd93d19f9999f405bf18b947702b60ebf46a78" [[deps.AMD]] deps = ["LinearAlgebra", "SparseArrays", "SuiteSparse_jll"] @@ -25,10 +25,10 @@ version = "1.5.0" Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40" [[deps.Adapt]] -deps = ["LinearAlgebra", "Requires"] -git-tree-sha1 = "0761717147821d696c9470a7a86364b2fbd22fd8" +deps = ["LinearAlgebra"] +git-tree-sha1 = "28e1637322d4019ed2577cbec9268fab9b7da117" uuid = "79e6a3ab-5dfb-504d-930d-738a2a938a0e" -version = "4.5.2" +version = "4.6.0" weakdeps = ["SparseArrays", "StaticArrays"] [deps.Adapt.extensions] @@ -71,11 +71,17 @@ version = "0.6.1" uuid = "2a0f44e3-6c83-55bd-87e4-b1978d98bd5f" version = "1.11.0" +[[deps.Bzip2_jll]] +deps = ["Artifacts", "JLLWrappers", "Libdl"] +git-tree-sha1 = "1b96ea4a01afe0ea4090c5c8039690672dd13f2e" +uuid = "6e34b625-4abd-537c-b88f-471c36dfa7a0" +version = "1.0.9+0" + [[deps.CCOpt]] deps = ["DataStructures", "LinearAlgebra", "MadNLP", "NLPModels", "Printf", "Serialization", "SolverCore", "SparseArrays"] -git-tree-sha1 = "33bbceb8fbad4062f5be937507bc00e22b955aaf" +git-tree-sha1 = "4382665fecf12ab9057923a902dfa2f10510b746" repo-rev = "master" -repo-url = "git@github.com:MadNLP/CCOpt.jl.git" +repo-url = "https://github.com/MadNLP/CCOpt.jl.git" uuid = "6689419a-93c1-455a-8ac6-77991ec4f86b" version = "0.1.0" @@ -93,56 +99,73 @@ uuid = "fa961155-64e5-5f13-b03f-caf6b980ea82" version = "0.5.0" [[deps.CUDA]] -deps = ["AbstractFFTs", "Adapt", "BFloat16s", "CEnum", "CUDA_Compiler_jll", "CUDA_Driver_jll", "CUDA_Runtime_Discovery", "CUDA_Runtime_jll", "Crayons", "ExprTools", "GPUArrays", "GPUCompiler", "GPUToolbox", "KernelAbstractions", "LLVM", "LLVMLoopInfo", "LazyArtifacts", "Libdl", "LinearAlgebra", "Logging", "NVTX", "Preferences", "PrettyTables", "Printf", "Random", "Random123", "RandomNumbers", "Reexport", "SparseArrays", "StaticArrays", "Statistics", "demumble_jll"] -git-tree-sha1 = "a1eb5e5b173d02bdddfa4234e36b44286ea1661d" -repo-rev = "ap/local-compiler-backport" -repo-url = "https://github.com/apozharski/CUDA.jl.git" +deps = ["CUDACore", "CUDATools", "Reexport", "cuBLAS", "cuFFT", "cuRAND", "cuSOLVER", "cuSPARSE"] +git-tree-sha1 = "dabbb4ce8d2400dc019f7ef68d398702e296473f" +repo-rev = "6a129e0" +repo-url = "https://github.com/JuliaGPU/CUDA.jl.git" uuid = "052768ef-5323-5732-b1bb-66c8b64840ba" -version = "5.11.0" - - [deps.CUDA.extensions] +version = "6.1.0" + +[[deps.CUDACore]] +deps = ["Adapt", "BFloat16s", "CEnum", "CUDA_Compiler_jll", "CUDA_Driver_jll", "CUDA_Runtime_Discovery", "CUDA_Runtime_jll", "ExprTools", "GPUArrays", "GPUCompiler", "GPUToolbox", "KernelAbstractions", "LLVM", "LLVMLoopInfo", "LazyArtifacts", "Libdl", "LinearAlgebra", "Logging", "PrecompileTools", "Preferences", "Printf", "Random", "Random123", "RandomNumbers", "StaticArrays"] +git-tree-sha1 = "f93054570f4f3f2fc7bd88e86eadd38206133f06" +repo-rev = "6a129e0" +repo-subdir = "CUDACore" +repo-url = "https://github.com/JuliaGPU/CUDA.jl.git" +uuid = "bd0ed864-bdfe-4181-a5ed-ce625a5fdea2" +version = "6.1.0" + + [deps.CUDACore.extensions] ChainRulesCoreExt = "ChainRulesCore" EnzymeCoreExt = "EnzymeCore" - SparseMatricesCSRExt = "SparseMatricesCSR" SpecialFunctionsExt = "SpecialFunctions" - [deps.CUDA.weakdeps] + [deps.CUDACore.weakdeps] + CUDA = "052768ef-5323-5732-b1bb-66c8b64840ba" ChainRulesCore = "d360d2e6-b24c-11e9-a2a3-2a2ae2dbcce4" EnzymeCore = "f151be2c-9106-41f4-ab19-57ee4f262869" - SparseMatricesCSR = "a0a7dd2c-ebf4-11e9-1f05-cf50bc540ca1" SpecialFunctions = "276daf66-3868-5448-9aa4-cd146d93841b" +[[deps.CUDATools]] +deps = ["CUDACore", "CUDA_Compiler_jll", "CUPTI", "Crayons", "GPUCompiler", "LLVM", "NVML", "NVTX", "PrecompileTools", "Preferences", "PrettyTables", "Printf", "Statistics", "demumble_jll"] +git-tree-sha1 = "0ee647281408aa9ace65e57bfc2c45692018ddd5" +repo-rev = "6a129e0" +repo-subdir = "CUDATools" +repo-url = "https://github.com/JuliaGPU/CUDA.jl.git" +uuid = "9ec180c6-1c07-47c7-9e6e-ebefa4d1f6d0" +version = "6.1.0" + [[deps.CUDA_Compiler_jll]] deps = ["Artifacts", "CUDA_Driver_jll", "CUDA_Runtime_jll", "JLLWrappers", "LazyArtifacts", "Libdl", "TOML"] -git-tree-sha1 = "b977706846cb0a75d3842a1fed810ab2e6ab2f94" +git-tree-sha1 = "6ca8941cec33550807f849ffc566492db6ede90d" uuid = "d1e2174e-dfdc-576e-b43e-73b79eb1aca8" -version = "0.4.3+0" +version = "0.4.4+0" [[deps.CUDA_Driver_jll]] deps = ["Artifacts", "JLLWrappers", "Libdl", "TOML"] -git-tree-sha1 = "3b759ec65ac87ad192c2925114fa5c126657a5bd" +git-tree-sha1 = "2d6222474d868469a72de5bd47c5c25c0e1fe518" uuid = "4ee394cb-3365-5eb0-8335-949819d2adfc" -version = "13.2.1+0" +version = "13.3.0+0" [[deps.CUDA_Runtime_Discovery]] deps = ["Libdl"] -git-tree-sha1 = "4fd010410c0c91c8b9bd6194a9ebdebecd9a8107" +git-tree-sha1 = "79312abe5261a660f94e746e449d2cb2fe3284d9" +repo-rev = "76f8b15e24e40b293de6afc2f51074cb738e5abd" +repo-url = "https://github.com/apozharski/CUDA_Runtime_Discovery.jl.git" uuid = "1af6417a-86b4-443c-805f-a4643ffb695f" -version = "2.0.0" +version = "2.1.0" [[deps.CUDA_Runtime_jll]] deps = ["Artifacts", "CUDA_Driver_jll", "JLLWrappers", "LazyArtifacts", "Libdl", "TOML"] -git-tree-sha1 = "c0314d9fb0ebd00e404feba4c3fbc04c9975abc1" +git-tree-sha1 = "21c6678d5220be7a255f7e6a6fd54bc22400c102" uuid = "76a88914-d11a-5bdc-97e0-2f5a05c973a2" -version = "0.21.0+1" +version = "0.22.0+1" [[deps.CUDSS]] -deps = ["CEnum", "CUDA", "CUDA_Runtime_Discovery", "CUDSS_jll", "GPUToolbox", "LinearAlgebra", "SparseArrays"] -git-tree-sha1 = "f942df152160eb0c4f18fb9d907a294398d79d0d" -repo-rev = "20a99ed" -repo-url = "https://github.com/apozharski/CUDSS.jl.git" +deps = ["CEnum", "CUDACore", "CUDA_Runtime_Discovery", "CUDSS_jll", "GPUToolbox", "LinearAlgebra", "SparseArrays", "cuSPARSE"] +git-tree-sha1 = "121dc2618776a1e12740010329edeb1d005cfed1" uuid = "45b445bb-4962-46a0-9369-b4df9d0f772e" -version = "0.6.7" +version = "0.7.0" [[deps.CUDSS_jll]] deps = ["Artifacts", "CUDA_Runtime_jll", "CompilerSupportLibraries_jll", "JLLWrappers", "LazyArtifacts", "Libdl", "TOML"] @@ -150,6 +173,33 @@ git-tree-sha1 = "b40ab570473a4bf8694c7922a22c2def848ccfcf" uuid = "4889d778-9329-5762-9fec-0578a5d30366" version = "0.7.1+0" +[[deps.CUPTI]] +deps = ["CEnum", "CUDACore", "CUDA_Runtime_Discovery", "CUDA_Runtime_jll", "GPUToolbox"] +git-tree-sha1 = "9658e8d33b3dd15382152b649aeff984187fe0f0" +repo-rev = "6a129e0" +repo-subdir = "lib/cupti" +repo-url = "https://github.com/JuliaGPU/CUDA.jl.git" +uuid = "9e67e8f6-ba02-4b6c-a7db-3b11ae1e7ab7" +version = "6.1.0" + +[[deps.CodecBzip2]] +deps = ["Bzip2_jll", "TranscodingStreams"] +git-tree-sha1 = "84990fa864b7f2b4901901ca12736e45ee79068c" +uuid = "523fee87-0ab8-5b00-afb7-3ecf72e48cfd" +version = "0.8.5" + +[[deps.CodecZlib]] +deps = ["TranscodingStreams", "Zlib_jll"] +git-tree-sha1 = "962834c22b66e32aa10f7611c08c8ca4e20749a9" +uuid = "944b1d66-785c-5afd-91f1-9de20f533193" +version = "0.7.8" + +[[deps.CommonSubexpressions]] +deps = ["MacroTools"] +git-tree-sha1 = "cda2cfaebb4be89c9084adaca7dd7333369715c5" +uuid = "bbf7d656-a473-5ed7-a52c-81e309532950" +version = "0.3.1" + [[deps.Compat]] deps = ["TOML", "UUIDs"] git-tree-sha1 = "9d8a54ce4b17aa5bdce0ea5c34bc5e7c340d16ad" @@ -191,6 +241,23 @@ deps = ["Printf"] uuid = "ade2ca70-3891-5945-98fb-dc099432e06a" version = "1.11.0" +[[deps.DiffResults]] +deps = ["StaticArraysCore"] +git-tree-sha1 = "782dd5f4561f5d267313f23853baaaa4c52ea621" +uuid = "163ba53b-c6d8-5494-b064-1a9d43ac40c5" +version = "1.1.0" + +[[deps.DiffRules]] +deps = ["IrrationalConstants", "LogExpFunctions", "NaNMath", "Random", "SpecialFunctions"] +git-tree-sha1 = "23163d55f885173722d1e4cf0f6110cdbaf7e272" +uuid = "b552c78f-8df3-52c6-915a-8e097449b14b" +version = "1.15.1" + +[[deps.DocStringExtensions]] +git-tree-sha1 = "7442a5dfe1ebb773c29cc2962a8980f47221d76c" +uuid = "ffbed154-4ef7-542d-bbb7-c09d3a79fcae" +version = "0.9.5" + [[deps.Downloads]] deps = ["ArgTools", "FileWatching", "LibCURL", "NetworkOptions"] uuid = "f43a241f-c20a-4ad4-852c-f6b1247861c6" @@ -210,11 +277,21 @@ version = "0.3.2" uuid = "7b1f6079-737a-58dc-b8bc-7a2ca5c1b5ee" version = "1.11.0" +[[deps.ForwardDiff]] +deps = ["CommonSubexpressions", "DiffResults", "DiffRules", "LinearAlgebra", "LogExpFunctions", "NaNMath", "Preferences", "Printf", "Random", "SpecialFunctions"] +git-tree-sha1 = "cddeab6487248a39dae1a960fff0ac17b2a28888" +uuid = "f6369f11-7733-5829-9624-2563aa707210" +version = "1.3.3" +weakdeps = ["StaticArrays"] + + [deps.ForwardDiff.extensions] + ForwardDiffStaticArraysExt = "StaticArrays" + [[deps.GPUArrays]] deps = ["Adapt", "GPUArraysCore", "KernelAbstractions", "LLVM", "LinearAlgebra", "Printf", "Random", "Reexport", "ScopedValues", "Serialization", "SparseArrays", "Statistics"] -git-tree-sha1 = "99ebe50e3b6537de14d43f1c88963a2e13eff3b7" +git-tree-sha1 = "cf230532c7871ce9bfa5812dd699cb68da888364" uuid = "0c68f7d7-f131-5f86-a1c3-88cf8149b2d7" -version = "11.5.1" +version = "11.5.4" [deps.GPUArrays.extensions] JLD2Ext = "JLD2" @@ -230,11 +307,11 @@ version = "0.2.0" [[deps.GPUCompiler]] deps = ["ExprTools", "InteractiveUtils", "LLVM", "Libdl", "Logging", "PrecompileTools", "Preferences", "Scratch", "Serialization", "TOML", "Tracy", "UUIDs"] -git-tree-sha1 = "fedfe5e7db7035271c3f58359007f971da1dde87" -repo-rev = "v1.9.1" +git-tree-sha1 = "074ce0b1dcb100eee6acf08943096a4a3403e79e" +repo-rev = "v1.13.2" repo-url = "https://github.com/JuliaGPU/GPUCompiler.jl.git" uuid = "61eb1bfa-7361-4325-ad38-22787b887f55" -version = "1.9.1" +version = "1.13.2" [[deps.GPUToolbox]] deps = ["LLVM"] @@ -243,16 +320,16 @@ uuid = "096a3bc2-3ced-46d0-87f4-dd12716f4bfc" version = "1.1.1" [[deps.HSL]] -deps = ["HSL_jll", "Libdl", "LinearAlgebra", "OpenBLAS32_jll", "Quadmath", "SparseArrays"] -git-tree-sha1 = "20e883b46d2a06ccd37d516b1f5415aa97d97655" +deps = ["CompilerSupportLibraries_jll", "HSL_jll", "Libdl", "LinearAlgebra", "OpenBLAS32_jll", "Quadmath", "SparseArrays"] +git-tree-sha1 = "d5c7a2d815b241c2c42459e2d4c27027f9f96c74" uuid = "34c5aeac-e683-54a6-a0e9-6e0fdc586c50" -version = "0.5.2" +version = "0.5.4" [[deps.HSL_jll]] deps = ["Artifacts", "CompilerSupportLibraries_jll", "JLLWrappers", "Libdl"] -git-tree-sha1 = "4b34f6e368aa509b244847e6b0c9b370791bab09" +git-tree-sha1 = "aab9a5a5233f6a919c785adcf3d16372f5937dfb" uuid = "017b0a0e-03f4-516a-9b91-836bbd1904dd" -version = "4.0.4+0" +version = "4.0.5+0" [[deps.HashArrayMappedTries]] git-tree-sha1 = "2eaa69a7cab70a52b9687c8bf950a5a93ec895ae" @@ -264,6 +341,11 @@ deps = ["Markdown"] uuid = "b77e0a4c-d291-57a0-90e8-8db25a27a240" version = "1.11.0" +[[deps.IrrationalConstants]] +git-tree-sha1 = "b2d91fe939cae05960e760110b328288867b5758" +uuid = "92d709cd-6900-40b7-9082-c6be49f344b6" +version = "0.2.6" + [[deps.IteratorInterfaceExtensions]] git-tree-sha1 = "a3f24677c21f5bbe9d2a714f95dcd58337fb2856" uuid = "82899510-4779-5014-852e-03e436cf321d" @@ -271,9 +353,33 @@ version = "1.0.0" [[deps.JLLWrappers]] deps = ["Artifacts", "Preferences"] -git-tree-sha1 = "0533e564aae234aff59ab625543145446d8b6ec2" +git-tree-sha1 = "7204148362dafe5fe6a273f855b8ccbe4df8173e" uuid = "692b3bcd-3c85-4b1f-b108-f13ce0eb3210" -version = "1.7.1" +version = "1.8.0" + +[[deps.JSON]] +deps = ["Dates", "Logging", "Parsers", "PrecompileTools", "StructUtils", "UUIDs", "Unicode"] +git-tree-sha1 = "f76f7560267b840e492180f9899b472f30b88450" +uuid = "682c06a0-de6a-54ab-a142-c8b1cf79cde6" +version = "1.6.0" + + [deps.JSON.extensions] + JSONArrowExt = ["ArrowTypes"] + + [deps.JSON.weakdeps] + ArrowTypes = "31f734f8-188a-4ce0-8406-c8a06bd891cd" + +[[deps.JuMP]] +deps = ["LinearAlgebra", "MacroTools", "MathOptInterface", "MutableArithmetics", "OrderedCollections", "PrecompileTools", "Printf", "SparseArrays"] +git-tree-sha1 = "6941586d9cf3c0af718bc6e6250dcf24057d412e" +uuid = "4076af6c-e467-56ae-b986-b466b2749572" +version = "1.30.1" + + [deps.JuMP.extensions] + JuMPDimensionalDataExt = "DimensionalData" + + [deps.JuMP.weakdeps] + DimensionalData = "0703355e-b756-11e9-17c0-8b28908087d0" [[deps.JuliaNVTXCallbacks_jll]] deps = ["Artifacts", "JLLWrappers", "Libdl", "Pkg"] @@ -309,10 +415,10 @@ uuid = "40e66cde-538c-5869-a4ad-c39174c6795b" version = "0.10.2" [[deps.LLVM]] -deps = ["CEnum", "LLVMExtra_jll", "Libdl", "Preferences", "Printf", "Unicode"] -git-tree-sha1 = "69e4739502b7ab5176117e97e1664ed181c35036" +deps = ["CEnum", "LLVMExtra_jll", "Libdl", "PrecompileTools", "Preferences", "Printf", "Unicode"] +git-tree-sha1 = "0eeef733eebb4bb1464dd9d1d8c8f3ad20a090d1" uuid = "929cbde3-209d-540e-8aea-75f648917ca0" -version = "9.4.6" +version = "9.8.2" weakdeps = ["BFloat16s"] [deps.LLVM.extensions] @@ -320,9 +426,9 @@ weakdeps = ["BFloat16s"] [[deps.LLVMExtra_jll]] deps = ["Artifacts", "JLLWrappers", "LazyArtifacts", "Libdl", "TOML"] -git-tree-sha1 = "8e76807afb59ebb833e9b131ebf1a8c006510f33" +git-tree-sha1 = "70c96f133c78c3cdc06234157144fab3744c6b38" uuid = "dad2f222-ce93-54a1-a47d-0025e8a3acab" -version = "0.0.38+0" +version = "0.0.43+1" [[deps.LLVMLoopInfo]] git-tree-sha1 = "2e5c102cfc41f48ae4740c7eca7743cc7e7b75ea" @@ -380,26 +486,32 @@ uuid = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e" version = "1.12.0" [[deps.LinearOperators]] -deps = ["FastClosures", "LinearAlgebra", "Printf", "SparseArrays", "TimerOutputs"] -git-tree-sha1 = "ddd5a43cff2692c26f09952d33c9746cfc740d60" +deps = ["FastClosures", "LDLFactorizations", "LinearAlgebra", "Printf", "Requires", "SparseArrays", "TimerOutputs"] +git-tree-sha1 = "f06df3a46255879cbccae1b5b6dcb16994c31be7" uuid = "5c8ed15e-5a4c-59e4-a42b-c7e8811fb125" -version = "2.13.0" +version = "2.7.0" [deps.LinearOperators.extensions] - LinearOperatorsAMDGPUExt = "AMDGPU" - LinearOperatorsCUDAExt = "CUDA" LinearOperatorsChainRulesCoreExt = "ChainRulesCore" - LinearOperatorsJLArraysExt = "JLArrays" - LinearOperatorsLDLFactorizationsExt = "LDLFactorizations" - LinearOperatorsMetalExt = "Metal" [deps.LinearOperators.weakdeps] - AMDGPU = "21141c5a-9bdb-4563-92ae-f87d6854732e" - CUDA = "052768ef-5323-5732-b1bb-66c8b64840ba" ChainRulesCore = "d360d2e6-b24c-11e9-a2a3-2a2ae2dbcce4" - JLArrays = "27aeb0d3-9eb9-45fb-866b-73c2ecf80fcb" - LDLFactorizations = "40e66cde-538c-5869-a4ad-c39174c6795b" - Metal = "dde4c033-4e86-420c-a63e-0dd931031962" + +[[deps.LogExpFunctions]] +deps = ["DocStringExtensions", "IrrationalConstants", "LinearAlgebra"] +git-tree-sha1 = "13ca9e2586b89836fd20cccf56e57e2b9ae7f38f" +uuid = "2ab3a3ac-af41-5b50-aa03-7779005ae688" +version = "0.3.29" + + [deps.LogExpFunctions.extensions] + LogExpFunctionsChainRulesCoreExt = "ChainRulesCore" + LogExpFunctionsChangesOfVariablesExt = "ChangesOfVariables" + LogExpFunctionsInverseFunctionsExt = "InverseFunctions" + + [deps.LogExpFunctions.weakdeps] + ChainRulesCore = "d360d2e6-b24c-11e9-a2a3-2a2ae2dbcce4" + ChangesOfVariables = "9e997f8a-9a97-42d5-a9f1-ce6bfc15e2c0" + InverseFunctions = "3587e190-3f89-42d0-90ee-14403ec27112" [[deps.Logging]] uuid = "56ddb016-857b-54e1-b83d-db4d58db5568" @@ -424,50 +536,71 @@ version = "0.5.16" [[deps.MadNLP]] deps = ["LDLFactorizations", "LinearAlgebra", "Logging", "MUMPS_seq_jll", "NLPModels", "OpenBLAS32_jll", "Pkg", "PrecompileTools", "Printf", "SolverCore", "SparseArrays", "SuiteSparse"] -git-tree-sha1 = "15df5759c271c2b8e841807491ca249c66a9079f" -repo-rev = "7fed853" -repo-url = "https://github.com/apozharski/MadNLP.jl.git" +git-tree-sha1 = "8259ec73a3d023c347218bd00fcd755d04d12bbd" +repo-rev = "411e830" +repo-url = "https://github.com/MadNLP/MadNLP.jl.git" uuid = "2621e9c9-9eb4-46b1-8089-e8c72242dfb6" -version = "0.9.1" +version = "0.9.2" +weakdeps = ["MathOptInterface"] [deps.MadNLP.extensions] MadNLPMOI = "MathOptInterface" - [deps.MadNLP.weakdeps] - MathOptInterface = "b8f27783-ece8-5eb3-8dc8-9495eed66fee" - [[deps.MadNLPGPU]] -deps = ["AMD", "Adapt", "GPUArraysCore", "KernelAbstractions", "LinearAlgebra", "MadNLP", "Metis", "SparseArrays"] -git-tree-sha1 = "b511e26f9c75b7eb5f0192b1300b6987989f4deb" -repo-rev = "7fed853" +deps = ["AMD", "Adapt", "GPUArraysCore", "KernelAbstractions", "LinearAlgebra", "MadNLP", "MadNLPTests", "Metis", "SparseArrays"] +git-tree-sha1 = "8f0ceecc9b9907694953cb62d319d060e9122f03" +repo-rev = "411e830" repo-subdir = "lib/MadNLPGPU" -repo-url = "https://github.com/apozharski/MadNLP.jl.git" +repo-url = "https://github.com/MadNLP/MadNLP.jl.git" uuid = "d72a61cc-809d-412f-99be-fd81f4b8a598" -version = "0.8.0" +version = "0.10.0" [deps.MadNLPGPU.extensions] MadNLPGPUAMDGPUExt = "AMDGPU" - MadNLPGPUCUDAExt = ["CUDA", "CUDSS"] + MadNLPGPUCUDAExt = ["CUDACore", "CUDSS", "cuBLAS", "cuSOLVER", "cuSPARSE"] [deps.MadNLPGPU.weakdeps] AMDGPU = "21141c5a-9bdb-4563-92ae-f87d6854732e" - CUDA = "052768ef-5323-5732-b1bb-66c8b64840ba" + CUDACore = "bd0ed864-bdfe-4181-a5ed-ce625a5fdea2" CUDSS = "45b445bb-4962-46a0-9369-b4df9d0f772e" + cuBLAS = "182d3088-87b7-4494-8cad-fc6afaa545bc" + cuSOLVER = "887afef0-6a32-4de5-add4-7827692ba8fc" + cuSPARSE = "b26da814-b3bc-49ef-b0ee-c816305aa060" [[deps.MadNLPHSL]] deps = ["HSL", "LinearAlgebra", "MadNLP"] -git-tree-sha1 = "b3c4560554a05efca7f651ac783c8ff532c0b1be" -repo-rev = "7fed853" +git-tree-sha1 = "dff8bc694f5c81d28b1fe200f639ec239cd059b8" +repo-rev = "411e830" repo-subdir = "lib/MadNLPHSL" -repo-url = "https://github.com/apozharski/MadNLP.jl.git" +repo-url = "https://github.com/MadNLP/MadNLP.jl.git" uuid = "7fb6135f-58fe-4112-84ca-653cf5be0c77" -version = "0.7.0" +version = "0.7.1" + +[[deps.MadNLPTests]] +deps = ["JuMP", "LinearAlgebra", "MadNLP", "NLPModels", "NLPModelsJuMP", "Random", "SparseArrays", "Test"] +git-tree-sha1 = "02fafac163f38dab8e3189bccc31ba19ac21b70a" +uuid = "b52a2a03-04ab-4a5f-9698-6a2deff93217" +version = "0.6.0" [[deps.Markdown]] deps = ["Base64", "JuliaSyntaxHighlighting", "StyledStrings"] uuid = "d6f4376e-aef5-505a-96c1-9c027394607a" version = "1.11.0" +[[deps.MathOptInterface]] +deps = ["CodecBzip2", "CodecZlib", "ForwardDiff", "JSON", "LinearAlgebra", "MutableArithmetics", "NaNMath", "OrderedCollections", "PrecompileTools", "Printf", "SparseArrays", "SpecialFunctions", "Test"] +git-tree-sha1 = "73939c06e863f8d68322106fdc2464f3443b5e1a" +uuid = "b8f27783-ece8-5eb3-8dc8-9495eed66fee" +version = "1.51.0" + + [deps.MathOptInterface.extensions] + MathOptInterfaceBenchmarkToolsExt = "BenchmarkTools" + MathOptInterfaceCliqueTreesExt = "CliqueTrees" + + [deps.MathOptInterface.weakdeps] + BenchmarkTools = "6e4b80f9-dd63-53aa-95a3-0cdb28fa8baf" + CliqueTrees = "60701a23-6482-424a-84db-faee86b9b1f8" + [[deps.Metis]] deps = ["CEnum", "LinearAlgebra", "METIS_jll", "SparseArrays"] git-tree-sha1 = "54aca4fd53d39dcd2c3f1bef367b6921e8178628" @@ -488,11 +621,32 @@ version = "1.5.0" uuid = "14a3606d-f60d-562e-9121-12d972cd8159" version = "2025.11.4" +[[deps.MutableArithmetics]] +deps = ["LinearAlgebra", "SparseArrays", "Test"] +git-tree-sha1 = "dc5b2c4c111c46bc79ac4405eeb563523b39c004" +uuid = "d8a4904e-b15c-11e9-3269-09a3773c0cb0" +version = "1.8.0" + [[deps.NLPModels]] deps = ["FastClosures", "LinearAlgebra", "LinearOperators", "Printf", "SparseArrays"] -git-tree-sha1 = "5919b1be82ca6ebfc9754cb22ddfb54f56f1d9ac" +git-tree-sha1 = "e4fafa5b025fa43a21e82f38cc9e642985b7eb53" uuid = "a4795742-8479-5a88-8948-cc11e1c8c1a6" -version = "0.21.12" +version = "0.21.10" + +[[deps.NLPModelsJuMP]] +deps = ["JuMP", "LinearAlgebra", "MathOptInterface", "NLPModels", "Printf", "SolverCore", "SparseArrays"] +git-tree-sha1 = "2c8d080e2cf5e068a817f743031c3c5ebb08804e" +uuid = "792afdf1-32c1-5681-94e0-d7bf7a5df49e" +version = "0.13.5" + +[[deps.NVML]] +deps = ["CEnum", "CUDACore", "GPUToolbox", "Libdl"] +git-tree-sha1 = "269695e0ac0bfd854feba8179433c57e10dc95a7" +repo-rev = "6a129e0" +repo-subdir = "lib/nvml" +repo-url = "https://github.com/JuliaGPU/CUDA.jl.git" +uuid = "611af6d1-644e-4c5d-bd58-854d7d1254b9" +version = "6.1.0" [[deps.NVTX]] deps = ["JuliaNVTXCallbacks_jll", "Libdl", "NVTX_jll"] @@ -512,31 +666,54 @@ git-tree-sha1 = "af2232f69447494514c25742ba1503ec7e9877fe" uuid = "e98f9f5b-d649-5603-91fd-7774390e6439" version = "3.2.2+0" +[[deps.NaNMath]] +deps = ["OpenLibm_jll"] +git-tree-sha1 = "9b8215b1ee9e78a293f99797cd31375471b2bcae" +uuid = "77ba4419-2d1f-58cd-9bb1-8ffee604a2e3" +version = "1.1.3" + [[deps.NetworkOptions]] uuid = "ca575930-c2e3-43a9-ace4-1e988b2c1908" version = "1.3.0" [[deps.OpenBLAS32_jll]] -deps = ["Artifacts", "CompilerSupportLibraries_jll", "JLLWrappers", "Libdl"] -git-tree-sha1 = "46cce8b42186882811da4ce1f4c7208b02deb716" +deps = ["Artifacts", "CompilerSupportLibraries_jll", "JLLWrappers", "Libdl", "libblastrampoline_jll"] +git-tree-sha1 = "565175ce692c065e50ad32efbb61ba69b1586593" uuid = "656ef2d0-ae68-5445-9ca0-591084a874a2" -version = "0.3.30+0" +version = "0.3.33+1" [[deps.OpenBLAS_jll]] deps = ["Artifacts", "CompilerSupportLibraries_jll", "Libdl"] uuid = "4536629a-c528-5b80-bd46-f80d51c5b363" version = "0.3.29+0" +[[deps.OpenLibm_jll]] +deps = ["Artifacts", "Libdl"] +uuid = "05823500-19ac-5b8b-9628-191a04bc5112" +version = "0.8.7+0" + [[deps.OpenSSL_jll]] deps = ["Artifacts", "Libdl"] uuid = "458c3c95-2e84-50aa-8efc-19380b2a3a95" version = "3.5.4+0" +[[deps.OpenSpecFun_jll]] +deps = ["Artifacts", "CompilerSupportLibraries_jll", "JLLWrappers", "Libdl"] +git-tree-sha1 = "1346c9208249809840c91b26703912dff463d335" +uuid = "efe28fd5-8261-553b-a9e1-b2916fc3738e" +version = "0.5.6+0" + [[deps.OrderedCollections]] git-tree-sha1 = "05868e21324cede2207c6f0f466b4bfef6d5e7ee" uuid = "bac558e1-5e72-5ebc-8fee-abe8a469f55d" version = "1.8.1" +[[deps.Parsers]] +deps = ["Dates", "PrecompileTools", "UUIDs"] +git-tree-sha1 = "5d5e0a78e971354b1c7bff0655d11fdc1b0e12c8" +uuid = "69de0a69-1ddd-5017-9359-2bf0b02dc9f0" +version = "2.8.4" + [[deps.Pkg]] deps = ["Artifacts", "Dates", "Downloads", "FileWatching", "LibGit2", "Libdl", "Logging", "Markdown", "Printf", "Random", "SHA", "TOML", "Tar", "UUIDs", "p7zip_jll"] uuid = "44cfe95a-1eb2-52ea-b672-e2afdf69b78f" @@ -548,9 +725,9 @@ weakdeps = ["REPL"] [[deps.PrecompileTools]] deps = ["Preferences"] -git-tree-sha1 = "07a921781cab75691315adc645096ed5e370cb77" +git-tree-sha1 = "edbeefc7a4889f528644251bdb5fc9ab5348bc2c" uuid = "aea7be01-6a6a-4083-8856-8a6e6704d82a" -version = "1.3.3" +version = "1.3.4" [[deps.Preferences]] deps = ["TOML"] @@ -576,10 +753,14 @@ uuid = "de0858da-6303-5e67-8744-51eddeeeb8d7" version = "1.11.0" [[deps.Quadmath]] -deps = ["Compat", "Printf", "Random", "Requires"] -git-tree-sha1 = "6bc924717c495f24de85867aa94da4de0e6cd1a1" +deps = ["Compat", "Printf", "Random"] +git-tree-sha1 = "79cd6923b7e5fdb4130cdb0f6c0038d7f65a9717" uuid = "be4d8f0f-7fa4-5f49-b795-2f01399ab2dd" -version = "0.5.13" +version = "1.0.1" +weakdeps = ["SpecialFunctions"] + + [deps.Quadmath.extensions] + QuadmathSpecialFunctionsExt = ["SpecialFunctions"] [[deps.REPL]] deps = ["InteractiveUtils", "JuliaSyntaxHighlighting", "Markdown", "Sockets", "StyledStrings", "Unicode"] @@ -620,9 +801,9 @@ version = "0.7.0" [[deps.ScopedValues]] deps = ["HashArrayMappedTries", "Logging"] -git-tree-sha1 = "ac4b837d89a58c848e85e698e2a2514e9d59d8f6" +git-tree-sha1 = "67a144433c4ce877ee6d1ada69a124d6b1ecf7be" uuid = "7e506255-f358-4e82-b7e4-beb19740aa63" -version = "1.6.0" +version = "1.6.2" [[deps.Scratch]] deps = ["Dates"] @@ -653,6 +834,18 @@ deps = ["Libdl", "LinearAlgebra", "Random", "Serialization", "SuiteSparse_jll"] uuid = "2f01184e-e22b-5df5-ae63-d93ebab69eaf" version = "1.12.0" +[[deps.SpecialFunctions]] +deps = ["IrrationalConstants", "LogExpFunctions", "OpenLibm_jll", "OpenSpecFun_jll"] +git-tree-sha1 = "2700b235561b0335d5bef7097a111dc513b8655e" +uuid = "276daf66-3868-5448-9aa4-cd146d93841b" +version = "2.7.2" + + [deps.SpecialFunctions.extensions] + SpecialFunctionsChainRulesCoreExt = "ChainRulesCore" + + [deps.SpecialFunctions.weakdeps] + ChainRulesCore = "d360d2e6-b24c-11e9-a2a3-2a2ae2dbcce4" + [[deps.StaticArrays]] deps = ["LinearAlgebra", "PrecompileTools", "Random", "StaticArraysCore"] git-tree-sha1 = "246a8bb2e6667f832eea063c3a56aef96429a3db" @@ -688,6 +881,22 @@ git-tree-sha1 = "d05693d339e37d6ab134c5ab53c29fce5ee5d7d5" uuid = "892a3eda-7b42-436c-8928-eab12a02cf0e" version = "0.4.4" +[[deps.StructUtils]] +deps = ["Dates", "UUIDs"] +git-tree-sha1 = "82bee338d650aa515f31866c460cb7e3bcef90b8" +uuid = "ec057cc2-7a8d-4b58-b3b3-92acb9f63b42" +version = "2.8.2" + + [deps.StructUtils.extensions] + StructUtilsMeasurementsExt = ["Measurements"] + StructUtilsStaticArraysCoreExt = ["StaticArraysCore"] + StructUtilsTablesExt = ["Tables"] + + [deps.StructUtils.weakdeps] + Measurements = "eff96d63-e80a-5855-80a2-b1b0885c5ab7" + StaticArraysCore = "1e83bf80-4336-4d27-bf5d-d5a4f845583c" + Tables = "bd369af6-aec1-5ad0-b16a-f7cc5008161c" + [[deps.StyledStrings]] uuid = "f489334b-da3d-4c2e-b8f0-e476e12c162b" version = "1.11.0" @@ -752,6 +961,11 @@ version = "0.1.6" [deps.Tracy.weakdeps] TracyProfiler_jll = "0c351ed6-8a68-550e-8b79-de6f926da83c" +[[deps.TranscodingStreams]] +git-tree-sha1 = "0c45878dcfdcfa8480052b6ab162cdd138781742" +uuid = "3bb67fe8-82b1-5028-8e26-92a6c54297fa" +version = "0.11.3" + [[deps.UUIDs]] deps = ["Random", "SHA"] uuid = "cf7118a7-6976-5b1a-9a39-7adc72f591a4" @@ -775,6 +989,63 @@ deps = ["Libdl"] uuid = "83775a58-1f1d-513f-b197-d71354ab007a" version = "1.3.1+2" +[[deps.cuBLAS]] +deps = ["Adapt", "BFloat16s", "CEnum", "CUDACore", "CUDA_Runtime_Discovery", "CUDA_Runtime_jll", "GPUArrays", "GPUToolbox", "LLVM", "LinearAlgebra"] +git-tree-sha1 = "182c2d0874259e9572ce75b8ce05c906eebc4c22" +repo-rev = "6a129e0" +repo-subdir = "lib/cublas" +repo-url = "https://github.com/JuliaGPU/CUDA.jl.git" +uuid = "182d3088-87b7-4494-8cad-fc6afaa545bc" +version = "6.1.0" + + [deps.cuBLAS.extensions] + EnzymeCoreExt = "EnzymeCore" + + [deps.cuBLAS.weakdeps] + EnzymeCore = "f151be2c-9106-41f4-ab19-57ee4f262869" + +[[deps.cuFFT]] +deps = ["AbstractFFTs", "CEnum", "CUDACore", "CUDA_Runtime_Discovery", "CUDA_Runtime_jll", "GPUToolbox", "LinearAlgebra", "Reexport"] +git-tree-sha1 = "4cf58ffcab3bc0868fc0e891a0d8af9d6dab97cf" +repo-rev = "6a129e0" +repo-subdir = "lib/cufft" +repo-url = "https://github.com/JuliaGPU/CUDA.jl.git" +uuid = "533571aa-0936-420e-b4be-9c66f5f626ca" +version = "6.1.0" + +[[deps.cuRAND]] +deps = ["CEnum", "CUDACore", "CUDA_Runtime_Discovery", "CUDA_Runtime_jll", "GPUToolbox", "Random", "Random123", "RandomNumbers"] +git-tree-sha1 = "5fce84fa914c90b633fc117b1afd6e579bd9ecd3" +repo-rev = "6a129e0" +repo-subdir = "lib/curand" +repo-url = "https://github.com/JuliaGPU/CUDA.jl.git" +uuid = "20fd9a0b-12d5-4c2f-a8af-7c34e9e60431" +version = "6.1.0" + +[[deps.cuSOLVER]] +deps = ["CEnum", "CUDACore", "CUDA_Runtime_Discovery", "CUDA_Runtime_jll", "GPUToolbox", "LinearAlgebra", "SparseArrays", "cuBLAS", "cuSPARSE"] +git-tree-sha1 = "27176f4cd1940d3758d666ecca12e08a3a0e48e7" +repo-rev = "6a129e0" +repo-subdir = "lib/cusolver" +repo-url = "https://github.com/JuliaGPU/CUDA.jl.git" +uuid = "887afef0-6a32-4de5-add4-7827692ba8fc" +version = "6.1.0" + +[[deps.cuSPARSE]] +deps = ["Adapt", "CEnum", "CUDACore", "CUDA_Runtime_Discovery", "CUDA_Runtime_jll", "GPUArrays", "GPUToolbox", "KernelAbstractions", "LinearAlgebra", "SparseArrays"] +git-tree-sha1 = "c181dbd955efca4e333f23482500ec9c14b514d5" +repo-rev = "6a129e0" +repo-subdir = "lib/cusparse" +repo-url = "https://github.com/JuliaGPU/CUDA.jl.git" +uuid = "b26da814-b3bc-49ef-b0ee-c816305aa060" +version = "6.1.0" + + [deps.cuSPARSE.extensions] + SparseMatricesCSRExt = "SparseMatricesCSR" + + [deps.cuSPARSE.weakdeps] + SparseMatricesCSR = "a0a7dd2c-ebf4-11e9-1f05-cf50bc540ca1" + [[deps.demumble_jll]] deps = ["Artifacts", "JLLWrappers", "Libdl"] git-tree-sha1 = "6498e3581023f8e530f34760d18f75a69e3a4ea8" @@ -782,7 +1053,7 @@ uuid = "1e29f10c-031c-5a83-9565-69cddfc27673" version = "1.3.0+0" [[deps.libMad]] -deps = ["BFloat16s", "CCOpt", "CUDA", "CUDA_Compiler_jll", "CUDA_Driver_jll", "CUDA_Runtime_jll", "CUDSS", "GPUCompiler", "HSL", "InteractiveUtils", "Libdl", "MadNLP", "MadNLPGPU", "MadNLPHSL", "NLPModels", "PrecompileTools", "Preferences", "SolverCore"] +deps = ["BFloat16s", "CCOpt", "CUDA", "CUDACore", "CUDATools", "CUDA_Driver_jll", "CUDA_Runtime_Discovery", "CUDA_Runtime_jll", "CUDSS", "CUPTI", "GPUCompiler", "HSL", "InteractiveUtils", "Libdl", "MadNLP", "MadNLPGPU", "MadNLPHSL", "NLPModels", "NVML", "PrecompileTools", "Preferences", "Reexport", "SolverCore", "cuBLAS", "cuFFT", "cuRAND", "cuSOLVER", "cuSPARSE"] path = "." uuid = "3cb06f27-fa54-49c1-aeea-14d13a711cb4" version = "0.1.0" diff --git a/Project.toml b/Project.toml index 06cb8c7..b7f701e 100644 --- a/Project.toml +++ b/Project.toml @@ -7,10 +7,13 @@ authors = ["Anton Edvinovich Pozharskiy BFloat16s = "ab4f0b2a-ad5b-11e8-123f-65d77653426b" CCOpt = "6689419a-93c1-455a-8ac6-77991ec4f86b" CUDA = "052768ef-5323-5732-b1bb-66c8b64840ba" -CUDA_Compiler_jll = "d1e2174e-dfdc-576e-b43e-73b79eb1aca8" +CUDACore = "bd0ed864-bdfe-4181-a5ed-ce625a5fdea2" +CUDATools = "9ec180c6-1c07-47c7-9e6e-ebefa4d1f6d0" CUDA_Driver_jll = "4ee394cb-3365-5eb0-8335-949819d2adfc" +CUDA_Runtime_Discovery = "1af6417a-86b4-443c-805f-a4643ffb695f" CUDA_Runtime_jll = "76a88914-d11a-5bdc-97e0-2f5a05c973a2" CUDSS = "45b445bb-4962-46a0-9369-b4df9d0f772e" +CUPTI = "9e67e8f6-ba02-4b6c-a7db-3b11ae1e7ab7" GPUCompiler = "61eb1bfa-7361-4325-ad38-22787b887f55" HSL = "34c5aeac-e683-54a6-a0e9-6e0fdc586c50" InteractiveUtils = "b77e0a4c-d291-57a0-90e8-8db25a27a240" @@ -19,26 +22,42 @@ MadNLP = "2621e9c9-9eb4-46b1-8089-e8c72242dfb6" MadNLPGPU = "d72a61cc-809d-412f-99be-fd81f4b8a598" MadNLPHSL = "7fb6135f-58fe-4112-84ca-653cf5be0c77" NLPModels = "a4795742-8479-5a88-8948-cc11e1c8c1a6" +NVML = "611af6d1-644e-4c5d-bd58-854d7d1254b9" PrecompileTools = "aea7be01-6a6a-4083-8856-8a6e6704d82a" Preferences = "21216c6a-2e73-6563-6e65-726566657250" +Reexport = "189a3867-3050-52da-a836-e630ba90ab69" SolverCore = "ff4d7338-4cf1-434d-91df-b86cb86fb843" +cuBLAS = "182d3088-87b7-4494-8cad-fc6afaa545bc" +cuFFT = "533571aa-0936-420e-b4be-9c66f5f626ca" +cuRAND = "20fd9a0b-12d5-4c2f-a8af-7c34e9e60431" +cuSOLVER = "887afef0-6a32-4de5-add4-7827692ba8fc" +cuSPARSE = "b26da814-b3bc-49ef-b0ee-c816305aa060" [compat] BFloat16s = "0.6.1" CCOpt = "0.1.0" -CUDA = "5.11.0" -CUDA_Compiler_jll = "0.4.2" +CUDA = "6.1.0" +CUDACore = "6.1.0" +CUDATools = "6.1.0" CUDA_Driver_jll = "13.2.0" -CUDA_Runtime_jll = "0.21.0" -CUDSS = "0.6.7" +CUDA_Runtime_Discovery = "2.1.0" +CUDA_Runtime_jll = "0.21.0, 0.22.0, 0.23.0" +CUDSS = "0.7.0" +CUPTI = "6.1.0" GPUCompiler = "1.7.5" HSL = "0.5.2" InteractiveUtils = "1.11.0" Libdl = "1.11.0" -MadNLP = "0.9.1" -MadNLPGPU = "0.8.0" -MadNLPHSL = "0.7.0" +MadNLP = "0.9.2" +MadNLPGPU = "0.10.0" +MadNLPHSL = "0.7.1" NLPModels = "0.21.5" +NVML = "6.1.0" PrecompileTools = "1.3.2" Preferences = "1.5.1" SolverCore = "0.3.8" +cuBLAS = "6.1.0" +cuFFT = "6.1.0" +cuRAND = "6.1.0" +cuSOLVER = "6.1.0" +cuSPARSE = "6.1.0" From ab4d316053b330ec9870899a4bc59f2a59cef331 Mon Sep 17 00:00:00 2001 From: Anton Pozharskiy Date: Wed, 27 May 2026 14:04:44 +0200 Subject: [PATCH 3/3] mkdir lib if missing --- .github/workflows/build_dist.yml | 3 +++ .github/workflows/publish.yml | 3 +++ 2 files changed, 6 insertions(+) diff --git a/.github/workflows/build_dist.yml b/.github/workflows/build_dist.yml index 3206c8b..b2cd004 100644 --- a/.github/workflows/build_dist.yml +++ b/.github/workflows/build_dist.yml @@ -63,6 +63,9 @@ jobs: - name: Add interface lib file for MSVC run: | cd build/install + if (!(Test-Path lib)){ + mkdir lib + } cp bin/libMad.imp.lib lib/Mad.lib - name: trim out unnecessary artifacts run: | diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index a04caff..fa0bdab 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -75,6 +75,9 @@ jobs: - name: Add interface lib file for MSVC run: | cd build/install + if (!(Test-Path lib)){ + mkdir lib + } cp bin/libMad.imp.lib lib/Mad.lib - name: trim out unnecessary artifacts run: |