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 995a751
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 @@
308e6a13537f8882828f5358debbe644
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
0f6169026e74ea2e9461cb97576bf9661e9c1198d03c08121710884f2380f29c1cebd112eda486765aa985229034dc885900839f9f356d59fedf4b1f569f97bd
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 = 3c2856d44e61028f91d723e8c5d16c4808246def
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 995a751

Please sign in to comment.