Skip to content

Commit

Permalink
put back DelimitedFiles as a non-sysimage "stdlib"
Browse files Browse the repository at this point in the history
  • Loading branch information
KristofferC authored and KristofferC committed Feb 14, 2023
1 parent cd955e1 commit 3186096
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 1 deletion.
1 change: 1 addition & 0 deletions contrib/cache_stdlibs.jl
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ stdlibs = [
:Zlib_jll,
:dSFMT_jll,
:libLLVM_jll,
:DelimitedFiles,

# 2-depth packages
:LibSSH2_jll,
Expand Down
4 changes: 4 additions & 0 deletions stdlib/DelimitedFiles.version
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
DELIMITEDFILES_BRANCH = main
DELIMITEDFILES_SHA1 = db79c842f95f55b1f8d8037c0d3363ab21cd3b90
DELIMITEDFILES_GIT_URL := https://github.com/JuliaData/DelimitedFiles.jl.git
DELIMITEDFILES_TAR_URL = https://api.github.com/repos/JuliaData/DelimitedFiles.jl/tarball/$1
2 changes: 1 addition & 1 deletion stdlib/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ STDLIBS = Artifacts Base64 CRC32c Dates Distributed FileWatching \
SharedArrays Sockets Test TOML Unicode UUIDs \
$(JLL_NAMES)

STDLIBS_EXT = Pkg Statistics LibCURL Downloads ArgTools Tar NetworkOptions SuiteSparse SparseArrays SHA
STDLIBS_EXT = Pkg Statistics LibCURL DelimitedFiles Downloads ArgTools Tar NetworkOptions SuiteSparse SparseArrays SHA

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

Expand Down
4 changes: 4 additions & 0 deletions test/loading.jl
Original file line number Diff line number Diff line change
Expand Up @@ -1135,3 +1135,7 @@ append!(Base.DEPOT_PATH, original_depot_path)
wait(t2)
wait(t1)
end

@testset "Upgradable stdlibs" begin
@test success(`$(Base.julia_cmd()) --startup-file=no -e 'using DelimitedFiles'`)
end

0 comments on commit 3186096

Please sign in to comment.