Skip to content

Commit

Permalink
Add MbedTLS as stdlib
Browse files Browse the repository at this point in the history
  • Loading branch information
quinnj committed Aug 7, 2019
1 parent 314e355 commit d64c004
Show file tree
Hide file tree
Showing 6 changed files with 10 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 @@ -28,6 +28,7 @@ let
:Serialization,
:Libdl,
:Markdown,
:MbedTLS,
:LibGit2,
:Logging,
:Sockets,
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
4808623489c967ffec5b98499592854b
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
3b5296f58128016e246628e7b6aff08442644e84347385a780814ea4df8990144220768ee762e5155ecc7cd2b93ee633b9939b3288ccad6477cd73233cd12b7f
5 changes: 4 additions & 1 deletion stdlib/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,13 @@ STDLIBS = Base64 CRC32c Dates DelimitedFiles Distributed FileWatching \
Future InteractiveUtils Libdl LibGit2 LinearAlgebra Logging \
Markdown Mmap Printf Profile Random REPL Serialization SHA \
SharedArrays Sockets SparseArrays Statistics SuiteSparse Test Unicode UUIDs
STDLIBS_EXT = Pkg
STDLIBS_EXT = Pkg MbedTLS
PKG_GIT_URL := git://github.com/JuliaLang/Pkg.jl.git
PKG_TAR_URL = https://api.github.com/repos/JuliaLang/Pkg.jl/tarball/$1

MBEDTLS_GIT_URL := git://github.com/JuliaWeb/MbedTLS.jl.git
MBEDTLS_TAR_URL = https://api.github.com/repos/JuliaWeb/MbedTLS.jl/tarball/$1

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

# Generate symlinks to all stdlibs at usr/share/julia/stdlib/vX.Y/
Expand Down
2 changes: 2 additions & 0 deletions stdlib/MbedTLS.version
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
MBEDTLS_BRANCH = jq/stdlib
MBEDTLS_SHA1 = 4b57d240ac5de9643c4ee274151d3394ac426c91
2 changes: 1 addition & 1 deletion test/precompile.jl
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@ try
Base.PkgId(m) => Base.module_build_id(m)
end for s in
[:Base64, :CRC32c, :Dates, :DelimitedFiles, :Distributed, :FileWatching, :Markdown,
:Future, :Libdl, :LinearAlgebra, :Logging, :Mmap, :Printf,
:Future, :Libdl, :LinearAlgebra, :Logging, :Mmap, :Printf, :MbedTLS,
:Profile, :Random, :Serialization, :SharedArrays, :SparseArrays, :SuiteSparse, :Test,
:Unicode, :REPL, :InteractiveUtils, :Pkg, :LibGit2, :SHA, :UUIDs, :Sockets,
:Statistics, ]),
Expand Down

0 comments on commit d64c004

Please sign in to comment.