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

Re-DLLEXPORT jl_read_soname #16361

Merged
merged 1 commit into from
May 15, 2016
Merged

Re-DLLEXPORT jl_read_soname #16361

merged 1 commit into from
May 15, 2016

Conversation

yuyichao
Copy link
Contributor

@yuyichao yuyichao commented May 14, 2016

This was unDLLEXPORTed in #13485 but it is still necessary for BinDeps after new packages are installed. This is causing travis failure for packages that use the package manager providers (e.g. GSL.jl)

Also make the usage in base thread safe. jl_lookup_soname is still not threadsafe but could be made so if necessary (the easiest and non-breaking way would be internalizing it with a symbol, changing the API is also possible).

@vtjnash

@tkelman
Copy link
Contributor

tkelman commented May 14, 2016

Oh, that's what caused that regression in using package manager providers? Good catch. Can we add a test via ccall or something to approximate the BinDeps usage?

@yuyichao
Copy link
Contributor Author

We can add a test to make sure it's exported I don't think it's easy to approximate the BinDeps usage though, since this is only necessary when new library is installed.

This is still necessary for `BinDeps` after new packages are installed.
@yuyichao
Copy link
Contributor Author

Test added... (And I realized that I forgot to extern "C" ;-p)

@yuyichao yuyichao merged commit b9c618a into master May 15, 2016
@yuyichao yuyichao deleted the yyc/force-so branch May 15, 2016 16:01
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

2 participants