Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Register
  • Sign in
  • dynare dynare
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 120
    • Issues 120
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 5
    • Merge requests 5
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • DynareDynare
  • dynaredynare
  • Merge requests
  • !2034

Provisions for building both x86_64 and arm64 pkg on an Apple Silicon mac

  • Review changes

  • Download
  • Patches
  • Plain diff
Closed Willi Mutschler requested to merge wmutschl/dynare:macM1 into master May 23, 2022
  • Overview 19
  • Commits 3
  • Pipelines 29
  • Changes 6

MATLAB has finally released an Apple Silicon version (R2022a beta and R2022b beta), so we can now start providing a native Apple pkg. With this commit (and the related preprocessor commit preprocessor!61 (merged)), I can compile Dynare from source without using Rosetta 2. The testsuite runs through except for tests that require additional MATLAB toolboxes (e.g. Optimization) as this is not released yet in the ARM Beta versions. Changes to the build script will be in another merge request once we have installed the new Apple Silicon runner.

To Do:

  • detect new architectures maca64 and mexmaca64
  • check whether one needs to deal with hard-coded /usr/local instead of /opt/homebrew paths
  • create both x86_64 and arm64 packages on @wmutschl M1s.
  • test x86_64 pkg on @wmutschl M1 using MATLAB R2022a under Rosetta2
  • test arm64 pkg on @wmutschl M1 using MATLAB R2022a Beta for Apple Silicon
  • test x86_64 pkg on clean-install (virtual) Intel mac (created with quickemu on Linux)
  • test arm64 pkg on clean-install (virtual) Apple Silicon mac (created with parallels)
  • merge preprocessor!61 (merged)
  • file a bug with MATLAB R2022a BETA that /Applications/MATLAB_R2022a_Beta.app/bin/mexext needs some small changes to detect mexmaca64.
  • update the manual
Edited Jan 29, 2023 by Willi Mutschler
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: macM1