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

Build script improvements #34

Open
wants to merge 9 commits into
base: master
Choose a base branch
from
Open

Commits on Jul 17, 2024

  1. Set interpreter (/bin/sh) for build scripts explicitly.

    Ensure that these scripts are executed by the standard 'sh', rather
    than whatever your current shell happens to be.
    Benjamin Moody committed Jul 17, 2024
    Configuration menu
    Copy the full SHA
    aa48b6f View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    732dff9 View commit details
    Browse the repository at this point in the history
  3. Explicitly enable libraries when configuring libsndfile.

    If pkg-config is installed, then libsndfile's configure will try to
    use pkg-config to check whether the optional dependencies (flac, ogg,
    vorbis, opus, mpg123) are present.  (It will conclude that the
    packages are present because the appropriate *_CFLAGS and *_LIBS are
    set.)
    
    If pkg-config isn't installed, then --enable-external-libs and
    --enable-mpeg must be set explicitly in order to use these packages.
    Benjamin Moody committed Jul 17, 2024
    Configuration menu
    Copy the full SHA
    7ebab6a View commit details
    Browse the repository at this point in the history

Commits on Jul 25, 2024

  1. Replace x86_64-glibc2_17 workflow with x86_64-glibc2_28.

    Remove the old workflow using CentOS 7 (which is unsupported and
    broken) and replace it with one using a newer (glibc 2.28 based)
    container from pypa.
    Benjamin Moody committed Jul 25, 2024
    Configuration menu
    Copy the full SHA
    5dcf8f2 View commit details
    Browse the repository at this point in the history
  2. Replace use of macos-11 with macos-13 and macos-14.

    Note that GitHub's "macos-13" runners are x86-64 whereas "macos-14"
    runners are arm64.
    Benjamin Moody committed Jul 25, 2024
    Configuration menu
    Copy the full SHA
    a1fa50e View commit details
    Browse the repository at this point in the history
  3. Set OGG_CFLAGS and OGG_LIBS before running libvorbis configure.

    The libvorbis configure script will try multiple methods to find the
    libogg headers and library.  Using the pkg-config variables is the
    newer and probably-more-stable method.
    Benjamin Moody committed Jul 25, 2024
    Configuration menu
    Copy the full SHA
    2197f3c View commit details
    Browse the repository at this point in the history

Commits on Jul 26, 2024

  1. Build arm64 Linux library using a cross compiler.

    Instead of using an arm64 native compiler and everything else running
    inside an emulator, use the aarch64-linux-gnu cross compiler provided
    by Debian 10 (glibc 2.28).
    Benjamin Moody committed Jul 26, 2024
    Configuration menu
    Copy the full SHA
    7028ecb View commit details
    Browse the repository at this point in the history
  2. Update darwin.cmake for libsndfile >= 1.2.1.

    In libsndfile 1.2.1 and 1.2.2, the spelling of "mpg123" in the cmake
    variable names was changed to lowercase.
    Benjamin Moody committed Jul 26, 2024
    Configuration menu
    Copy the full SHA
    3a7d7ed View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    804500c View commit details
    Browse the repository at this point in the history