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

Build clapack as shared library instead of static? #9

Open
danielcjacobs opened this issue Mar 10, 2022 · 0 comments
Open

Build clapack as shared library instead of static? #9

danielcjacobs opened this issue Mar 10, 2022 · 0 comments

Comments

@danielcjacobs
Copy link

danielcjacobs commented Mar 10, 2022

See title.

In Android.mk, I tried replacing uncommenting these lines on the bottom of the file:

include $(CLEAR_VARS)
LOCAL_MODULE:= testlapack
LOCAL_SRC_FILES:= testclapack.cpp
LOCAL_STATIC_LIBRARIES := lapack
include $(BUILD_SHARED_LIBRARY)

But when executing ndk-build, I get the error:

/home/djacobs/Android/Sdk/ndk/23.1.7779620/build/core/build-binary.mk:643: Android NDK: Module lapack depends on undefined modules: tmglib    
/home/djacobs/Android/Sdk/ndk/23.1.7779620/build/core/build-binary.mk:656: *** Android NDK: Note that old versions of ndk-build silently ignored this error case. If your project worked on those versions, the missing libraries were not needed and you can remove those dependencies from the module to fix your build. Alternatively, set APP_ALLOW_MISSING_DEPS=true to allow missing dependencies.    .  Stop.

If I add APP_ALLOW_MISSING_DEPS := true to Android.mk, it builds liblapack.so, but I still have no libclapack.so

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