|
756 | 756 | # App # |
757 | 757 | ####### |
758 | 758 |
|
759 | | -const IS_OFFICIAL = Base.TAGGED_RELEASE_BANNER == "Official https://julialang.org/ release" |
760 | | -function warn_official() |
761 | | - if !IS_OFFICIAL |
762 | | - @warn "PackageCompiler: This does not look like an official Julia build, functionality may suffer." _module=nothing _file=nothing |
763 | | - end |
764 | | -end |
765 | 759 |
|
766 | 760 | """ |
767 | 761 | create_app(package_dir::String, compiled_app::String; kwargs...) |
@@ -851,7 +845,6 @@ function create_app(package_dir::String, |
851 | 845 | include_transitive_dependencies::Bool=true, |
852 | 846 | include_preferences::Bool=true, |
853 | 847 | script::Union{Nothing, String}=nothing) |
854 | | - warn_official() |
855 | 848 | if filter_stdlibs && incremental |
856 | 849 | error("must use `incremental=false` to use `filter_stdlibs=true`") |
857 | 850 | end |
@@ -1059,9 +1052,6 @@ function create_library(package_or_project::String, |
1059 | 1052 | base_sysimage::Union{Nothing, String}=nothing |
1060 | 1053 | ) |
1061 | 1054 |
|
1062 | | - |
1063 | | - warn_official() |
1064 | | - |
1065 | 1055 | # Add init header files to list of bundled header files if not already present |
1066 | 1056 | if julia_init_h_file isa String |
1067 | 1057 | julia_init_h_file = [julia_init_h_file] |
@@ -1235,7 +1225,7 @@ end |
1235 | 1225 |
|
1236 | 1226 | function bundle_julia_executable(dir::String) |
1237 | 1227 | bindir = joinpath(dir, "bin") |
1238 | | - name = Sys.iswindows() ? "julia.exe" : "julia" |
| 1228 | + name = Base.julia_exename() |
1239 | 1229 | mkpath(bindir) |
1240 | 1230 | cp(joinpath(Sys.BINDIR::String, name), joinpath(bindir, name); force=true) |
1241 | 1231 | end |
|
0 commit comments