Skip to content

Commit

Permalink
Fix liblo tests
Browse files Browse the repository at this point in the history
Signed-off-by: falkTX <falktx@falktx.com>
  • Loading branch information
falkTX committed Dec 23, 2023
1 parent 3452bad commit 0e5a7c2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion bootstrap-plugins.sh
Original file line number Diff line number Diff line change
Expand Up @@ -418,13 +418,16 @@ if [ "${MACOS}" -eq 1 ]; then
if [ "${MACOS_UNIVERSAL}" -eq 1 ]; then
LIBLO_EXTRAFLAGS+=" ac_cv_c_bigendian=universal"
fi
# use of wrong macro, should be _WIN32
elif [ "${MACOS}" -eq 1 ]; then
export EXTRA_CFLAGS="-DWIN32"
fi

download liblo "${LIBLO_VERSION}" "${LIBLO_URL}"
build_autoconf liblo "${LIBLO_VERSION}" "${LIBLO_EXTRAFLAGS}"

# FIXME tests fail on macOS
if [ -z "${PAWPAW_SKIP_TESTS}" ] || [ "${PAWPAW_SKIP_TESTS}" -eq 0 ] && [ "${MACOS}" -eq 0 ]; then
if ([ -z "${PAWPAW_SKIP_TESTS}" ] || [ "${PAWPAW_SKIP_TESTS}" -eq 0 ]) && [ "${MACOS}" -eq 0 ]; then
run_make liblo "${LIBLO_VERSION}" check
fi

Expand Down
2 changes: 1 addition & 1 deletion setup/env.sh
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ if [ -z "${PAWPAW_SKIP_LTO}" ] || [ "${PAWPAW_SKIP_LTO}" -eq 0 ]; then
PAWPAW_PREFIX+="-lto"
fi

if [ -n "${PAWPAW_NOSIMD}" ] && [ "${PAWPAW_NOSIMD}" -ne 0 ]; then
if [ -n "${PAWPAW_NOSIMD}" ] && [ "${PAWPAW_NOSIMD}" -eq 1 ]; then
PAWPAW_BUILDDIR+="-nosimd"
PAWPAW_PREFIX+="-nosimd"
fi
Expand Down

0 comments on commit 0e5a7c2

Please sign in to comment.