diff --git a/L/LLVM/MLIR@12.0.1/build_tarballs.jl b/L/LLVM/MLIR@12.0.1/build_tarballs.jl index cf327531000..34625b947e6 100644 --- a/L/LLVM/MLIR@12.0.1/build_tarballs.jl +++ b/L/LLVM/MLIR@12.0.1/build_tarballs.jl @@ -2,6 +2,7 @@ name = "MLIR" llvm_full_version = v"12.0.1+4" libllvm_version = v"12.0.1+4" + # Include common LLVM stuff include("../common.jl") build_tarballs(ARGS, configure_extraction(ARGS, llvm_full_version, name, libllvm_version; experimental_platforms=true)...; skip_audit=true, julia_compat="1.7") diff --git a/L/LLVM/MLIR@13.0.0/build_tarballs.jl b/L/LLVM/MLIR@13.0.0/build_tarballs.jl index e79705a906a..d5f48afbba4 100644 --- a/L/LLVM/MLIR@13.0.0/build_tarballs.jl +++ b/L/LLVM/MLIR@13.0.0/build_tarballs.jl @@ -2,6 +2,7 @@ name = "MLIR" llvm_full_version = v"13.0.0+1" libllvm_version = v"13.0.0+1" + # Include common LLVM stuff include("../common.jl") build_tarballs(ARGS, configure_extraction(ARGS, llvm_full_version, name, libllvm_version; experimental_platforms=true)...; skip_audit=true, julia_compat="1.8") diff --git a/L/LLVM/common.jl b/L/LLVM/common.jl index ba183de986c..9b0732344cc 100644 --- a/L/LLVM/common.jl +++ b/L/LLVM/common.jl @@ -428,6 +428,9 @@ function configure_extraction(ARGS, LLVM_full_version, name, libLLVM_version=not LibraryProduct("libMLIR", :libMLIR, dont_dlopen=true), LibraryProduct("libMLIRPublicAPI", :libMLIRPublicAPI, dont_dlopen=true), ] + if v"12" <= version < v"13" + push!(products, LibraryProduct("libMLIRPublicAPI", :libMLIRPublicAPI, dont_dlopen=true)) + end elseif name == "LLVM" script = llvmscript products = [