• Stars
    star
    222
  • Rank 179,123 (Top 4 %)
  • Language
    Ruby
  • Created over 12 years ago
  • Updated over 6 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

small repository to install julia

This tap is not actively maintained

To install Julia through homebrew, use Homebrew cask; brew cask install julia.

To install Julia from source, follow the instructions on the main Julia github repo.

This tap is still published as an example of how to build Julia and various dependencies for the curious and enterprising dev looking to build Julia on Homebrew.

homebrew-julia

A small tap for the Homebrew project to install Julia. Installation instructions:

$ brew update
$ brew tap staticfloat/julia
$ brew install julia

Common Issues

If you are building Julia from source and you see errors about libgfortran.dylib, you most likely need to reinstall the latest gcc, openblas-julia, suite-sparse-julia and arpack-julia:

$ brew update
$ brew rm gcc openblas-julia suite-sparse-julia arpack-julia
$ brew install gcc openblas-julia suite-sparse-julia arpack-julia 

See this thread for technical details as to why gfortran dependencies require this treatment.

Building a bleeding-edge version of Julia

If you wish to test the newest development version of Julia, you can build with the --HEAD option:

$ brew install --HEAD julia

Note that to run the test suite you must also pass the --HEAD option to brew:

$ brew test -v --HEAD julia

Using OpenBLAS HEAD or specifying CPU targets

If you wish to test the newest development version of OpenBLAS with Julia, you can do so by manually unlinking OpenBLAS, and installing the HEAD version of the formula:

$ brew unlink openblas-julia
$ brew install openblas-julia --HEAD

This will install the latest develop branch of OpenBLAS. Julia will happily link against this new version, but unfortunately SuiteSparse will not, so we must recompile SuiteSparse and therefore Julia:

$ brew rm suite-sparse-julia julia
$ brew install julia

When installing OpenBLAS on that shiny new piece of hardware that just came out, note that OpenBLAS may not have the software available to autodetect your processor type. You can manually specify a CPU target architecture by specifying --target when building OpenBLAS. For instance, to specify the Sandybridge archiceture (a good fallback for most modern macs):

$ brew install openblas-julia --target=SANDYBRIDGE

Rebuilding the system image

When building Julia, the file base/userimg.jl, if it exists, will be included in the cached of compiled code. If there are large libraries that you use often, it can be useful to require those in this file, for example:

require("Gtk")
require("DataFrames")
require("JuMP")

By default, the userimg.jl file does not exist, but you can create it yourself and then rebuild the Julia system image. Place a userimg.jl file into /usr/local/Cellar/julia/<julia version>/share/julia/base (Assuming Homebrew has been installed to /usr/local), then run build_sysimg.jl (located in the folder immediatebly above the base directory) to rebuild the system image. The script has many options, to see them all run ./build_sysimg.jl --help, but if you just want to replace the current system image with the new one you're about to build (and most people do just want that) simply run:

$ ./build_sysimg.jl --force

Upgrading Julia

To upgrade Julia, remove and reinstall (Typically you will be doing this when living on the latest development version, so we have included all --HEAD commands here):

$ brew rm julia
$ brew install --HEAD julia

Run tests after upgrading to make sure everything is functioning as expected. Even when Julia is able to build, the tests might still fail due to dependencies.

$ brew test -v --HEAD julia

If compilation of Julia fails, or the tests fail, you may have to remove these dependencies and recompile:

$ brew rm julia arpack-julia suite-sparse-julia openblas-julia
$ brew install -v --HEAD julia && brew test -v --HEAD julia

This procedure is necessary after upgrading gcc, as the location of the gfortran libraries changes.

More Repositories

1

docker-webhook

Docker image to listen for github webhooks and run scripts
Python
80
star
2

Sandbox.jl

The cultured host's toolkit for ill-mannered Linux guests.
Julia
35
star
3

julia-docker

Various Dockerfiles for Julia
Dockerfile
15
star
4

ObjectFile.jl

Object File (ELF, MachO, COFF/PE, etc...) parser for Julia
Julia
15
star
5

2021-03-17-parallelization-tutorial

Julia
13
star
6

InfluxDB.jl

Julia interface for InfluxDB
Julia
13
star
7

Opus.jl

Julia library to interface with Opus audio files
Julia
10
star
8

homebrew-juliadeps

Tap containing dependencies for Julia
Ruby
8
star
9

popuset

portaudio opus network streamer
C++
7
star
10

bladeRF_power

rtl_power for the bladeRF using pybladeRF
Python
7
star
11

llvmjltomfoolery

Julia
6
star
12

Looper.jl

The end is just a new beginning
Julia
5
star
13

TutorialNotebooks

Jupyter Notebook
5
star
14

FilesystemDatastructures.jl

Julia
5
star
15

CompileTimePreferences.jl

Julia
4
star
16

LLVMBuilder

BinaryBuilder repository for LLVM
Julia
4
star
17

julia-nightly-packaging

scripts to upload nightly builds of Julia to launchpad
Shell
4
star
18

MakePkgUpdatePrecompileInTheBackground.jl

The package name is pretty self-explanatory
Julia
4
star
19

Termtris.jl

A falling block game written in Julia
Julia
3
star
20

GtkArtifactTest

Testing GTK artifacts
Julia
3
star
21

homebrew-linux

Linux port of Homebrew
Ruby
3
star
22

webmux

JavaScript
3
star
23

Ogg.jl

Julia package to interface with Ogg containers and streams
Julia
3
star
24

upfirdn

Automatically exported from code.google.com/p/upfirdn
C++
3
star
25

shinyfs

Secure, Distributed, P2P filesystem for the masses
C++
3
star
26

forerunner-buildkite-plugin

Dynamically trigger templated buildkite pipelines on git diffs
Shell
3
star
27

julia-debian

debian/ directory for nightly builds
2
star
28

Resumable.jl

Resumable.js implementation in Julia
Julia
2
star
29

Perftests.jl

Base perftests for Julia
Julia
2
star
30

MacOSSandboxExperiments

Experiments in using `sandbox-exec` to create a slightly locked-down environment for Julia testing
Julia
2
star
31

graphs.julialang.org

Grafana server for the Julia community
Makefile
2
star
32

PyEnv.jl

Reproducible Python environments for Julia
Julia
2
star
33

Spack.jl

Bindings for Spack from Julia
Julia
2
star
34

GCC_jll.jl

Julia
2
star
35

IpoptBuilder

Julia
2
star
36

radaradaradar

Experiments with radar and the bladeRF
C++
2
star
37

dlmopen_namespacing

Linker Madness Glorification
Julia
2
star
38

WebCacheUtilities.jl

Julia
2
star
39

julia-ansible-scripts

Various julia ansible scripts for provisioning servers, buildbots etc...
PowerShell
2
star
40

GlibcBuilder

Builder repository for Glibc
Julia
1
star
41

HelloWorldC_jll.jl

Julia
1
star
42

BinaryAnalysis.jl

Binary analysis in Julia
Julia
1
star
43

status.julialang.org

Status page for all sorts of Julia tasks; package testing, nightly builds, etc....
Python
1
star
44

staticfloat.github.io

Personal website
HTML
1
star
45

BufferedStream.jl

Package to help with analyzing/buffering streaming data
Julia
1
star
46

PythonCrashCourse

A Python Crash Course for GIX Autumn 2017 students
Jupyter Notebook
1
star
47

rabban

Rust
1
star
48

coppermind-buildkite-plugin

Memoize buildkite steps based on treehashes
Shell
1
star
49

monitor

command line monitoring thingy
C
1
star
50

objconv

git mirror of objconv http://www.agner.org/optimize/
C++
1
star
51

TravisLibgit2Trigger

Testing repository for showing how LibGit2 is broken on Travis
Julia
1
star
52

autoconf_jll.jl

Julia
1
star
53

Binutils_jll.jl

Julia
1
star
54

webhooks-test

a test repository for teaching myself more about GitHub's webhook abilities
Julia
1
star
55

libcsv_jll.jl

Julia
1
star
56

pkgbp

Julia
1
star
57

t8code_jll.jl

Julia
1
star
58

speakerpi

Julia
1
star
59

popuset_shim_jll.jl

Julia
1
star
60

ADExample.jl

Simple examples showing off AD capabilities in Julia
Julia
1
star
61

automake_jll.jl

1
star
62

LinuxKernelHeaders_jll.jl

Julia
1
star
63

OpenBLASHighCoreCount_jll.jl

Julia
1
star
64

LinuxKernelHeadersBuilder

Linux kernel headers builder for BinaryBuilder
Julia
1
star
65

discourse.julialang.org

Docker configuration for self-hosted discourse
Makefile
1
star
66

WGLMakieErrorRepro.jl

Julia
1
star