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

Patch PETSc build instead of moving files #4726

Merged
merged 3 commits into from Apr 10, 2022
Merged

Patch PETSc build instead of moving files #4726

merged 3 commits into from Apr 10, 2022

Conversation

vchuravy
Copy link
Member

@vchuravy vchuravy commented Apr 7, 2022

@giordano is it possible to relax the requirement that the file must end in dll? If not I will need to fix the petsc build system to not produce files like that.

cc: @boriskaus

@giordano
Copy link
Member

giordano commented Apr 7, 2022

I don't know, the name parsing is in Julia Base, I don't remember the details of the code

P/PETSc/build_tarballs.jl Outdated Show resolved Hide resolved
@vchuravy
Copy link
Member Author

cc: @Wimmerer can you have a look if this makes sense? We will need to rebuild other packages dependning on PETSc_jll but at least we shouldn't need to muck about with patchelf&co.

@vchuravy vchuravy marked this pull request as ready for review April 10, 2022 12:20
@vchuravy vchuravy changed the title allow petsc as a dependency on windows for now Patch PETSc build instead of moving files Apr 10, 2022
@rayegun
Copy link
Contributor

rayegun commented Apr 10, 2022

Is this modifying both the filename and SONAME on Linux? Otherwise LGTM (aside from calling from Julia? I assume Julia can handle dlopening with a non-numeric suffix?)

@vchuravy
Copy link
Member Author

Is this modifying both the filename and SONAME on Linux?

Should be!

I assume Julia can handle dlopening with a non-numeric suffix?)

Yeah these are all fine.

@vchuravy vchuravy merged commit 3bc4837 into master Apr 10, 2022
@vchuravy vchuravy deleted the vc/petsc branch April 10, 2022 18:42
@vchuravy vchuravy mentioned this pull request Apr 10, 2022
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.

None yet

3 participants