We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
@static
1 parent f777451 commit 2a6bfe7Copy full SHA for 2a6bfe7
src/compiler/compiler.jl
@@ -209,7 +209,7 @@ const POPLAR_SDK_LLVM_MAPPING = Dict(
209
function __init__()
210
@static if get(POPLAR_SDK_LLVM_MAPPING, Base.thisminor(Poplar.SDK_VERSION), v"0") != Base.thismajor(Base.libllvm_version)
211
sdk_llvm_version = get(POPLAR_SDK_LLVM_MAPPING, Base.thisminor(Poplar.SDK_VERSION), "UNKNOWN")
212
- @static if sdk_llvm_version == "UNKNOWN" && !isnothing(Sys.which("popc"))
+ if sdk_llvm_version == "UNKNOWN" && !isnothing(Sys.which("popc"))
213
sdk_llvm_version = match(r"clang version ([\d.]+)", readchomp(`popc --version`))[1]
214
end
215
@warn """
0 commit comments