I downloaded the MyApp example with Julia 1.8.
I could not get create_app to work. It results in ERROR: could not find project error.
Julia Version: Version 1.8.2 (2022-09-29) from the main download site.
OS: Linux (Arch) 6.0.2-arch1-1 #1 SMP PREEMPT_DYNAMIC Sat, 15 Oct 2022 14:00:49 +0000 x86_64 GNU/Linux
Here is what I ran and the output I got.
/tmp/julia/PackageCompiler.jl-master/examples/MyApp/ $ /opt/julia/bin/julia --project=.
_
_ _ _(_)_ | Documentation: https://docs.julialang.org
(_) | (_) (_) |
_ _ _| |_ __ _ | Type "?" for help, "]?" for Pkg help.
| | | | | | |/ _` | |
| | |_| | | | (_| | | Version 1.8.2 (2022-09-29)
_/ |\__'_|_|_|\__'_| | Official https://julialang.org/ release
|__/ |
julia> using PackageCompiler
julia> create_app("MyApp","testbin1")
ERROR: could not find project at "MyApp"
Stacktrace:
[1] error(s::String)
@ Base ./error.jl:35
[2] create_pkg_context(project::String)
@ PackageCompiler ~/.julia/packages/PackageCompiler/DKijm/src/PackageCompiler.jl:63
[3] create_app(package_dir::String, app_dir::String; executables::Nothing, precompile_execution_file::Vector{String}, precompile_statements_file::Vector{String}, incremental::Bool, filter_stdlibs::Bool, force::Bool, c_driver_program::String, cpu_target::String, include_lazy_artifacts::Bool, sysimage_build_args::Cmd, include_transitive_dependencies::Bool)
@ PackageCompiler ~/.julia/packages/PackageCompiler/DKijm/src/PackageCompiler.jl:700
[4] create_app(package_dir::String, app_dir::String)
@ PackageCompiler ~/.julia/packages/PackageCompiler/DKijm/src/PackageCompiler.jl:685
[5] top-level scope
@ REPL[2]:1
I downloaded the MyApp example with Julia 1.8.
I could not get
create_appto work. It results inERROR: could not find projecterror.Julia Version:
Version 1.8.2 (2022-09-29)from the main download site.OS: Linux (Arch) 6.0.2-arch1-1 #1 SMP PREEMPT_DYNAMIC Sat, 15 Oct 2022 14:00:49 +0000 x86_64 GNU/Linux
Here is what I ran and the output I got.