Closed johnnychen94 closed 2 years ago
I'm considering directly shipping this Artifact.toml in Clang.jl.
This is very nice! I have always manually redirected that Artifacts.toml to a local file before. Additionally, we can also avoid directly calling the Pkg.download_artifact
function instead of Pkg.ensure_artifact_downloaded
, which respects pkg mirror.
I'm considering directly shipping this Artifact.toml in Clang.jl.
I've thought about this too, but then I feel it brings more future synchronization/maintenance work to do without CompatHelper-like CI tools. Thus I took this tricky version.
closed in favor of #377
Almost certainly I get network issues when
using Clang
in China unless I set proxies. This PR works around it so I figured people might want to see this change.This commit provides two changes:
Artifacts.toml
provided by binarybuilderbase. previously it uses the master version, which can sometimes be breaking and troublesome.As a consequence of getting rid of the need to download from remote server, this commit makes
@time using Clang
much faster: from 1.7s to 0.4s in Julia 1.7, macOS Intel i9-9880H.