Skip to content

Commit

Permalink
put back DelimitedFiles as a non-sysimage "stdlib" (#48671)
Browse files Browse the repository at this point in the history
(cherry picked from commit 56667bb)
  • Loading branch information
KristofferC authored and KristofferC committed Feb 21, 2023
1 parent 0cb0bb4 commit 624c665
Show file tree
Hide file tree
Showing 7 changed files with 14 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
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
ee5afca99801e37fd3a42a9455ae986b
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
2adec92de521df1668eb13f2903ffdb01efd6afa5f04ce6fbd1737caa4948f7b629cdda7f75a895853a0cd49dccf8b388860d5c19c29e4d4aad6c7f8fa6b7209
2 changes: 2 additions & 0 deletions stdlib/.gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
/srccache
/DelimitedFiles-*
/DelimitedFiles
/Pkg-*
/Pkg
/Statistics-*
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 @@ -47,7 +47,7 @@ STDLIBS = Artifacts Base64 CRC32c Dates Distributed FileWatching \
SharedArrays Sockets SparseArrays SuiteSparse 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 @@ -1104,3 +1104,7 @@ end

empty!(Base.DEPOT_PATH)
append!(Base.DEPOT_PATH, original_depot_path)

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

0 comments on commit 624c665

Please sign in to comment.