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

Optimise the builds of external libraries #76

Open
maxirmx opened this issue Feb 10, 2022 · 1 comment
Open

Optimise the builds of external libraries #76

maxirmx opened this issue Feb 10, 2022 · 1 comment
Labels
enhancement New feature or request

Comments

@maxirmx
Copy link
Member

maxirmx commented Feb 10, 2022

Depending on the environment (optionally) scripts build

  • jemalloc
  • gflags
  • glog
  • libarchive

configurations shall be revised to ensure that the minimal applicable build configuration is used

@maxirmx
Copy link
Member Author

maxirmx commented Feb 19, 2022

libarchive build can be minimised with

CONFIGURE_COMMAND ${CMAKE_COMMAND} -E env CFLAGS=${CROSSFLAGS}
#                    ${LIBARCHIVE_SOURCE_DIR}/configure
#                      ${HOST_OPTION}
#                      --srcdir=${LIBARCHIVE_SOURCE_DIR}
#                      --prefix=${DEPS}
#                      --without-bz2lib
#                      --without-libb2
#                      --without-libiconv-prefix
#                      --without-xml2
#                      --without-expat
#                      --without-cng
#                      --disable-bsdtar
#                      --disable-bsdcat
#                      --disable-bsdcpio
#                      --enable-shared=no

however migrating from cmake to auto tools creates some issues with cross-compilation that needs to be researched

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant