Skip to content

"make install" does *not* install the static libs #2035

Closed
@andrew-wja

Description

@andrew-wja

Build commands:

pkgdir="/tmp/test-openblas/"
_config="BINARY=64 CC=aarch64-linux-gnu-gcc FC=aarch64-linux-gnu-gfortran HOSTCC=gcc TARGET=ARMV8 \
  USE_OPENMP=1 USE_THREAD=1 USE_COMPILER_TLS=0 \
  NO_STATIC=0 NO_SHARED=0 \
  NO_LAPACK=0 BUILD_LAPACK_DEPRECATED=1 \
  MAKE_NB_JOBS=${_ncpus} \
  PREFIX=/usr/aarch64-linux-gnu "

make ${_config} CFLAGS="-mtune=generic -I /usr/aarch64/include -L /usr/aarch64/lib -L usr/aarch64/lib64" libs netlib shared

make ${_config} DESTDIR="${pkgdir}" install

The resulting files in /tmp/test-openblas have the shared libs, but not the static libs, even though the static libs are built, and I can see the libopenblas-.a file in the build directory.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions