Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

jll_init job should use the name from meta.json #485

Closed
giordano opened this issue Feb 9, 2020 · 0 comments · Fixed by #486
Closed

jll_init job should use the name from meta.json #485

giordano opened this issue Feb 9, 2020 · 0 comments · Fixed by #486
Labels
bug 🐛 Something isn't working meta 🌳 Issues and pull requested related to Yggdrasil itself

Comments

@giordano
Copy link
Member

giordano commented Feb 9, 2020

jll_init is using the environment variable NAME to initialise the repo

- script: |
$(JULIA) -e "using BinaryBuilder, Pkg; \
name = \"${NAME}\"; \
BinaryBuilder.init_jll_package(name, \
joinpath(Pkg.devdir(), string(name, \"_jll\")), \
string(\"JuliaBinaryWrappers/\", name, \"_jll.jl\") \
)"

which is derived from the directory where the build_tarballs.jl script is, but I think it should use instead the name of the project as it is saved in the corresponding JSON file.

This issue caused this build to fail after creating a repo called Sundials-5_jll.jl.

CC: @staticfloat

@giordano giordano added bug 🐛 Something isn't working meta 🌳 Issues and pull requested related to Yggdrasil itself labels Feb 9, 2020
ViralBShah referenced this issue Feb 11, 2020
* Creating a separate directory for Sundials 5.

This is basically the work of @jd-lara and @giordano in #421

Co-authored-by: Jose Daniel Lara <jdlara@berkeley.edu>

* [Sundials@5] Use gfortran & Co. only as lapack libraries

Co-authored-by: Jose Daniel Lara <jdlara@berkeley.edu>
Co-authored-by: Mosè Giordano <giordano@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🐛 Something isn't working meta 🌳 Issues and pull requested related to Yggdrasil itself
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant