Giter VIP home page Giter VIP logo

binarybuilder.jl's Introduction

BinaryBuilder

Build Status codecov.io

"Yea, though I walk through the valley of the shadow of death, I will fear no evil"

Usage

This package will help you create a distribution of binary dependencies for your julia package. Generally this is accomplished using a dependency-specific buildscript, or build_tarballs.jl file (example) that builds the binary for all platforms. These tarballs are then suitable for installation using BinaryProvider.jl. Currently we recommend creating a separate GitHub repository for the build_tarballs.jl script and using that repository's GitHub Releases page to host the binaries. (Examples for Nettle, OpenBLAS and Openlibm)

The contents of the build_tarballs.jl file is relatively straightforward, but getting it right can be a little tricky. To ease the burden of creating said file, you may use the BinaryBuilder wizard:

using BinaryBuilder
BinaryBuilder.run_wizard()

The wizard will take you through creating the build_tarballs.jl file and help you deploy the result to GitHub with Travis and GitHub releases set up properly. Once you complete the wizard and your repository is created on GitHub, create a new release on the GitHub Releases page and Travis will automatically add binaries for all platforms, as well as a build.jl file that you can use in your julia package to import the binaries you have just built.

For more information, see the documentation for this package, viewable either directly in markdown within the docs/src folder within this repository, or online.

Philosophy

Building binary packages is a pain. BinaryBuilder follows a philosophy that is similar to that of building Julia itself; when you want something done right, you do it yourself.

To that end, BinaryBuilder is designed from the ground up to facilitate the building of packages within an easily reproducible and reliable environment, ensuring that the built libraries and executables are deployable to every computer that Julia itself will run on. Packages are built using a sequence of shell commands, packaged up inside tarballs, and hosted online for all to enjoy. Package installation is merely downloading, verifying package integrity and extracting that tarball on the user's computer. No more compiling on user's machines. No more struggling with system package managers. No more needing sudo access to install that little mathematical optimization library.

We do not use system package managers.

We do not provide multiple ways to install a dependency. It's download and unpack tarball, or nothing.

All packages are cross compiled. If a package does not support cross compilation, fix the package.

binarybuilder.jl's People

Contributors

ararslan avatar c42f avatar iamed2 avatar keno avatar pallharaldsson avatar staticfloat 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.