Skip to content

Commit

Permalink
Fix build.jl dlopen path for Julia versions inc 1.4.2 & 1.5.1
Browse files Browse the repository at this point in the history
  • Loading branch information
hjabird committed Sep 17, 2020
1 parent 2f34204 commit 89c2efa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions deps/build.jl
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ if !isfile(tagfile) || readchomp(tagfile) != "$cvortexver $WORD_SIZE"
end

try
dlopen("libcvortex")
dlopen("./libcvortex")
@info("Successfully linked to library using dlopen.")
open(tagfile, "w") do f
println(f, "$cvortexver")
Expand All @@ -68,7 +68,7 @@ if !isfile(tagfile) || readchomp(tagfile) != "$cvortexver $WORD_SIZE"
run(download_cmd("$url/cvortex_Linux_x64_release_NoOCL.so", "libcvortex.so"))
end
try
dlopen("libcvortex")
dlopen("./libcvortex")
@info("Successfully linked to library using dlopen. (No OpenCL version)")
open(tagfile, "w") do f
println(f, "$cvortexver NoOpenCL")
Expand Down

2 comments on commit 89c2efa

@hjabird
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@JuliaRegistrator register()

@JuliaRegistrator
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Registration pull request created: JuliaRegistries/General/21547

After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.

This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:

git tag -a v0.1.2 -m "<description of version>" 89c2efa501a78d24c078d1046b9106e119abf777
git push origin v0.1.2

Please sign in to comment.