Skip to content

Commit e0d85ca

Browse files
committed
Clear out old code
1 parent fc26f0f commit e0d85ca

File tree

1 file changed

+0
-36
lines changed

1 file changed

+0
-36
lines changed

src/AutoBuild.jl

Lines changed: 0 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -1124,9 +1124,6 @@ function build_jll_package(src_name::String,
11241124
end
11251125

11261126
print(io, """
1127-
# Inform that the wrapper is available for this platform
1128-
wrapper_available = true
1129-
11301127
\"\"\"
11311128
Open all libraries
11321129
\"\"\"
@@ -1136,18 +1133,6 @@ function build_jll_package(src_name::String,
11361133
11371134
global PATH_list, LIBPATH_list
11381135
""")
1139-
# if !isempty(dependencies)
1140-
# print(io, """
1141-
# # Initialize PATH and LIBPATH environment variable listings.
1142-
# # From the list of our dependencies, generate a tuple of all the PATH and LIBPATH lists,
1143-
# # then append them to our own.
1144-
# foreach(p -> append!(PATH_list, p), ($(join(["$(getname(dep)).PATH_list" for dep in dependencies], ", ")),))
1145-
# foreach(p -> append!(LIBPATH_list, p), ($(join(["$(getname(dep)).LIBPATH_list" for dep in dependencies], ", ")),))
1146-
# """)
1147-
# end
1148-
#println(io, " initialize_path_list!(PATH_list, $(repr(tuple(["$(getname(dep)).PATH_list" for dep in dependencies]))))")
1149-
#println(io, " initialize_path_list!(LIBPATH_list, $(repr(tuple(["$(getname(dep)).LIBPATH_list" for dep in dependencies]))))")
1150-
11511136

11521137
if !isempty(dependencies)
11531138
# Note: this needs to be done at init time, because the path
@@ -1175,11 +1160,6 @@ function build_jll_package(src_name::String,
11751160
$(BinaryBuilderBase.dlopen_flags_str(p)),
11761161
)
11771162
""")
1178-
# println(io, """
1179-
# global $(vp)_path = normpath(joinpath(artifact_dir, $(vp)_joinpath))
1180-
# global $(vp)_handle = dlopen($(vp)_path, $(BinaryBuilderBase.dlopen_flags_str(p)))
1181-
# push!(LIBPATH_list, dirname($(vp)_path))
1182-
# """)
11831163
elseif p isa ExecutableProduct
11841164
println(io, """
11851165
global $(vp)_path = get_exe_path!(
@@ -1201,22 +1181,6 @@ function build_jll_package(src_name::String,
12011181
PATH, LIBPATH = cleanup_path_libpath!(PATH_list, LIBPATH_list, $(repr(pathsep)))
12021182
""")
12031183

1204-
# Libraries shipped by Julia can be found in different directories,
1205-
# depending on the operating system and whether Julia has been built
1206-
# from source or it's a pre-built binary. For all OSes libraries can
1207-
# be found in Base.LIBDIR or Base.LIBDIR/julia, on Windows they are
1208-
# in Sys.BINDIR, so we just add everything.
1209-
# init_libpath = "JLLWrappers.get_julia_libpaths()"
1210-
# if isa(platform, Windows)
1211-
# init_libpath = string("Sys.BINDIR, ", init_libpath)
1212-
# end
1213-
# print(io, """
1214-
# # Filter out duplicate and empty entries in our PATH and LIBPATH entries
1215-
# filter!(!isempty, unique!(PATH_list))
1216-
# filter!(!isempty, unique!(LIBPATH_list))
1217-
# global PATH = join(PATH_list, $(repr(pathsep)))
1218-
# global LIBPATH = join(vcat(LIBPATH_list, $(init_libpath)), $(repr(pathsep)))
1219-
# """)
12201184
if !isempty(init_block)
12211185
print(io, """
12221186

0 commit comments

Comments
 (0)