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/common.jl b/L/LLVM/common.jl index ec0b803f5e7..c6d0355b37b 100644 --- a/L/LLVM/common.jl +++ b/L/LLVM/common.jl @@ -377,7 +377,7 @@ function configure_build(ARGS, version; experimental_platforms=false, assert=fal if version >= v"8" push!(products, ExecutableProduct("llvm-mca", :llvm_mca, "tools")) end - if version == v"12" + if v"12" <= version < v"13" push!(products, LibraryProduct(["MLIRPublicAPI", "libMLIRPublicAPI"], :mlir_public, dont_dlopen=true)) end if version >= v"12" @@ -427,7 +427,7 @@ function configure_extraction(ARGS, LLVM_full_version, name, libLLVM_version=not products = [ LibraryProduct("libMLIR", :libMLIR, dont_dlopen=true), ] - if v"12" == version + if v"12" <= version < v"13" push!(products, LibraryProduct("libMLIRPublicAPI", :libMLIRPublicAPI, dont_dlopen=true)) end elseif name == "LLVM"