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

Handle empty deps/buildopts.conf #95

Closed
wants to merge 1 commit into from

Conversation

wsshin
Copy link

@wsshin wsshin commented Mar 21, 2018

This PR makes the deps/build_petscs.jl script to handle an empty configuration file deps/buildopts.conf.

The configuration file does not exist in the repository, but the users can create it to describe custom PETSc build options. However, building PETSc.jl the first time creates this configuration file with empty contents. Then subsequent attempts to build PETSc.jl fail because readdlm in the build_petscs.jl script generates an error while reading the empty buildopts.conf (JuliaData/DelimitedFiles.jl#9). This PR handles such a case properly with try–catch clauses.

This PR fixes JuliaLang/julia#93.

@simonbyrne simonbyrne closed this Sep 1, 2020
@simonbyrne
Copy link
Member

I've changed the deps handling in JuliaLang/julia#99.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

LoadError: LoadError: at row 0, column 0 : ArgumentError("number of rows in dims must be > 0, got 0")
3 participants