We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
this is a very simple demo
Base.@ccallable function julia_main(ARGS::Vector{String})::Cint println("Hello World") return 0 end
and when calling build_app_bundle("src/parse_command.jl", appname = "MyCode")
build_app_bundle("src/parse_command.jl", appname = "MyCode")
Stacktrace: [1] jl_option_value(opts::Base.JLOptions, key::Symbol) @ PackageCompiler ~/.julia/packages/PackageCompiler/4yNnV/src/compiler_flags.jl:174 [2] julia_code_cmd(code::String, jl_options::Base.JLOptions; kw::Base.Pairs{Symbol, Union{Nothing, String}, NTuple{17, Symbol}, NamedTuple{(:sysimage, :startup_file, :handle_signals, :sysimage_native_code, :compiled_modules, :depwarn, :warn_overwrite, :compile, :cpu_target, :optimize, :debug_level, :inline, :check_bounds, :math_mode, :output_o, :track_allocation, :code_coverage), Tuple{Nothing, String, Nothing, Nothing, String, Nothing, Nothing, Nothing, String, String, String, Nothing, Nothing, Nothing, String, String, String}}}) @ PackageCompiler ~/.julia/packages/PackageCompiler/4yNnV/src/compiler_flags.jl:258 [3] #run_julia#1 @ ~/.julia/packages/PackageCompiler/4yNnV/src/compiler_flags.jl:225 [inlined] [4] (::PackageCompiler.var"#13#14"{Base.Pairs{Symbol, Union{Nothing, String}, NTuple{14, Symbol}, NamedTuple{(:sysimage, :startup_file, :handle_signals, :sysimage_native_code, :compiled_modules, :depwarn, :warn_overwrite, :compile, :cpu_target, :optimize, :debug_level, :inline, :check_bounds, :math_mode), Tuple{Nothing, Nothing, Nothing, Nothing, String, Nothing, Nothing, Nothing, String, String, String, Nothing, Nothing, Nothing}}}, String})() @ PackageCompiler ~/.julia/packages/PackageCompiler/4yNnV/src/static_julia.jl:263 [5] cd(f::PackageCompiler.var"#13#14"{Base.Pairs{Symbol, Union{Nothing, String}, NTuple{14, Symbol}, NamedTuple{(:sysimage, :startup_file, :handle_signals, :sysimage_native_code, :compiled_modules, :depwarn, :warn_overwrite, :compile, :cpu_target, :optimize, :debug_level, :inline, :check_bounds, :math_mode), Tuple{Nothing, Nothing, Nothing, Nothing, String, Nothing, Nothing, Nothing, String, String, String, Nothing, Nothing, Nothing}}}, String}, dir::String) @ Base.Filesystem ./file.jl:110 [6] build_object(juliaprog::String, o_file::String, builddir::String, verbose::Bool; julia_flags::Base.Pairs{Symbol, Union{Nothing, String}, NTuple{14, Symbol}, NamedTuple{(:sysimage, :startup_file, :handle_signals, :sysimage_native_code, :compiled_modules, :depwarn, :warn_overwrite, :compile, :cpu_target, :optimize, :debug_level, :inline, :check_bounds, :math_mode), Tuple{Nothing, Nothing, Nothing, Nothing, String, Nothing, Nothing, Nothing, String, String, String, Nothing, Nothing, Nothing}}}) @ PackageCompiler ~/.julia/packages/PackageCompiler/4yNnV/src/static_julia.jl:262 [7] build_object(juliaprog::String, o_file::String, builddir::String, verbose::Bool, sysimage::Nothing, home::Nothing, startup_file::Nothing, handle_signals::Nothing, sysimage_native_code::Nothing, compiled_modules::String, depwarn::Nothing, warn_overwrite::Nothing, compile::Nothing, cpu_target::String, optimize::String, debug::String, inline::Nothing, check_bounds::Nothing, math_mode::Nothing) @ PackageCompiler ~/.julia/packages/PackageCompiler/4yNnV/src/static_julia.jl:241 [8] static_julia(juliaprog::String; cprog::String, verbose::Bool, quiet::Bool, builddir::String, outname::String, snoopfile::Nothing, clean::Bool, autodeps::Bool, object::Bool, shared::Bool, init_shared::Bool, executable::Bool, rmtemp::Bool, copy_julialibs::Bool, copy_files::Nothing, release::Bool, Release::Bool, sysimage::Nothing, home::Nothing, startup_file::Nothing, handle_signals::Nothing, sysimage_native_code::Nothing, compiled_modules::String, depwarn::Nothing, warn_overwrite::Nothing, compile::Nothing, cpu_target::String, optimize::String, debug::String, inline::Nothing, check_bounds::Nothing, math_mode::Nothing, cc::Nothing, cc_flags::Nothing) @ PackageCompiler ~/.julia/packages/PackageCompiler/4yNnV/src/static_julia.jl:162 [9] #build_executable#31 @ ~/.julia/packages/PackageCompiler/4yNnV/src/api.jl:104 [inlined] [10] (::ApplicationBuilder.var"#3#7"{String, Bool, String, String, Nothing, String, String})() @ ApplicationBuilder ~/.julia/packages/ApplicationBuilder/sg0US/src/ApplicationBuilder.jl:146 [11] withenv(::ApplicationBuilder.var"#3#7"{String, Bool, String, String, Nothing, String, String}, ::Pair{String, String}, ::Vararg{Pair{String, String}}) @ Base ./env.jl:172 [12] build_app_bundle(juliaprog_main::String; appname::String, builddir::String, binary_name::String, resources::Vector{String}, libraries::Vector{String}, verbose::Bool, bundle_identifier::Nothing, app_version::String, icns_file::Nothing, certificate::Nothing, entitlements_file::Nothing, snoopfile::Nothing, autosnoop::Bool, cpu_target::String, create_installer::Bool, commandline_app::Bool) @ ApplicationBuilder ~/.julia/packages/ApplicationBuilder/sg0US/src/ApplicationBuilder.jl:142 [13] top-level scope @ REPL[14]:1
can u take a look ?
The text was updated successfully, but these errors were encountered:
No branches or pull requests
this is a very simple demo
and when calling
build_app_bundle("src/parse_command.jl", appname = "MyCode")
can u take a look ?
The text was updated successfully, but these errors were encountered: