Skip to content

Commit

Permalink
add NetworkOptions stdlib
Browse files Browse the repository at this point in the history
  • Loading branch information
StefanKarpinski committed Nov 9, 2020
1 parent 6b7d530 commit b997116
Show file tree
Hide file tree
Showing 7 changed files with 11 additions and 2 deletions.
1 change: 1 addition & 0 deletions base/sysimg.jl
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ let
:Libdl,
:Printf,
:Markdown,
:NetworkOptions,
:LibGit2,
:Logging,
:Sockets,
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
9518e24996c3fb00c571bd147c8863ec
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
124b2dbc97437c55a71cab6613b21c6c79759f757f99a028d5b7aab67d353ec623b09d25075c3f14c7b53430e4595a0adc598f262f07ad0be53b53c92ea70a61
2 changes: 2 additions & 0 deletions stdlib/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,5 @@
/ArgTools
/Tar-*
/Tar
/NetworkOptions-*
/NetworkOptions
4 changes: 3 additions & 1 deletion stdlib/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ STDLIBS = Artifacts Base64 CRC32c Dates DelimitedFiles Distributed FileWatching
SharedArrays Sockets SparseArrays SuiteSparse Test TOML Unicode UUIDs \
MozillaCACerts_jll LibCURL_jll

STDLIBS_EXT = Pkg Statistics LibCURL Downloads ArgTools Tar
STDLIBS_EXT = Pkg Statistics LibCURL Downloads ArgTools Tar NetworkOptions
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
Expand All @@ -33,6 +33,8 @@ ARGTOOLS_GIT_URL := git:https://github.com/JuliaIO/ArgTools.jl.git
ARGTOOLS_TAR_URL = https://api.github.com/repos/JuliaIO/ArgTools.jl/tarball/$1
TAR_GIT_URL := git:https://github.com/JuliaIO/Tar.jl.git
TAR_TAR_URL = https://api.github.com/repos/JuliaIO/Tar.jl/tarball/$1
NETWORKOPTIONS_GIT_URL := git:https://github.com/JuliaLang/NetworkOptions.jl.git
NETWORKOPTIONS_TAR_URL = https://api.github.com/repos/JuliaLang/NetworkOptions.jl/tarball/$1

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

Expand Down
2 changes: 2 additions & 0 deletions stdlib/NetworkOptions.version
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
NETWORKOPTIONS_BRANCH = master
NETWORKOPTIONS_SHA1 = 45d64a32df020e0b778a5b253ef9e2f870ffbf1e
2 changes: 1 addition & 1 deletion test/precompile.jl
Original file line number Diff line number Diff line change
Expand Up @@ -295,7 +295,7 @@ try
:Profile, :Random, :Serialization, :SharedArrays, :SparseArrays, :SuiteSparse, :Test,
:Unicode, :REPL, :InteractiveUtils, :Pkg, :LibGit2, :SHA, :UUIDs, :Sockets,
:Statistics, :TOML, :MozillaCACerts_jll, :LibCURL_jll, :LibCURL, :Downloads,
:ArgTools, :Tar,]),
:ArgTools, :Tar, :NetworkOptions,]),
)
@test discard_module.(deps) == deps1
modules, (deps, requires), required_modules = Base.parse_cache_header(cachefile; srcfiles_only=true)
Expand Down

0 comments on commit b997116

Please sign in to comment.