# BinaryBuilder with multiple deps

**URL:** <https://discourse.julialang.org/t/binarybuilder-with-multiple-deps/26847>\
**Category:** New to Julia\
**Created:** [July 26, 2019, 2:49pm UTC](https://discourse.julialang.org/t/binarybuilder-with-multiple-deps/26847 "2019-07-26T14:49:55Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![JerryChen97](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/jerrychen97/32/9529_2.png) [@JerryChen97](https://discourse.julialang.org/u/JerryChen97)\
**Post date:** [July 26, 2019, 2:49pm UTC](https://discourse.julialang.org/t/binarybuilder-with-multiple-deps/26847/1 "2019-07-26T14:49:56Z")

</div>

I am using BinaryBuilder to build my own shared library for MAGMA ([MAGMA: Installing MAGMA](https://icl.cs.utk.edu/projectsfiles/magma/doxygen/installing.html)), but I cannot find sufficient examples of how can one correctly setup the dependencies with BinaryBuilder.run\_wizard, especially in my case that we have to provide many different libs before install MAGMA, such as CUDA, MKL, OpenBLAS and so on…

I used to try adding other’s BB repo for OpenBLAS as one of the dependencies in the wizard but it failed. I am wondering maybe I misunderstood the process of how BB works actually…

---

<div class="post-metadata">

**Author:** ![Tero\_Frondelius](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/tero_frondelius/32/7629_2.png) [@Tero\_Frondelius](https://discourse.julialang.org/u/Tero_Frondelius)\
**Post date:** [July 27, 2019, 11:40am UTC](https://discourse.julialang.org/t/binarybuilder-with-multiple-deps/26847/2 "2019-07-27T11:40:19Z")

</div>

If I have understood the philosophy correctly: every binary dependency is a tar.gz file. Thus, probably you will need to use BinaryBuilder.jl process to your dependencies.

Maybe Julia includes OpenBlass, see [https://github.com/JuliaPackaging/JuliaBuilder/](https://github.com/JuliaPackaging/JuliaBuilder/)

---

<div class="post-metadata">

**Author:** ![JerryChen97](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/jerrychen97/32/9529_2.png) [@JerryChen97](https://discourse.julialang.org/u/JerryChen97)\
**Post date:** [July 28, 2019, 12:12am UTC](https://discourse.julialang.org/t/binarybuilder-with-multiple-deps/26847/3 "2019-07-28T00:12:55Z")

</div>

Oh thank you so much! Following your instructions I have found some available tar.gz files of OpenBLAS.

I will continue updating my process of building the BB for MAGMA.

---

<div class="post-metadata">

**Author:** ![thofma](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/thofma/32/1691_2.png) [@thofma](https://discourse.julialang.org/u/thofma)\
**Post date:** [July 28, 2019, 12:42pm UTC](https://discourse.julialang.org/t/binarybuilder-with-multiple-deps/26847/4 "2019-07-28T12:42:26Z")

</div>

The wizard usuall asks you about binary dependencies, where you can add a link to the corresponding `*.jl` file.

See for example [https://github.com/JuliaPackaging/Yggdrasil/blob/master/Sundials/build\_tarballs.jl](https://github.com/JuliaPackaging/Yggdrasil/blob/master/Sundials/build_tarballs.jl)  
At the end there are the dependencies (in this case OpenBLAS).
