Skip to content

Build clapack as shared library instead of static? #9

@djacobs010

Description

@djacobs010

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions