BuildExecutable.jl

Build a standalone executables from a Julia script

Subscribe to updates I use BuildExecutable.jl


Statistics on BuildExecutable.jl

Number of watchers on Github 116
Number of open issues 20
Average time to close an issue 3 months
Main language Julia
Average time to merge a PR 7 days
Open pull requests 3+
Closed pull requests 2+
Last commit over 1 year ago
Repo Created almost 3 years ago
Repo Last Updated 7 months ago
Size 51 KB
Organization / Authordhoegh
Latest Releasev0.1.2
Contributors2
Page Updated
Do you use BuildExecutable.jl? Leave a review!
View open issues (20)
View BuildExecutable.jl activity
View on github
Latest Open Source Launches
Trendy new open source projects in your inbox! View examples

Subscribe to our mailing list

Evaluating BuildExecutable.jl for your project? Score Explanation
Commits Score (?)
Issues & PR Score (?)

BuildExecutable

Build Status Build status

Builds an executable that doesn't require any julia source code. The user needs to provide a julia script that contains a function main(), taking no argument, which will be run when executing the produced executable. An executable can be produced by using the build_executable function

using BuildExecutable
build_executable(exename, script, targetdir, "native")

Note on packages:

Even if the script contains using statements, exported functions will not be available in main(). Full qualification of names is required. It's suggested to replace using statements with import statements to produce a consistent result between running main() in the REPL and running the executable.

If packages with binary dependencies is used the produced executable will not function properly.

Note on portability

The executable produced by build_executable is known to be portable across Windows computers, and OS X, but not on Linux. To increase the portablity use an older cpu_target target as "core2" instead of "native".

BuildExecutable.jl open issues Ask a question     (View All Issues)
  • about 2 years [Future plans] bin dependencies
  • over 2 years BuildExecutable throws unhelpul error message when when output is sent to STDERR during compile.
  • over 2 years UndefVarError
BuildExecutable.jl open pull requests (View All Pulls)
  • Fixes running OSX executable on other systems
  • Fix 0.5
  • Update CI URLs to point to new caching infrastructure
BuildExecutable.jl list of languages used
BuildExecutable.jl latest release notes
v0.1.2 v0.1.2

Fix deprecations and the issue mentioned in #32

v0.1.1 Fix Windows GCC issue and use precompiled sysimg
Other projects in Julia