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 libsndfile's dependencies and change DMG filesystem #5537

Merged
merged 8 commits into from
Aug 9, 2021

Conversation

dyfer
Copy link
Member

@dyfer dyfer commented Aug 7, 2021

Purpose and Motivation

Fixes #5536

There seem to be 2 issues with the current macOS legacy build:

  • it uses APFS, unsupported on older systems
  • even though we build libsndfile ourselves, it depends on libvorbis and other libraries provided by homebrew.

I propose to change this by building all of the libsndfile's dependencies ourselves (libvorbis, libogg, flac, opus). I've also changed filesystem in the DMG to HFS+.

Currently in this PR all of the libsndfile's dependencies (libvorbis, libogg, flac, opus) are built as static libraries. libsndfile itself stays as shared library. Please let me know what you think about this. I was having problems when they were all shared libraries.

I'm still testing whether the build is taking advantage of ccache. ccache seems to be working. The build time for libsndfile et al went from 3+' to ~1'30".

Since our 3.12.0 legacy builds don't seem to support some legacy systems, I'm suggesting to put this into 3.12 branch and release a patch release (3.12.1) with this fix later on.

Types of changes

  • Bug fix

To-do list

  • Code is tested
  • All tests are passing
  • Updated documentation
  • This PR is ready for review

@dyfer dyfer added os: macOS Work In Progress (WIP) - don't merge yet comp: CI/CD continuous integration and deployment (github actions, etc.) labels Aug 7, 2021
@dyfer dyfer linked an issue Aug 7, 2021 that may be closed by this pull request
@dyfer dyfer force-pushed the macos-legacy-3.12 branch from f464251 to 31a68fd Compare August 8, 2021 17:02
@dyfer dyfer marked this pull request as ready for review August 8, 2021 18:10
@dyfer dyfer merged commit 9097478 into supercollider:3.12 Aug 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
comp: CI/CD continuous integration and deployment (github actions, etc.) os: macOS
Projects
None yet
Development

Successfully merging this pull request may close these issues.

SuperCollider 3.12.0 fails on macOS 10.11
2 participants