在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称:staticfloat/homebrew-julia开源软件地址:https://github.com/staticfloat/homebrew-julia开源编程语言:Ruby 100.0%开源软件介绍:This tap is not actively maintainedTo install Julia through homebrew, use 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-juliaA small tap for the Homebrew project to install Julia. Installation instructions: $ brew update
$ brew tap staticfloat/julia
$ brew install julia Common IssuesIf you are building Julia from source and you see errors about
See this thread for technical details as to why Building a bleeding-edge version of JuliaIf you wish to test the newest development version of Julia, you can build with the $ brew install --HEAD julia Note that to run the test suite you must also pass the $ brew test -v --HEAD julia Using OpenBLAS HEAD or specifying CPU targetsIf 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 $ 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 $ brew install openblas-julia --target=SANDYBRIDGE Rebuilding the system imageWhen building Julia, the file require("Gtk")
require("DataFrames")
require("JuMP") By default, the $ ./build_sysimg.jl --force Upgrading JuliaTo upgrade Julia, remove and reinstall (Typically you will be doing this when living on the latest development version, so we have included all $ 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 |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论