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

convert shell scripts to julia build.jl #7

Closed
stevengj opened this issue Sep 11, 2015 · 1 comment
Closed

convert shell scripts to julia build.jl #7

stevengj opened this issue Sep 11, 2015 · 1 comment

Comments

@stevengj
Copy link
Contributor

I'm not completely clear on how we want to build PETSc in the long run. (On Mac and Windows, we will probably need to ship dylib and dll binaries, respectively. On Ubuntu etc, we may want to use prepackaged PETSc binaries via bindeps.) But in the short run, where we are building from source, it would be more Julian to:

  • Directly run the necessary download and make commands etc. from build.jl without using any shell script.
  • Output a deps/deps.jl file containing constants const libpetsc_float64 = "...." etc. defining the paths of the library files (sans .so extension)

In particular, we shouldn't rely on the user (or Julia) setting any kind of PETSC_DIR environment variables if possible. Not only are those unfriendly to subprocesses, but they also don't seem like they will work for linking multiple Petsc versions simultaneously (#6).

@stevengj
Copy link
Contributor Author

Closed by #19.

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

No branches or pull requests

1 participant