Browse Source

CI rebuild and fixup of debug builds

Signed-off-by: falkTX <falktx@falktx.com>
pull/28/head
falkTX 1 year ago
parent
commit
94eb0a16fd
Signed by: falkTX <falktx@falktx.com> GPG Key ID: CDBAA37ABC74FBA0
4 changed files with 16 additions and 11 deletions
  1. +1
    -1
      .github/workflows/bootstrap.yml
  2. +6
    -2
      bootstrap-plugins.sh
  3. +2
    -1
      setup/check_target.sh
  4. +7
    -7
      setup/functions.sh

+ 1
- 1
.github/workflows/bootstrap.yml View File

@@ -4,7 +4,7 @@ on:
push: push:


env: env:
CACHE_VERSION: 8
CACHE_VERSION: 9
DEBIAN_FRONTEND: noninteractive DEBIAN_FRONTEND: noninteractive
PAWPAW_SKIP_TESTS: 1 PAWPAW_SKIP_TESTS: 1




+ 6
- 2
bootstrap-plugins.sh View File

@@ -533,7 +533,8 @@ fi # PAWPAW_SKIP_LV2


if [ -z "${PAWPAW_SKIP_FLUIDSYNTH}" ] || [ "${PAWPAW_SKIP_FLUIDSYNTH}" -eq 0 ]; then if [ -z "${PAWPAW_SKIP_FLUIDSYNTH}" ] || [ "${PAWPAW_SKIP_FLUIDSYNTH}" -eq 0 ]; then


FLUIDSYNTH_EXTRAFLAGS="-Denable-floats=ON"
FLUIDSYNTH_EXTRAFLAGS=""
FLUIDSYNTH_EXTRAFLAGS+=" -Denable-floats=ON"
FLUIDSYNTH_EXTRAFLAGS+=" -Denable-alsa=OFF" FLUIDSYNTH_EXTRAFLAGS+=" -Denable-alsa=OFF"
FLUIDSYNTH_EXTRAFLAGS+=" -Denable-aufile=OFF" FLUIDSYNTH_EXTRAFLAGS+=" -Denable-aufile=OFF"
FLUIDSYNTH_EXTRAFLAGS+=" -Denable-coreaudio=OFF" FLUIDSYNTH_EXTRAFLAGS+=" -Denable-coreaudio=OFF"
@@ -574,8 +575,11 @@ fi # PAWPAW_SKIP_FLUIDSYNTH
# --------------------------------------------------------------------------------------------------------------------- # ---------------------------------------------------------------------------------------------------------------------
# mxml # mxml


MXML_EXTRAFLAGS=""
MXML_EXTRAFLAGS+=" --with-archflags="

download mxml "${MXML_VERSION}" "${MXML_URL}" download mxml "${MXML_VERSION}" "${MXML_URL}"
build_autoconf mxml "${MXML_VERSION}"
build_autoconf mxml "${MXML_VERSION}" "${MXML_EXTRAFLAGS}"


# --------------------------------------------------------------------------------------------------------------------- # ---------------------------------------------------------------------------------------------------------------------
# carla (backend only) # carla (backend only)


+ 2
- 1
setup/check_target.sh View File

@@ -202,7 +202,8 @@ if [ "${CROSS_COMPILING}" -eq 1 ]; then
PAWPAW_SKIP_TESTS=${PAWPAW_SKIP_TESTS:=1} PAWPAW_SKIP_TESTS=${PAWPAW_SKIP_TESTS:=1}
fi fi


# always skip stripping if building in debug mode
# always skip lto and stripping if building in debug mode
if [ -n "${PAWPAW_DEBUG}" ] && [ "${PAWPAW_DEBUG}" -eq 1 ]; then if [ -n "${PAWPAW_DEBUG}" ] && [ "${PAWPAW_DEBUG}" -eq 1 ]; then
PAWPAW_SKIP_LTO=1
PAWPAW_SKIP_STRIPPING=1 PAWPAW_SKIP_STRIPPING=1
fi fi

+ 7
- 7
setup/functions.sh View File

@@ -224,9 +224,9 @@ function build_autoconf() {
fi fi


if [ -n "${PAWPAW_DEBUG}" ] && [ "${PAWPAW_DEBUG}" -eq 1 ]; then if [ -n "${PAWPAW_DEBUG}" ] && [ "${PAWPAW_DEBUG}" -eq 1 ]; then
extraconfrules+=" --disable-debug"
else
extraconfrules+=" --enable-debug" extraconfrules+=" --enable-debug"
else
extraconfrules+=" --disable-debug"
fi fi


_prebuild "${pkgname}" "${pkgdir}" _prebuild "${pkgname}" "${pkgdir}"
@@ -371,9 +371,9 @@ function build_cmake() {
fi fi


if [ -n "${PAWPAW_DEBUG}" ] && [ "${PAWPAW_DEBUG}" -eq 1 ]; then if [ -n "${PAWPAW_DEBUG}" ] && [ "${PAWPAW_DEBUG}" -eq 1 ]; then
extraconfrules+=" -DCMAKE_BUILD_TYPE=Release"
else
extraconfrules+=" -DCMAKE_BUILD_TYPE=Debug" extraconfrules+=" -DCMAKE_BUILD_TYPE=Debug"
else
extraconfrules+=" -DCMAKE_BUILD_TYPE=Release"
fi fi


if [ ! -f "${pkgdir}/.stamp_configured" ]; then if [ ! -f "${pkgdir}/.stamp_configured" ]; then
@@ -436,13 +436,13 @@ function build_meson() {
local pkgdir="${PAWPAW_BUILDDIR}/${pkgname}-${version}" local pkgdir="${PAWPAW_BUILDDIR}/${pkgname}-${version}"


if [ "${CROSS_COMPILING}" -eq 1 ]; then if [ "${CROSS_COMPILING}" -eq 1 ]; then
extraconfrules+=" --cross-file '${PAWPAW_ROOT}/setup/meson/${PAWPAW_TARGET}.ini'"
extraconfrules+=" --cross-file ${PAWPAW_ROOT}/setup/meson/${PAWPAW_TARGET}.ini"
fi fi


if [ -n "${PAWPAW_DEBUG}" ] && [ "${PAWPAW_DEBUG}" -eq 1 ]; then if [ -n "${PAWPAW_DEBUG}" ] && [ "${PAWPAW_DEBUG}" -eq 1 ]; then
extraconfrules+=" --buildtype release"
else
extraconfrules+=" --buildtype debug" extraconfrules+=" --buildtype debug"
else
extraconfrules+=" --buildtype release"
fi fi


_prebuild "${pkgname}" "${pkgdir}" _prebuild "${pkgname}" "${pkgdir}"


Loading…
Cancel
Save