Tuesday, September 7, 2021

Building Audacity on m1 apple silicon

Building Audacity on m1 apple silicon

Don't bother with all the stuff below.  Audacity is now available as an arm64 m1 native binary.  The x86_64 version works great too!  Great work developers!

DONE  

Visit 1

 
  • install macports for Big Sur 11.5.2
  • sudo port install audacity
  • Success, kind of, version 2.2.2 popped out in glorious Apple Silicon binary but I couldn't get the current 3.0.4.
  • pull request BUILDING.md typo, correction:
 cmake -GXcode -T buildsystem=1 -Daudacity_use_mad="off" -Daudacity_use_id3tag=off ../audacity
 
git clone https://github.com/audacity/audacity
  •  sudo pip3 install conan   
  • activated venv using py-env
  • master v3.1.0 failed check out 3.0.4
git clone -b release-3.0.4 --single-branch https://github.com/audacity/audacity
  • cmake and Xcode

cmake -GXcode -T buildsystem=1 ../audacity 

open Audacity.xcodeproj

  • rm -rf build/*
  • run cmake again:
 cmake -GXcode -T buildsystem=1 -Daudacity_use_mad="off" -Daudacity_use_id3tag=off ../audacity
 

 

 DO

 Using python3 venv virtual environment:

 BLOCKED 

  • conan install failing(use py-env)
  • source blocked for m1 compile; 
  • downloaded branch beta 12.2 wxwidget not included
  • wxwidget build error
  • Xcode does not build master branch 3.1.0 or 3.0.4
  • 3.0.4 builds then crashes immediately (Intel)
 

First, doing anything on an external USB3 hard drive is painfully slow compared to the blisteringly fast internal ssd.  macports took over an hour to install.

I think macports is finally falling behind since most sites talk about brew (meh). Macports has been working great so far.

I wish m1 virtual machine time was 3cents/hr
 
 

Info 

 



 

No comments:

Post a Comment