Code Monkey home page Code Monkey logo

buildexecutable.jl's Introduction

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's People

Contributors

blegat avatar dhoegh avatar pallharaldsson avatar rofinn avatar tkelman avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.