Closed erikscheurer closed 2 years ago
We should look into, whether we need the build.jl
for a custom installation path. What happens there may be reset every time Julia is restarted. And may not even be necessary if the PreCICE library is in the LD_LIBRARY_PATH
. In my tests it worked fine without building the way stated in the README.md
To test it, just copy and paste
$ julia
julia> ] add https://github.com/precice/julia-bindings.git#find_binary
pkg> test PreCICE
Closes #16 #21
This PR removes the dependence on the
whereis
command for finding the PreCICE library. This command also finds static librarieslibprecice.a
. However, Julia only can work with shared object libraries. By default Julia searches in the system library pathLD_LIBRARY_PATH
. Thereby, as long as PreCICE is in the system libraries, Julia will be able to find the library.