You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

41 lines
1.1 KiB
Plaintext

3 years ago
# -*- mode: sh; -*-
3 years ago
export CC=gcc CXX=g++
3 years ago
3 years ago
# Miscellaneous packages.
ENVIRONMENTS=(
weechat # Debug runs
)
3 years ago
3 years ago
# Environment packages.
PACKAGES=(
autoconf # Deps with autoreconf
autoconf-archive # Deps with m4 tooling
automake # Deps with automake
libtool # Deps with libtool
make # Deps with makefiles
cmake # Deps with cmake
doctest # Testing
3 years ago
gcc-toolchain@10 # Compilation
3 years ago
pkg-config # Deps configuration and configuration of deps deps
patchelf # Fix linkage (guix)
bear # Generate compile_commands.json for language servers
universal-ctags # Generate tags (make tags)
weechat # Weechat includes
libxml2 # Dep (libxml2)
libstrophe # Dep (strophe)
libgcrypt # Dep (gcrypt)
libsignal-protocol-c # Dep (libsignal)
lmdb lmdbxx # Dep (lmdb)
rnp # Dep (rnpgp)
)
3 years ago
use guix \
3 years ago
${ENVIRONMENTS[@]} --ad-hoc ${PACKAGES[@]} \
3 years ago
--with-debug-info=weechat\
--with-debug-info=libstrophe\
--with-debug-info=libsignal-protocol-c\
--with-debug-info=lmdb\
--with-debug-info=rnp\
clang:extra gdb