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

update in order to compile shared library #10

Merged
merged 3 commits into from
Oct 27, 2017

Conversation

CyrilleBonamy
Copy link
Contributor

@CyrilleBonamy CyrilleBonamy commented Oct 26, 2017

you need to generate other files with classical linux command :

libtoolize
aclocal
autoconf
automake --add-missing

Please note that it compiles too the static library.

@dmitrypek
Copy link
Contributor

Thanks for your contribution.
It seems to compile only the shared library, not the static library. What am I missing?

@CyrilleBonamy
Copy link
Contributor Author

CyrilleBonamy commented Oct 27, 2017 via email

@dmitrypek
Copy link
Contributor

I see what's going on. In your example the library is created in /build/.libs, whereas normally it is in /build. That's why I did not see it before.
Anyway, I think most of our users expect to see the library in build. Can we change the config so it ends up there?

@CyrilleBonamy
Copy link
Contributor Author

CyrilleBonamy commented Oct 27, 2017 via email

@dmitrypek
Copy link
Contributor

The problem is: the sample codes depend on libp3dfft.a being in /build. Otherwise I get an error when building sample. Don't you see errors when you run "make" and it tries to build samples?

@CyrilleBonamy
Copy link
Contributor Author

CyrilleBonamy commented Oct 27, 2017 via email

@dmitrypek
Copy link
Contributor

Looks good, I will adopt the change. Thanks!

@dmitrypek dmitrypek merged commit 40e529c into sdsc:master Oct 27, 2017
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.

2 participants