Skip to content

Commit

Permalink
add LibCURL stdlib
Browse files Browse the repository at this point in the history
  • Loading branch information
StefanKarpinski committed Sep 16, 2020
1 parent 745f287 commit b5a53c2
Show file tree
Hide file tree
Showing 8 changed files with 12 additions and 3 deletions.
1 change: 1 addition & 0 deletions base/sysimg.jl
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ let
:Statistics,
:MozillaCACerts_jll,
:LibCURL_jll,
:LibCURL,
]

maxlen = reduce(max, textwidth.(string.(stdlibs)); init=0)
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
829dd514bd1e0d2f9d8cc6c8d5085bba
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
080fa389e9a924484aeb50d4bccd314da7d264613d0951f3b8dd53f28f4080abe126cb3960dcb69434a9c6d915866de01977625960117bc5e9d77928efead1cb
2 changes: 2 additions & 0 deletions stdlib/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,5 @@
/Pkg
/Statistics-*
/Statistics
/LibCURL-*
/LibCURL
2 changes: 2 additions & 0 deletions stdlib/LibCURL.version
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
LIBCURL_BRANCH = master
LIBCURL_SHA1 = 70aa2cc3f8fa4488897136a0a700b5425bfffdfa
4 changes: 3 additions & 1 deletion stdlib/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,13 @@ STDLIBS = Artifacts Base64 CRC32c Dates DelimitedFiles Distributed FileWatching
SharedArrays Sockets SparseArrays SuiteSparse Test TOML Unicode UUIDs \
MozillaCACerts_jll LibCURL_jll

STDLIBS_EXT = Pkg Statistics
STDLIBS_EXT = Pkg Statistics LibCURL
PKG_GIT_URL := git:https://github.com/JuliaLang/Pkg.jl.git
PKG_TAR_URL = https://api.github.com/repos/JuliaLang/Pkg.jl/tarball/$1
STATISTICS_GIT_URL := git:https://github.com/JuliaLang/Statistics.jl.git
STATISTICS_TAR_URL = https://api.github.com/repos/JuliaLang/Statistics.jl/tarball/$1
LIBCURL_GIT_URL := git:https://github.com/JuliaWeb/LibCURL.jl.git
LIBCURL_TAR_URL = https://api.github.com/repos/JuliaWeb/LibCURL.jl/tarball/$1

$(foreach module, $(STDLIBS_EXT), $(eval $(call stdlib-external,$(module),$(shell echo $(module) | tr a-z A-Z))))

Expand Down
2 changes: 1 addition & 1 deletion test/choosetests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ function choosetests(choices = [])
filter!(x -> (x != "Profile"), tests)
end

net_required_for = ["Sockets", "LibGit2"]
net_required_for = ["Sockets", "LibGit2", "LibCURL"]
net_on = true
try
ipa = getipaddr()
Expand Down
2 changes: 1 addition & 1 deletion test/precompile.jl
Original file line number Diff line number Diff line change
Expand Up @@ -292,7 +292,7 @@ try
:Future, :Libdl, :LinearAlgebra, :Logging, :Mmap, :Printf,
:Profile, :Random, :Serialization, :SharedArrays, :SparseArrays, :SuiteSparse, :Test,
:Unicode, :REPL, :InteractiveUtils, :Pkg, :LibGit2, :SHA, :UUIDs, :Sockets,
:Statistics, :TOML, :MozillaCACerts_jll, :LibCURL_jll,]),
:Statistics, :TOML, :MozillaCACerts_jll, :LibCURL_jll, :LibCURL,]),
# Plus precompilation module generated at build time
let id = Base.PkgId("__PackagePrecompilationStatementModule")
Dict(id => Base.module_build_id(Base.root_module(id)))
Expand Down

0 comments on commit b5a53c2

Please sign in to comment.